]> code.delx.au - refind/blobdiff - filesystems/fsw_base.h
Previous commit broke loading of EFI drivers with SB active; fix it.
[refind] / filesystems / fsw_base.h
index 0d5e7baf7bf3c1dc875738b5452db58b131bfa99..2f6dc5ff3eefe5e75c87ec2521f8d7a9872747de 100644 (file)
@@ -1,18 +1,6 @@
-/* $Id: fsw_base.h 29125 2010-05-06 09:43:05Z vboxsync $ */
-/** @file
- * fsw_base.h - Base definitions switch.
- */
-
-/*
- * Copyright (C) 2010 Oracle Corporation
- *
- * This file is part of VirtualBox Open Source Edition (OSE), as
- * available from http://www.virtualbox.org. This file is free software;
- * you can redistribute it and/or modify it under the terms of the GNU
- * General Public License (GPL) as published by the Free Software
- * Foundation, in version 2 as it comes in the "COPYING" file of the
- * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
- * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+/**
+ * \file fsw_base.h
+ * Base definitions switch.
  */
 
 /*-
 
 #ifndef _FSW_BASE_H_
 #define _FSW_BASE_H_
-//#define HOST_EFI 1
-#define VBOX
 
-#ifdef VBOX
-#include "VBoxFswParam.h"
+#ifdef HOST_EFI_EDK2
+#define HOST_EFI
 #endif
 
-//#include <Protocol/MsgLog.h> 
+#ifdef HOST_EFI
+#include "fsw_efi_base.h"
+#endif
+
+#ifdef HOST_POSIX
+#include "test/fsw_posix_base.h"
+#endif
 
 #ifndef FSW_DEBUG_LEVEL
 /**
  * Global debugging level. Can be set locally for the scope of a single
  * file by defining the macro before fsw_base.h is included.
  */
-#define FSW_DEBUG_LEVEL 0
-#endif
-
-
-#ifdef HOST_EFI
-#include "fsw_efi_base.h"
-#endif
-
-#ifdef HOST_POSIX
-#include "fsw_posix_base.h"
+#define FSW_DEBUG_LEVEL 1
 #endif
 
 // message printing