From 429309e0c6b74792d679681a8edd0d5ae0ff850c Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Sun, 5 Dec 2021 14:53:50 -0800 Subject: ArmPkg: Apply uncrustify changes REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the ArmPkg package Cc: Andrew Fish Cc: Leif Lindholm Cc: Michael D Kinney Signed-off-by: Michael Kubacki Reviewed-by: Andrew Fish --- ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c') diff --git a/ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c b/ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c index ca81951b2b..3c791a245c 100644 --- a/ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c +++ b/ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c @@ -15,7 +15,7 @@ ArmGicGetSupportedArchRevision ( VOID ) { - UINT32 IccSre; + UINT32 IccSre; // Ideally we would like to use the GICC IIDR Architecture version here, but // this does not seem to be very reliable as the implementation could easily @@ -36,6 +36,7 @@ ArmGicGetSupportedArchRevision ( ArmGicV3SetControlSystemRegisterEnable (IccSre | ICC_SRE_EL2_SRE); IccSre = ArmGicV3GetControlSystemRegisterEnable (); } + if (IccSre & ICC_SRE_EL2_SRE) { return ARM_GIC_ARCH_REVISION_3; } -- cgit v1.2.3