]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg/PrePi: Fixed register corruption
authorOlivier Martin <olivier.martin@arm.com>
Thu, 23 Jan 2014 00:59:08 +0000 (00:59 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 23 Jan 2014 00:59:08 +0000 (00:59 +0000)
commitc2d87a49f788fd9a38a1150e265d2ef2f59fcc77
tree1f2a5af2366c17a2cd58c6e05f68ef73c286d4b3
parenteb98fc6de8d3a2d2085b988e760255f5ef8c859a
ArmPlatformPkg/PrePi: Fixed register corruption

The commit on Fri Dec 6 2013: "ArmPlatformPkg/ArmPlatformStackLib:
Do not directly use PcdArmPrimaryCore" has made the function
ArmPlatformStackSet() overwrites the registers r6 and r7.
These registers are used by PrePi to store the MPIDR and the the base
of the system memory region used by UEFI.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15167 6f19259b-4bc3-4df7-8a09-765794883524
ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.S
ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.asm