]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/ArmExceptionLib: don't restore ESR and FAR upon exception return
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 17 Mar 2016 07:55:39 +0000 (08:55 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 22 Mar 2016 13:39:02 +0000 (14:39 +0100)
commit2187f9a0523c44604a27bbf6563d5c373e73cc31
treeb5c0634cc0d5df2373a7052d098a530b4cb70a0a
parent02e261c3f8b8aca1221f53e3845275a8a2a82dc8
ArmPkg/ArmExceptionLib: don't restore ESR and FAR upon exception return

ESR and FAR are populated by the hardware upon exception entry, and
describe the exception, not the interrupted context. So there is no point
in restoring their values before returning from the exception.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Eugene Cohen <eugene@hp.com>
ArmPkg/Library/ArmExceptionLib/AArch64/ExceptionSupport.S