summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKun Qin <kuqin@microsoft.com>2024-10-10 15:54:38 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-12-11 18:21:29 +0000
commit25ce25ecce47b54756832d278c30036f9c57b77d (patch)
tree79e319ddc7ded2ed33c67c76ed21636ceb868979
parente8b7d7a238e89992c029d951d10c40730f0deeab (diff)
downloadedk2-25ce25ecce47b54756832d278c30036f9c57b77d.tar.gz
ArmPkg: DefaultExceptionHandlerLib: Update function input bitwidth
The current DescribeExceptionSyndrome is taking ESR as 32bit value. However, ESR should be a 64 bit value. This change updates the function to intake a 64bit value. Cc: Leif Lindholm <quic_llindhol@quicinc.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by: Kun Qin <kun.qin@microsoft.com>
-rw-r--r--ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c b/ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c
index 1d3ea61311..9b5adeaf89 100644
--- a/ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c
+++ b/ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c
@@ -128,7 +128,7 @@ DescribeInstructionOrDataAbort (
STATIC
VOID
DescribeExceptionSyndrome (
- IN UINT32 Esr
+ IN UINT64 Esr
)
{
CHAR8 *Message;