mirror of https://github.com/acidanthera/audk.git
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:
parent
5053cf7f4c
commit
dda0251d0b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue