*/
#include "fsw_efi.h"
+#include "fsw_core.h"
+//#include <EfiCommonLib.h>
+//#include <EfiDriverLib.h>
#define DEBUG_LEVEL 0
#ifndef FSTYPE
-#ifdef VBOX
#error FSTYPE must be defined!
-#else
-#define FSTYPE ext2
-#endif
#endif
#define DEBUG_VBFS 1
/** Helper macro for stringification. */
#define FSW_EFI_STRINGIFY(x) #x
/** Expands to the EFI driver name given the file system type name. */
-#define FSW_EFI_DRIVER_NAME(t) L"Fsw " FSW_EFI_STRINGIFY(t) L" File System Driver"
+#define FSW_EFI_DRIVER_NAME(t) L"rEFInd 0.5.0 " FSW_EFI_STRINGIFY(t) L" File System Driver"
// function prototypes
{
EFI_STATUS Status;
-#ifndef VBOX
+#ifndef HOST_EFI_EDK2
+ // Not available in EDK2 toolkit
InitializeLib(ImageHandle, SystemTable);
#endif