Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: e1d24410da356731da70b3334f86343e11e207d2
      
https://github.com/tianocore/edk2/commit/e1d24410da356731da70b3334f86343e11e207d2
  Author: Heyi Guo <[email protected]>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c

  Log Message:
  -----------
  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 <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>




_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to