Support functions for managing debug image info table when loading and unloading\r
images.\r
\r
-Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
Memory = MAX_ADDRESS;\r
}\r
Status = CoreAllocatePages (\r
- AllocateMaxAddress, \r
+ AllocateMaxAddress,\r
EfiBootServicesData,\r
- RealPages, \r
+ RealPages,\r
&Memory\r
);\r
if (EFI_ERROR (Status)) {\r
// as close to the top of memory as feasible.\r
//\r
Status = CoreAllocatePages (\r
- AllocateAnyPages, \r
+ AllocateAnyPages,\r
EfiBootServicesData,\r
- RealPages, \r
+ RealPages,\r
&Memory\r
);\r
ASSERT_EFI_ERROR (Status);\r
if (EFI_ERROR (Status)) {\r
return;\r
}\r
- } \r
+ }\r
\r
//\r
// Free overallocated pages\r
\r
//\r
// Initialize EFI_SYSTEM_TABLE_POINTER structure\r
- // \r
+ //\r
mDebugTable->Signature = EFI_SYSTEM_TABLE_SIGNATURE;\r
mDebugTable->EfiSystemTableBase = (EFI_PHYSICAL_ADDRESS) (UINTN) gDxeCoreST;\r
mDebugTable->Crc32 = 0;\r
- \r
+\r
//\r
- // Install the EFI_SYSTEM_TABLE_POINTER structure in the EFI System \r
+ // Install the EFI_SYSTEM_TABLE_POINTER structure in the EFI System\r
// Configuration Table\r
//\r
Status = CoreInstallConfigurationTable (&gEfiDebugImageInfoTableGuid, &mDebugInfoTableHeader);\r
mDebugInfoTableHeader.UpdateStatus |= EFI_DEBUG_IMAGE_INFO_UPDATE_IN_PROGRESS;\r
\r
Table = mDebugInfoTableHeader.EfiDebugImageInfoTable;\r
- \r
+\r
if (mDebugInfoTableHeader.TableSize < mMaxTableEntries) {\r
//\r
// We still have empty entires in the Table, find the first empty entry.\r