From d52c0b860b447ea83b8b6ba0faff33021fe52dea Mon Sep 17 00:00:00 2001 From: ReddestDream Date: Wed, 3 May 2017 00:13:28 -0400 Subject: [PATCH] BlSupportPei: prevent lower coreboot table from being overwritten Exclude the bottom 4kb from being included in System Memory HoB --- UefiPayloadPkg/BlSupportPei/BlSupportPei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiPayloadPkg/BlSupportPei/BlSupportPei.c b/UefiPayloadPkg/BlSupportPei/BlSupportPei.c index 2297245311..e643e90d83 100644 --- a/UefiPayloadPkg/BlSupportPei/BlSupportPei.c +++ b/UefiPayloadPkg/BlSupportPei/BlSupportPei.c @@ -406,8 +406,8 @@ BlPeiEntryPoint ( EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE | EFI_RESOURCE_ATTRIBUTE_WRITE_BACK_CACHEABLE ), - (EFI_PHYSICAL_ADDRESS)(0), - (UINT64)(0xA0000) + (EFI_PHYSICAL_ADDRESS)(0 + 0x1000), + (UINT64)(0xA0000 - 0x1000) ); BuildResourceDescriptorHob (