]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/BdsLib/Arm: Clean Data cache before disabling it
authorOlivier Martin <olivier.martin@arm.com>
Mon, 1 Sep 2014 13:21:54 +0000 (13:21 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 1 Sep 2014 13:21:54 +0000 (13:21 +0000)
commit5779aaafe95e5cf8d9f1b192725bba60c4b9e245
tree7a7de375410078442f006dfb31050c8601b642df
parentf4b491b56f827052d0823c3217fa2049fd479a7d
ArmPkg/BdsLib/Arm: Clean Data cache before disabling it

It is actually the same sequence as AArch64.
Without cleaning the data cache prior to disable the cache, the LR value
pushed on the stack when entering in ArmCleanInvalidateDataCache()
might have been overwritten by this specific cache line maintenance.

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@16012 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/BdsLib/Arm/BdsLinuxLoader.c