]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c
Clean up DxeCore to remove duplicate memory allocation & device path utility services...
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / FwVol / FwVolRead.c
index 734692893435ce2b4dd5a4a926ec3fa2b2cb3c82..fbf6d0a1ba53a7492c01f80249ceafec0371672e 100644 (file)
@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 **/\r
 \r
-#include <DxeMain.h>\r
+#include "DxeMain.h"\r
 \r
 /*++\r
 \r
@@ -342,7 +342,7 @@ FvReadFile (
     //\r
     // Caller passed in a pointer so allocate buffer for them\r
     //\r
-    *Buffer = CoreAllocateBootServicesPool (FileSize);\r
+    *Buffer = AllocatePool (FileSize);\r
     if (*Buffer == NULL) {\r
       return EFI_OUT_OF_RESOURCES;\r
     }\r