summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/ArmExceptionLib/Arm
diff options
context:
space:
mode:
authorHeyi Guo <guoheyi@linux.alibaba.com>2020-06-09 09:26:30 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-06-10 18:06:45 +0000
commite1d24410da356731da70b3334f86343e11e207d2 (patch)
tree60fc661f433ff225e1290ce51ea8301823d3a35d /ArmPkg/Library/ArmExceptionLib/Arm
parent14c7ed8b51f60097ad771277da69f74b22a7a759 (diff)
downloadedk2-e1d24410da356731da70b3334f86343e11e207d2.tar.gz
edk2-e1d24410da356731da70b3334f86343e11e207d2.tar.bz2
edk2-e1d24410da356731da70b3334f86343e11e207d2.zip
ArmPkg/ArmExceptionLib: use static buffer for sp_el0
The exception library is also used in DxeMain before memory services are available, and AllocatePages() will fail in this case and cause sp_el0 remains 0. Then if any exception occurs before CpuDxe driver is loaded, a recursive exception will be trigged by page translation fault for sp = 0 - 0x130. Use static buffer instead to fix this issue. Signed-off-by: Heyi Guo <guoheyi@linux.alibaba.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Diffstat (limited to 'ArmPkg/Library/ArmExceptionLib/Arm')
0 files changed, 0 insertions, 0 deletions