]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix the wrong memory type for BSP stack hob. EfiConventionalMemoryType will be reclai...
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 8 Nov 2007 03:48:49 +0000 (03:48 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 8 Nov 2007 03:48:49 +0000 (03:48 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4287 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/PeiHobLib/HobLib.c

index d18d355a1f0451798defce5b0b0d080551439e07..a70162c831288e89eb7b3352d7ac11ac1ea647d7 100644 (file)
@@ -523,7 +523,7 @@ BuildStackHob (
   CopyGuid (&(Hob->AllocDescriptor.Name), &gEfiHobMemoryAllocStackGuid);\r
   Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress;\r
   Hob->AllocDescriptor.MemoryLength      = Length;\r
-  Hob->AllocDescriptor.MemoryType        = EfiConventionalMemory;\r
+  Hob->AllocDescriptor.MemoryType        = EfiBootServicesData;\r
 \r
   //\r
   // Zero the reserved space to match HOB spec\r