\r
#include "DxeMain.h"\r
\r
-#define CONFIG_TABLE_SIZE_INCREASED 0x10\r
+#define CONFIG_TABLE_SIZE_INCREASED 0x10\r
\r
-UINTN mSystemTableAllocateSize = 0;\r
+UINTN mSystemTableAllocateSize = 0;\r
\r
/**\r
Boot Service called to add, modify, or remove a system configuration table from\r
EFI_STATUS\r
EFIAPI\r
CoreInstallConfigurationTable (\r
- IN EFI_GUID *Guid,\r
- IN VOID *Table\r
+ IN EFI_GUID *Guid,\r
+ IN VOID *Table\r
)\r
{\r
- UINTN Index;\r
- EFI_CONFIGURATION_TABLE *EfiConfigurationTable;\r
- EFI_CONFIGURATION_TABLE *OldTable;\r
+ UINTN Index;\r
+ EFI_CONFIGURATION_TABLE *EfiConfigurationTable;\r
+ EFI_CONFIGURATION_TABLE *OldTable;\r
\r
//\r
// If Guid is NULL, then this operation cannot be performed\r
&(gDxeCoreST->ConfigurationTable[Index + 1]),\r
(gDxeCoreST->NumberOfTableEntries - Index) * sizeof (EFI_CONFIGURATION_TABLE)\r
);\r
-\r
} else {\r
-\r
//\r
// No matching GUIDs were found, so this is an add operation.\r
//\r
// Allocate a table with one additional entry.\r
//\r
mSystemTableAllocateSize += (CONFIG_TABLE_SIZE_INCREASED * sizeof (EFI_CONFIGURATION_TABLE));\r
- EfiConfigurationTable = AllocateRuntimePool (mSystemTableAllocateSize);\r
+ EfiConfigurationTable = AllocateRuntimePool (mSystemTableAllocateSize);\r
if (EfiConfigurationTable == NULL) {\r
//\r
// If a new table could not be allocated, then return an error.\r
// Fill in the new entry\r
//\r
CopyGuid ((VOID *)&EfiConfigurationTable[Index].VendorGuid, Guid);\r
- EfiConfigurationTable[Index].VendorTable = Table;\r
+ EfiConfigurationTable[Index].VendorTable = Table;\r
\r
//\r
// This is an add operation, so increment the number of table entries\r