From dda0251d0bddbdb78d84766d74cbfaf70d59bf84 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 8 Nov 2007 03:48:49 +0000 Subject: [PATCH] Fix the wrong memory type for BSP stack hob. EfiConventionalMemoryType will be reclaimed by DxeCore. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4287 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/PeiHobLib/HobLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/PeiHobLib/HobLib.c b/MdePkg/Library/PeiHobLib/HobLib.c index d18d355a1f..a70162c831 100644 --- a/MdePkg/Library/PeiHobLib/HobLib.c +++ b/MdePkg/Library/PeiHobLib/HobLib.c @@ -523,7 +523,7 @@ BuildStackHob ( CopyGuid (&(Hob->AllocDescriptor.Name), &gEfiHobMemoryAllocStackGuid); Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress; Hob->AllocDescriptor.MemoryLength = Length; - Hob->AllocDescriptor.MemoryType = EfiConventionalMemory; + Hob->AllocDescriptor.MemoryType = EfiBootServicesData; // // Zero the reserved space to match HOB spec -- 2.39.2