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 <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Andrew Fish <afish@apple.com>
This commit is contained in:
committed by
mergify[bot]
parent
7c2a6033c1
commit
429309e0c6
@@ -27,9 +27,9 @@ SmbiosProcessorGetMaxCacheLevel (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
CLIDR_DATA Clidr;
|
||||
UINT8 CacheLevel;
|
||||
UINT8 MaxCacheLevel;
|
||||
CLIDR_DATA Clidr;
|
||||
UINT8 CacheLevel;
|
||||
UINT8 MaxCacheLevel;
|
||||
|
||||
MaxCacheLevel = 0;
|
||||
|
||||
@@ -59,12 +59,12 @@ SmbiosProcessorGetMaxCacheLevel (
|
||||
**/
|
||||
BOOLEAN
|
||||
SmbiosProcessorHasSeparateCaches (
|
||||
UINT8 CacheLevel
|
||||
UINT8 CacheLevel
|
||||
)
|
||||
{
|
||||
CLIDR_CACHE_TYPE CacheType;
|
||||
CLIDR_DATA Clidr;
|
||||
BOOLEAN SeparateCaches;
|
||||
CLIDR_CACHE_TYPE CacheType;
|
||||
CLIDR_DATA Clidr;
|
||||
BOOLEAN SeparateCaches;
|
||||
|
||||
SeparateCaches = FALSE;
|
||||
|
||||
@@ -88,9 +88,9 @@ HasSmcArm64SocId (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
ARM_SMC_ARGS Args;
|
||||
INT32 SmcCallStatus;
|
||||
BOOLEAN Arm64SocIdSupported;
|
||||
ARM_SMC_ARGS Args;
|
||||
INT32 SmcCallStatus;
|
||||
BOOLEAN Arm64SocIdSupported;
|
||||
|
||||
Arm64SocIdSupported = FALSE;
|
||||
|
||||
@@ -98,7 +98,7 @@ HasSmcArm64SocId (
|
||||
ArmCallSmc (&Args);
|
||||
SmcCallStatus = (INT32)Args.Arg0;
|
||||
|
||||
if (SmcCallStatus < 0 || (SmcCallStatus >> 16) >= 1) {
|
||||
if ((SmcCallStatus < 0) || ((SmcCallStatus >> 16) >= 1)) {
|
||||
Args.Arg0 = SMCCC_ARCH_FEATURES;
|
||||
Args.Arg1 = SMCCC_ARCH_SOC_ID;
|
||||
ArmCallSmc (&Args);
|
||||
@@ -121,8 +121,8 @@ HasSmcArm64SocId (
|
||||
**/
|
||||
EFI_STATUS
|
||||
SmbiosGetSmcArm64SocId (
|
||||
OUT INT32 *Jep106Code,
|
||||
OUT INT32 *SocRevision
|
||||
OUT INT32 *Jep106Code,
|
||||
OUT INT32 *SocRevision
|
||||
)
|
||||
{
|
||||
ARM_SMC_ARGS Args;
|
||||
@@ -166,9 +166,9 @@ SmbiosGetProcessorId (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
INT32 Jep106Code;
|
||||
INT32 SocRevision;
|
||||
UINT64 ProcessorId;
|
||||
INT32 Jep106Code;
|
||||
INT32 SocRevision;
|
||||
UINT64 ProcessorId;
|
||||
|
||||
if (HasSmcArm64SocId ()) {
|
||||
SmbiosGetSmcArm64SocId (&Jep106Code, &SocRevision);
|
||||
@@ -213,15 +213,15 @@ SmbiosGetProcessorFamily2 (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
UINTN MainIdRegister;
|
||||
UINT16 ProcessorFamily2;
|
||||
UINTN MainIdRegister;
|
||||
UINT16 ProcessorFamily2;
|
||||
|
||||
MainIdRegister = ArmReadMidr ();
|
||||
|
||||
if (((MainIdRegister >> 16) & 0xF) < 8) {
|
||||
ProcessorFamily2 = ProcessorFamilyARM;
|
||||
} else {
|
||||
if (sizeof (VOID*) == 4) {
|
||||
if (sizeof (VOID *) == 4) {
|
||||
ProcessorFamily2 = ProcessorFamilyARMv7;
|
||||
} else {
|
||||
ProcessorFamily2 = ProcessorFamilyARMv8;
|
||||
@@ -240,7 +240,7 @@ SmbiosGetProcessorCharacteristics (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
PROCESSOR_CHARACTERISTIC_FLAGS Characteristics;
|
||||
PROCESSOR_CHARACTERISTIC_FLAGS Characteristics;
|
||||
|
||||
ZeroMem (&Characteristics, sizeof (Characteristics));
|
||||
|
||||
|
Reference in New Issue
Block a user