diff options
-rw-r--r-- | EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c | 5 | ||||
-rw-r--r-- | EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c b/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c index 448127d93f..4d58c83086 100644 --- a/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c +++ b/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c @@ -40,7 +40,10 @@ Fv2: - EFI Firmware VOlume device 2 #include <Protocol/FirmwareVolume2.h>
#include <Protocol/LoadFile.h>
#include <Protocol/FirmwareVolumeBlock.h>
+
#include <Guid/FileInfo.h>
+#include <Guid/ZeroGuid.h>
+
#include <Library/BaseLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/DevicePathLib.h>
@@ -57,8 +60,6 @@ Fv2: - EFI Firmware VOlume device 2 CHAR8 *gCwd = NULL;
-CONST EFI_GUID gZeroGuid = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } };
-
#define EFI_OPEN_FILE_GUARD_HEADER 0x4B4D4641
#define EFI_OPEN_FILE_GUARD_FOOTER 0x444D5A56
diff --git a/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf b/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf index 74360dc80b..b8cb255268 100644 --- a/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf +++ b/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf @@ -61,3 +61,4 @@ [Guids]
gEfiFileInfoGuid
gEfiFileSystemInfoGuid
+ gZeroGuid
|