ArmPlatformPkg: Rename gEmbeddedTokenSpaceGuid.PcdEmbeddedFd* into gArmTokenSpaceGuid.PcdNormalFd*
This renaming is for matching the namespace with the secure firmware gArmTokenSpaceGuid.PcdSecureFdBaseAddress/Size. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11475 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -179,14 +179,14 @@ VOID ArmPlatformGetEfiMemoryMap (
|
||||
// Chunk between the EFI Memory region and the firmware
|
||||
EfiMemoryTable[++Index].ResourceAttribute = Attributes;
|
||||
EfiMemoryTable[Index].PhysicalStart = MemoryBase;
|
||||
EfiMemoryTable[Index].NumberOfBytes = PcdGet32(PcdEmbeddedFdBaseAddress) - MemoryBase;
|
||||
EfiMemoryTable[Index].NumberOfBytes = PcdGet32(PcdNormalFdBaseAddress) - MemoryBase;
|
||||
|
||||
// Chunk reserved by the firmware in DRAM
|
||||
EfiMemoryTable[++Index].ResourceAttribute = Attributes & (~EFI_RESOURCE_ATTRIBUTE_PRESENT);
|
||||
EfiMemoryTable[Index].PhysicalStart = PcdGet32(PcdEmbeddedFdBaseAddress);
|
||||
EfiMemoryTable[Index].NumberOfBytes = PcdGet32(PcdEmbeddedFdSize);
|
||||
EfiMemoryTable[Index].PhysicalStart = PcdGet32(PcdNormalFdBaseAddress);
|
||||
EfiMemoryTable[Index].NumberOfBytes = PcdGet32(PcdNormalFdSize);
|
||||
|
||||
MemoryBase = PcdGet32(PcdEmbeddedFdBaseAddress) + PcdGet32(PcdEmbeddedFdSize);
|
||||
MemoryBase = PcdGet32(PcdNormalFdBaseAddress) + PcdGet32(PcdNormalFdSize);
|
||||
}
|
||||
|
||||
// We allocate all the remain memory as untested system memory
|
||||
|
Reference in New Issue
Block a user