From 7c426b947c710c12dec6ab3710ed2c2cae16f8dc Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Thu, 10 Feb 2022 18:22:10 +0800 Subject: [PATCH] PlatformSmbiosDxe: PlatformSmbiosDxe.c: fix EndingAddress --- sdm845Pkg/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdm845Pkg/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c b/sdm845Pkg/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c index c191fa1..32c9fe9 100644 --- a/sdm845Pkg/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c +++ b/sdm845Pkg/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c @@ -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); -- 2.45.2