mirror of https://github.com/acidanthera/audk.git
Remove code that fills in the FirmwareVendor and FirmwareRevision in the EFI System Table and depend on BdsDxe in the IntelFrameworkModulePkg to do this instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8851 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
951d3095d8
commit
83c4704cf9
|
@ -22,7 +22,6 @@ Abstract:
|
|||
|
||||
#include "BdsPlatform.h"
|
||||
|
||||
CHAR16 mFirmwareVendor[] = L"TianoCore.org";
|
||||
WIN_NT_SYSTEM_CONFIGURATION mSystemConfigData;
|
||||
|
||||
VOID
|
||||
|
@ -85,22 +84,6 @@ Returns:
|
|||
|
||||
--*/
|
||||
{
|
||||
//
|
||||
// set firmwarevendor, here can be IBV/OEM customize
|
||||
//
|
||||
gST->FirmwareVendor = AllocateRuntimeCopyPool (
|
||||
sizeof (mFirmwareVendor),
|
||||
&mFirmwareVendor
|
||||
);
|
||||
ASSERT (gST->FirmwareVendor != NULL);
|
||||
|
||||
gST->FirmwareRevision = 0;
|
||||
|
||||
//
|
||||
// Fixup Tasble CRC after we updated Firmware Vendor and Revision
|
||||
//
|
||||
gBS->CalculateCrc32 ((VOID *) gST, sizeof (EFI_SYSTEM_TABLE), &gST->Hdr.CRC32);
|
||||
|
||||
SetupVariableInit ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue