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
@@ -18,7 +18,6 @@
|
||||
#include <Protocol/SmmConfiguration.h>
|
||||
#include <Guid/CpuFeaturesInitDone.h>
|
||||
|
||||
|
||||
/**
|
||||
Worker function to perform CPU feature initialization.
|
||||
|
||||
@@ -28,8 +27,8 @@ CpuFeaturesInitializeWorker (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
EFI_HANDLE Handle;
|
||||
EFI_STATUS Status;
|
||||
EFI_HANDLE Handle;
|
||||
|
||||
CpuFeaturesDetect ();
|
||||
|
||||
@@ -57,12 +56,12 @@ CpuFeaturesInitializeWorker (
|
||||
VOID
|
||||
EFIAPI
|
||||
SmmConfigurationEventNotify (
|
||||
IN EFI_EVENT Event,
|
||||
IN VOID *Context
|
||||
IN EFI_EVENT Event,
|
||||
IN VOID *Context
|
||||
)
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
EFI_SMM_CONFIGURATION_PROTOCOL *SmmConfiguration;
|
||||
EFI_STATUS Status;
|
||||
EFI_SMM_CONFIGURATION_PROTOCOL *SmmConfiguration;
|
||||
|
||||
//
|
||||
// Make sure this notification is for this handler
|
||||
@@ -91,8 +90,8 @@ SmmConfigurationEventNotify (
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
CpuFeaturesDxeInitialize (
|
||||
IN EFI_HANDLE ImageHandle,
|
||||
IN EFI_SYSTEM_TABLE *SystemTable
|
||||
IN EFI_HANDLE ImageHandle,
|
||||
IN EFI_SYSTEM_TABLE *SystemTable
|
||||
)
|
||||
{
|
||||
VOID *Registration;
|
||||
@@ -133,4 +132,3 @@ CpuFeaturesDxeInitialize (
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
#include <Guid/CpuFeaturesInitDone.h>
|
||||
|
||||
EFI_PEI_PPI_DESCRIPTOR mPeiCpuFeaturesInitDonePpiDesc = {
|
||||
EFI_PEI_PPI_DESCRIPTOR mPeiCpuFeaturesInitDonePpiDesc = {
|
||||
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
|
||||
&gEdkiiCpuFeaturesInitDoneGuid,
|
||||
NULL
|
||||
@@ -40,14 +40,15 @@ CpuFeaturesPeimInitialize (
|
||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||
)
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
EFI_BOOT_MODE BootMode;
|
||||
EFI_STATUS Status;
|
||||
EFI_BOOT_MODE BootMode;
|
||||
|
||||
Status = PeiServicesGetBootMode (&BootMode);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
if (BootMode == BOOT_ON_S3_RESUME &&
|
||||
!PcdGetBool (PcdCpuFeaturesInitOnS3Resume)) {
|
||||
if ((BootMode == BOOT_ON_S3_RESUME) &&
|
||||
!PcdGetBool (PcdCpuFeaturesInitOnS3Resume))
|
||||
{
|
||||
//
|
||||
// Does nothing when if PcdCpuFeaturesInitOnS3Resume is FLASE
|
||||
// on S3 boot mode
|
||||
@@ -62,7 +63,7 @@ CpuFeaturesPeimInitialize (
|
||||
//
|
||||
// Install CPU Features Init Done PPI
|
||||
//
|
||||
Status = PeiServicesInstallPpi(&mPeiCpuFeaturesInitDonePpiDesc);
|
||||
Status = PeiServicesInstallPpi (&mPeiCpuFeaturesInitDonePpiDesc);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
//
|
||||
@@ -72,4 +73,3 @@ CpuFeaturesPeimInitialize (
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user