From: mdkinney Date: Fri, 10 Jul 2009 00:05:26 +0000 (+0000) Subject: Remove code that fills in the FirmwareVendor and FirmwareRevision in the EFI System... X-Git-Tag: edk2-stable201903~17456 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=031667a3efea7dee64725c0512010d6ba56d089f 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@8852 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/UnixPkg/Library/UnixBdsLib/BdsPlatform.c b/UnixPkg/Library/UnixBdsLib/BdsPlatform.c index bac2cfd6cc..d33046e99f 100644 --- a/UnixPkg/Library/UnixBdsLib/BdsPlatform.c +++ b/UnixPkg/Library/UnixBdsLib/BdsPlatform.c @@ -22,7 +22,6 @@ Abstract: #include "BdsPlatform.h" -CHAR16 mFirmwareVendor[] = L"TianoCore.org"; UNIX_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 (); }