diff options
author | Dongyan Qian <qiandongyan@loongson.cn> | 2024-06-25 10:35:14 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-06-26 00:52:39 +0000 |
commit | 5db0091418c8ed6a62178469e8ffb3dacaab13ee (patch) | |
tree | 1ac5777d63b489066ba70a7bd34021eca88c64dd /ArmPlatformPkg | |
parent | dc93ff8a5561a3085eeda9d4ac00d40545eb43cd (diff) | |
download | edk2-5db0091418c8ed6a62178469e8ffb3dacaab13ee.tar.gz |
UefiCpuPkg/ExceptionHandler: Fix a context error in LoongArch64
On the LoongArch platform:
the a0 register can be used as both a function parameter and a return value.
Due to parameter EFI_SYSTEM_CONTEXT being overwritten by an invalid context address,
when calling GetExceptionType, incorrect parameter address causes memory access exception.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4796
Cc: Chao Li <lichao@loongson.cn>
Signed-off-by: Dongyan Qian <qiandongyan@loongson.cn>
Diffstat (limited to 'ArmPlatformPkg')
0 files changed, 0 insertions, 0 deletions