PlatformSmbiosDxe: PlatformSmbiosDxe.c: fix EndingAddress

This commit is contained in:
BigfootACA 2022-02-10 18:22:10 +08:00
parent 41a4401a4e
commit 7c426b947c

View File

@ -1091,7 +1091,7 @@ PlatformSmbiosDriverEntryPoint(
while (fdt_get_memory(Fdt, (int)Node, (uint64_t*)&MemoryBase, (uint64_t*)&MemorySize)) {
mMemArrMapInfoType19.StartingAddress = MemoryBase;
mMemArrMapInfoType19.EndingAddress = MemorySize;
mMemArrMapInfoType19.EndingAddress = MemoryBase + MemorySize;
LogSmbiosData(
(EFI_SMBIOS_TABLE_HEADER *)&mMemArrMapInfoType19,
mMemArrMapInfoType19Strings, NULL);