\r
**/\r
\r
-#include <DxeMain.h>\r
+#include "DxeMain.h"\r
\r
//\r
// The Driver List contains one copy of every driver that has been discovered.\r
{\r
KNOWN_HANDLE *KnownHandle;\r
\r
- KnownHandle = CoreAllocateBootServicesPool (sizeof (KNOWN_HANDLE));\r
+ KnownHandle = AllocatePool (sizeof (KNOWN_HANDLE));\r
ASSERT (KnownHandle != NULL);\r
\r
KnownHandle->Signature = KNOWN_HANDLE_SIGNATURE;\r
mFvDevicePath.End.SubType = END_ENTIRE_DEVICE_PATH_SUBTYPE;\r
SetDevicePathNodeLength (&mFvDevicePath.End, sizeof (EFI_DEVICE_PATH_PROTOCOL));\r
\r
- FileNameDevicePath = CoreAppendDevicePath (\r
+ FileNameDevicePath = AppendDevicePath (\r
FvDevicePath,\r
(EFI_DEVICE_PATH_PROTOCOL *)&mFvDevicePath\r
);\r
// Create the Driver Entry for the list. ZeroPool initializes lots of variables to\r
// NULL or FALSE.\r
//\r
- DriverEntry = CoreAllocateZeroBootServicesPool (sizeof (EFI_CORE_DRIVER_ENTRY));\r
+ DriverEntry = AllocateZeroPool (sizeof (EFI_CORE_DRIVER_ENTRY));\r
ASSERT (DriverEntry != NULL);\r
\r
DriverEntry->Signature = EFI_CORE_DRIVER_ENTRY_SIGNATURE;\r
// ReadSection or Produce FVB failed, Free data buffer\r
//\r
if (Buffer != NULL) {\r
- CoreFreePool (Buffer);\r
+ FreePool (Buffer);\r
}\r
\r
if (AlignedBuffer != NULL) {\r
mFvDevicePath.End.SubType = END_ENTIRE_DEVICE_PATH_SUBTYPE;\r
SetDevicePathNodeLength (&mFvDevicePath.End, sizeof (EFI_DEVICE_PATH_PROTOCOL));\r
\r
- gDxeCoreLoadedImage->FilePath = CoreDuplicateDevicePath (\r
+ gDxeCoreLoadedImage->FilePath = DuplicateDevicePath (\r
(EFI_DEVICE_PATH_PROTOCOL *)&mFvDevicePath\r
);\r
gDxeCoreLoadedImage->DeviceHandle = FvHandle;\r