From 25ce25ecce47b54756832d278c30036f9c57b77d Mon Sep 17 00:00:00 2001 From: Kun Qin Date: Thu, 10 Oct 2024 15:54:38 -0700 Subject: 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 Cc: Ard Biesheuvel Cc: Sami Mujawar Signed-off-by: Kun Qin --- .../DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit