]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/PeiHobLib/HobLib.c
Fix the wrong memory type for BSP stack hob. EfiConventionalMemoryType will be reclai...
[mirror_edk2.git] / 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