UefiCpuPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the UefiCpuPkg 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: Ray Ni <ray.ni@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
91415a36ae
commit
053e878bfb
@@ -23,7 +23,7 @@ X2ApicGetConfigData (
|
||||
IN UINTN NumberOfProcessors
|
||||
)
|
||||
{
|
||||
BOOLEAN *ConfigData;
|
||||
BOOLEAN *ConfigData;
|
||||
|
||||
ConfigData = AllocateZeroPool (sizeof (BOOLEAN) * NumberOfProcessors);
|
||||
ASSERT (ConfigData != NULL);
|
||||
@@ -56,10 +56,10 @@ X2ApicSupport (
|
||||
IN VOID *ConfigData OPTIONAL
|
||||
)
|
||||
{
|
||||
BOOLEAN *X2ApicEnabled;
|
||||
BOOLEAN *X2ApicEnabled;
|
||||
|
||||
ASSERT (ConfigData != NULL);
|
||||
X2ApicEnabled = (BOOLEAN *) ConfigData;
|
||||
X2ApicEnabled = (BOOLEAN *)ConfigData;
|
||||
//
|
||||
// *ConfigData indicates if X2APIC enabled on current processor
|
||||
//
|
||||
@@ -94,7 +94,7 @@ X2ApicInitialize (
|
||||
IN BOOLEAN State
|
||||
)
|
||||
{
|
||||
BOOLEAN *X2ApicEnabled;
|
||||
BOOLEAN *X2ApicEnabled;
|
||||
|
||||
//
|
||||
// The scope of the MSR_IA32_APIC_BASE is core for below processor type, only program
|
||||
@@ -107,7 +107,7 @@ X2ApicInitialize (
|
||||
}
|
||||
|
||||
ASSERT (ConfigData != NULL);
|
||||
X2ApicEnabled = (BOOLEAN *) ConfigData;
|
||||
X2ApicEnabled = (BOOLEAN *)ConfigData;
|
||||
if (X2ApicEnabled[ProcessorNumber]) {
|
||||
PRE_SMM_CPU_REGISTER_TABLE_WRITE_FIELD (
|
||||
ProcessorNumber,
|
||||
@@ -133,5 +133,6 @@ X2ApicInitialize (
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
return RETURN_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user