]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.c
ArmPlatformPkg/MemoryInitPeim: handle memory above 4 GB on 32-bit ARM
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 9 Sep 2015 14:48:25 +0000 (14:48 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Wed, 9 Sep 2015 14:48:25 +0000 (14:48 +0000)
commit984ec7588d569cc35dcbdd3c45a86088c4366eeb
tree9e8b2131036b1e3d968ecc1658949c96060c0eef
parent8483681426b5a33e9d186758c47def0f1fcd86e2
ArmPlatformPkg/MemoryInitPeim: handle memory above 4 GB on 32-bit ARM

Make sure that the PEI memory region is carved out of memory that is
32-bit addressable, by taking MAX_ADDRESS into account (which is
defined as '4 GB - 1' on ARM)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18426 6f19259b-4bc3-4df7-8a09-765794883524
ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.c