audk/ArmPlatformPkg
Garrett Kirkendall 2a414cd3c3 ArmPlatformPkg/MemoryInitPei: AARCH64 fix memory address calculations
At least for AARCH64 currently, SystemMemoryTop and FdTop can overflow
while adding the 32-bit PCDs together.  The resulting value loses the
upper 32-bits.  Cast each of the values to EFI_PHYSICAL_ADDRESS size
before doing the addition to prevent erroneous overflow.  There is currently
no 32-bit platform in EDKII open source that will overflow and this change
would not fix that problem anyway.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Garrett Kirkendall <garrett.kirkendall@amd.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14675 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-16 09:29:52 +00:00
..
ArmRealViewEbPkg ARM Package: Increase FV file size for some EDK2 firmware 2013-08-30 11:50:36 +00:00
ArmVExpressPkg ArmPlatformPkg: Update AArch64 models to match the binaries generated by the AArch64 Linux kernel 2013-09-04 09:38:53 +00:00
Bds ArmPlatformPkg/Bds: Make ".EFI" files recognizable as EFI applications 2013-06-21 10:01:27 +00:00
Documentation ArmPlatformPkg/patches: Updated BaseTools-Pending-Patches.patch 2013-09-04 10:30:27 +00:00
Drivers ArmPlatformPkg/PL180MciDxe: Increased the TPL at the highest priority to disable interrupts 2013-08-06 12:11:13 +00:00
Include EmbeddedPkg/SerialPortExtLib.h: Changed SerialPortSetAttributes() prototype to return the set value(s) 2013-05-15 08:44:59 +00:00
Library ArmPkg,ArmPlatformPkg: Free memory allocated by Get.*SpaceMap() 2013-07-26 17:12:12 +00:00
MemoryInitPei ArmPlatformPkg/MemoryInitPei: AARCH64 fix memory address calculations 2013-09-16 09:29:52 +00:00
PlatformPei ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
PrePeiCore ArmPlatformPkg: PrePei Cache disable and invalidate. 2013-08-06 17:41:53 +00:00
PrePi ArmPlatformPkg: PrePei Cache disable and invalidate. 2013-08-06 17:41:53 +00:00
Scripts ArmPlatformPkg/Ds5: Added Aarch64 support 2013-07-18 21:32:43 +00:00
Sec ArmPlatformPkg/Sec: Removed SetupExceptionLevel3() 2013-08-21 12:07:01 +00:00
ArmPlatformPkg-2ndstage.dsc ArmPlatformPkg: Added Aarch64 support 2013-07-18 19:06:52 +00:00
ArmPlatformPkg-2ndstage.fdf ArmPlatformPkg: Replaced FatPkg source package by the pre-built FatPkg binary 2013-01-25 12:00:33 +00:00
ArmPlatformPkg.dec ArmPlatformPkg: Added Aarch64 support 2013-07-18 19:06:52 +00:00
ArmPlatformPkg.dsc ArmPlatformPkg: Added Aarch64 support 2013-07-18 19:06:52 +00:00
ArmPlatformPkg.fdf ARM Package: Increase FV file size for some EDK2 firmware 2013-08-30 11:50:36 +00:00
Contributions.txt EDK II Packages: Add Contributions.txt and License.txt files 2012-04-11 23:19:46 +00:00
License.txt EDK II Packages: Added License.txt files 2012-04-12 16:40:32 +00:00