audk/ArmPlatformPkg
Heyi Guo 4960d8e004 ArmPlatformPkg: Fix stack switch bug after commit 7945b29
This is the complementary patch for the commit 7945b29, which strictly
aligns temporary heap size and temporary stack size, but does not do
the same thing when switching stack and heap to permanent memory, and
then it may cause fatal data corruption like PHIT HOB lost and stack
pointer unaligned.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19213 6f19259b-4bc3-4df7-8a09-765794883524
2015-12-10 16:07:03 +00:00
..
ArmJunoPkg ArmPlatformPkg/ArmJunoDxe: drop bogus gArmGlobalVariableGuid dependency 2015-11-27 17:08:42 +00:00
ArmVExpressPkg ArmPlatformPkg/ArmVExpress-CTA15-A7: remove stale ArmPlatformGlobalVariable PCD 2015-12-08 14:16:30 +00:00
Bds ArmPlatformPkg/Bds: drop bogus ArmGlobalVariable dependencies 2015-11-27 17:08:22 +00:00
Documentation ArmPlatformPkg: remove mention of ARMGCC and ARMLINUXGCC 2015-08-12 05:25:26 +00:00
Drivers ArmPlatformPkg: NorFlashDxe: mellow DEBUG messages about flash reinit 2015-10-16 15:46:28 +00:00
FileSystem/BootMonFs ArmPlatformPkg: Fixed builds after some ShellPkg libraries have moved 2015-01-13 18:58:00 +00:00
Include ArmPlatformPkg: remove ArmGlobalVariable PCD, GUID and PPI definitions 2015-11-27 17:10:28 +00:00
Library ArmPlatformPkg/PlatformIntelBdsLib: drop bogus gArmGlobalVariableGuid dep 2015-11-27 17:09:17 +00:00
MemoryInitPei ArmPlatformPkg: ASSERT that PcdSystemMemoryBase does not exceed MAX_ADDRESS 2015-09-09 15:30:37 +00:00
PlatformPei ArmPlatformPkg/PlatformPeim: remove ArmGlobalVariable lowlevel init 2015-11-27 17:07:17 +00:00
PrePeiCore ArmPlatformPkg: Fix stack switch bug after commit 7945b29 2015-12-10 16:07:03 +00:00
PrePi ArmPlatformPkg/PrePi: remove global variable allocation from lowlevel init 2015-11-27 17:07:06 +00:00
Scripts ArmPlatformPkg: bring DS-5 scripts in line with linker script changes 2015-11-12 07:29:21 +00:00
Sec ArmPlatformPkg/Sec: remove global variable allocation from lowlevel init 2015-11-27 17:07:43 +00:00
ArmPlatformPkg-2ndstage.dsc ArmPlatformPkg: drop ArmPlatformGlobalVariableLib resolutions 2015-11-27 17:06:11 +00:00
ArmPlatformPkg-2ndstage.fdf ArmPlatformPkg: Add the LinuxLoader.efi EFI application 2015-07-14 14:32:24 +00:00
ArmPlatformPkg.dec ArmPlatformPkg: remove ArmGlobalVariable PCD, GUID and PPI definitions 2015-11-27 17:10:28 +00:00
ArmPlatformPkg.dsc ArmPlatformPkg: drop ArmPlatformGlobalVariableLib resolutions 2015-11-27 17:06:11 +00:00
ArmPlatformPkg.fdf ArmPlatformPkg: Add the LinuxLoader.efi EFI application 2015-07-14 14:32:24 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt EDK II Packages: Added License.txt files 2012-04-12 16:40:32 +00:00