Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 5db0091418c8ed6a62178469e8ffb3dacaab13ee
https://github.com/tianocore/edk2/commit/5db0091418c8ed6a62178469e8ffb3dacaab13ee
Author: Dongyan Qian <[email protected]>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M
UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/LoongArch64/ExceptionHandlerAsm.S
Log Message:
-----------
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 <[email protected]>
Signed-off-by: Dongyan Qian <[email protected]>
Commit: 2fbaaa96d11ad61a9133df1728e3fe965d1457a5
https://github.com/tianocore/edk2/commit/2fbaaa96d11ad61a9133df1728e3fe965d1457a5
Author: Dongyan Qian <[email protected]>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M MdePkg/Library/BaseLib/LoongArch64/Cpucfg.S
Log Message:
-----------
MdePkg/BaseLib: Fix an instruction write width error in LoongArch64
Cpucfg fetch is a 32-bit register, and AsmCpucfg's function
declaration is a 32-bit address storage operation in BaseLib.h,
So, fix it by replacing stptr.d with stptr.w instrcution.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4797
Cc: Chao Li <[email protected]>
Signed-off-by: Dongyan Qian <[email protected]>
Co-authored-by: Chao Li <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/dc93ff8a5561...2fbaaa96d11a
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits