mirror of https://github.com/acidanthera/audk.git
BeagleBoardPkg: Use gArmTokenSpaceGuid.PcdSystemMemoryBase/Size to define System Memory
These PCDs are used by ArmPlatformPkg/Bds to know where to load the Linux kernel and its parameters. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12171 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
bd54c237f3
commit
8c454d9800
|
@ -223,6 +223,8 @@ BdsBootLinux (
|
|||
EFI_PHYSICAL_ADDRESS LinuxImage;
|
||||
EFI_PHYSICAL_ADDRESS InitrdImage;
|
||||
|
||||
// Ensure the System Memory PCDs have been initialized (PcdSystemMemoryBase and PcdSystemMemorySize)
|
||||
ASSERT (PcdGet32(PcdSystemMemorySize) != 0);
|
||||
|
||||
PERF_START (NULL, "BDS", NULL, 0);
|
||||
|
||||
|
|
|
@ -331,6 +331,8 @@
|
|||
gEmbeddedTokenSpaceGuid.PcdMemoryBase|0x80000000
|
||||
gEmbeddedTokenSpaceGuid.PcdMemorySize|0x10000000
|
||||
|
||||
gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
|
||||
gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000
|
||||
|
||||
gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80000000
|
||||
gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000
|
||||
|
|
Loading…
Reference in New Issue