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 --- .../Drivers/ArmScmiDxe/ArmScmiPerformanceProtocolPrivate.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ArmPkg/Drivers/ArmScmiDxe/ArmScmiPerformanceProtocolPrivate.h') diff --git a/ArmPkg/Drivers/ArmScmiDxe/ArmScmiPerformanceProtocolPrivate.h b/ArmPkg/Drivers/ArmScmiDxe/ArmScmiPerformanceProtocolPrivate.h index b178aa3fdf..3c038f183d 100644 --- a/ArmPkg/Drivers/ArmScmiDxe/ArmScmiPerformanceProtocolPrivate.h +++ b/ArmPkg/Drivers/ArmScmiDxe/ArmScmiPerformanceProtocolPrivate.h @@ -15,23 +15,23 @@ #include // Number of performance levels returned by a call to the SCP, Lvls Bits[11:0] -#define NUM_PERF_LEVELS_MASK 0x0FFF -#define NUM_PERF_LEVELS(Lvls) (Lvls & NUM_PERF_LEVELS_MASK) +#define NUM_PERF_LEVELS_MASK 0x0FFF +#define NUM_PERF_LEVELS(Lvls) (Lvls & NUM_PERF_LEVELS_MASK) // Number of performance levels remaining after a call to the SCP, Lvls Bits[31:16] #define NUM_REMAIN_PERF_LEVELS_SHIFT 16 -#define NUM_REMAIN_PERF_LEVELS(Lvls) (Lvls >> NUM_REMAIN_PERF_LEVELS_SHIFT) +#define NUM_REMAIN_PERF_LEVELS(Lvls) (Lvls >> NUM_REMAIN_PERF_LEVELS_SHIFT) /** Return values for ScmiMessageIdPerformanceDescribeLevels command. SCMI Spec section 4.5.2.5 **/ typedef struct { - UINT32 NumLevels; + UINT32 NumLevels; // NOTE: Since EDK2 does not allow flexible array member [] we declare // here array of 1 element length. However below is used as a variable // length array. - SCMI_PERFORMANCE_LEVEL PerfLevel[1]; // Offset to array of performance levels + SCMI_PERFORMANCE_LEVEL PerfLevel[1]; // Offset to array of performance levels } PERF_DESCRIBE_LEVELS; /** Initialize performance management protocol and install on a given Handle. @@ -43,7 +43,7 @@ typedef struct { **/ EFI_STATUS ScmiPerformanceProtocolInit ( - IN EFI_HANDLE* Handle + IN EFI_HANDLE *Handle ); #endif /* ARM_SCMI_PERFORMANCE_PROTOCOL_PRIVATE_H_ */ -- cgit v1.2.3