mirror of https://github.com/acidanthera/audk.git
ArmPkg: Set BIOS Segment to 0 in SMBIOS Type 0 table
According to the SMBIOS specification, on UEFI systems the BIOS Segment field in the Type 0 table isn't relevant and should be set to 0. Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
This commit is contained in:
parent
b0930e3f4e
commit
27b044605c
|
@ -78,7 +78,6 @@
|
|||
gArmTokenSpaceGuid.PcdBaseBoardManufacturer
|
||||
gArmTokenSpaceGuid.PcdBaseBoardProductName
|
||||
gArmTokenSpaceGuid.PcdBaseBoardVersion
|
||||
gArmTokenSpaceGuid.PcdFdBaseAddress
|
||||
|
||||
[Guids]
|
||||
gEfiGenericVariableGuid
|
||||
|
|
|
@ -253,7 +253,7 @@ SMBIOS_MISC_TABLE_FUNCTION (MiscBiosVendor) {
|
|||
(VOID)CopyMem (SmbiosRecord, InputData, sizeof (SMBIOS_TABLE_TYPE0));
|
||||
|
||||
SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE0);
|
||||
SmbiosRecord->BiosSegment = (UINT16)(FixedPcdGet32 (PcdFdBaseAddress) / SIZE_64KB);
|
||||
SmbiosRecord->BiosSegment = 0;
|
||||
if (BiosPhysicalSize < SIZE_16MB) {
|
||||
SmbiosRecord->BiosSize = Base2ToByteWith64KUnit (BiosPhysicalSize) - 1;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue