gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn\r
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut\r
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision\r
\r
[Depex]\r
TRUE\r
LIST_ENTRY DriverOptionList;\r
LIST_ENTRY BootOptionList;\r
UINTN BootNextSize;\r
+ CHAR16 *FirmwareVendor;\r
\r
//\r
// Insert the performance probe\r
//\r
InitializeHotkeyService ();\r
\r
+ //\r
+ // Fill in FirmwareVendor and FirmwareRevision from PCDs\r
+ //\r
+ FirmwareVendor = (CHAR16 *)PcdGetPtr (PcdFirmwareVendor);\r
+ gST->FirmwareVendor = AllocateRuntimeCopyPool (StrSize (FirmwareVendor), FirmwareVendor);\r
+ ASSERT (gST->FirmwareVendor != NULL);\r
+ gST->FirmwareRevision = PcdGet32 (PcdFirmwareRevision);\r
+\r
+ //\r
+ // Fixup Tasble CRC after we updated Firmware Vendor and Revision\r
+ //\r
+ gBS->CalculateCrc32 ((VOID *)gST, sizeof(EFI_SYSTEM_TABLE), &gST->Hdr.CRC32);\r
+\r
//\r
// Do the platform init, can be customized by OEM/IBV\r
//\r