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
This commit is contained in:
qhuang8 2007-11-08 03:48:49 +00:00
parent 5053cf7f4c
commit dda0251d0b
1 changed files with 1 additions and 1 deletions

View File

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