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
@@ -34,7 +34,7 @@
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_SM_MONITOR_LOAD_MONITOR) (
|
||||
(EFIAPI *EFI_SM_MONITOR_LOAD_MONITOR)(
|
||||
IN EFI_PHYSICAL_ADDRESS StmImage,
|
||||
IN UINTN StmImageSize
|
||||
);
|
||||
@@ -54,7 +54,7 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_SM_MONITOR_ADD_PI_RESOURCE) (
|
||||
(EFIAPI *EFI_SM_MONITOR_ADD_PI_RESOURCE)(
|
||||
IN STM_RSC *ResourceList,
|
||||
IN UINT32 NumEntries OPTIONAL
|
||||
);
|
||||
@@ -74,7 +74,7 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_SM_MONITOR_DELETE_PI_RESOURCE) (
|
||||
(EFIAPI *EFI_SM_MONITOR_DELETE_PI_RESOURCE)(
|
||||
IN STM_RSC *ResourceList OPTIONAL,
|
||||
IN UINT32 NumEntries OPTIONAL
|
||||
);
|
||||
@@ -94,14 +94,14 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_SM_MONITOR_GET_PI_RESOURCE) (
|
||||
(EFIAPI *EFI_SM_MONITOR_GET_PI_RESOURCE)(
|
||||
OUT STM_RSC *ResourceList,
|
||||
IN OUT UINT32 *ResourceSize
|
||||
);
|
||||
|
||||
typedef UINT32 EFI_SM_MONITOR_STATE;
|
||||
#define EFI_SM_MONITOR_STATE_ENABLED 0x1
|
||||
#define EFI_SM_MONITOR_STATE_ACTIVATED 0x2
|
||||
#define EFI_SM_MONITOR_STATE_ENABLED 0x1
|
||||
#define EFI_SM_MONITOR_STATE_ACTIVATED 0x2
|
||||
|
||||
/**
|
||||
|
||||
@@ -112,7 +112,7 @@ typedef UINT32 EFI_SM_MONITOR_STATE;
|
||||
**/
|
||||
typedef
|
||||
EFI_SM_MONITOR_STATE
|
||||
(EFIAPI *EFI_SM_MONITOR_GET_MONITOR_STATE) (
|
||||
(EFIAPI *EFI_SM_MONITOR_GET_MONITOR_STATE)(
|
||||
VOID
|
||||
);
|
||||
|
||||
@@ -120,16 +120,16 @@ typedef struct _EFI_SM_MONITOR_INIT_PROTOCOL {
|
||||
//
|
||||
// Valid at boot-time only
|
||||
//
|
||||
EFI_SM_MONITOR_LOAD_MONITOR LoadMonitor;
|
||||
EFI_SM_MONITOR_ADD_PI_RESOURCE AddPiResource;
|
||||
EFI_SM_MONITOR_DELETE_PI_RESOURCE DeletePiResource;
|
||||
EFI_SM_MONITOR_GET_PI_RESOURCE GetPiResource;
|
||||
EFI_SM_MONITOR_LOAD_MONITOR LoadMonitor;
|
||||
EFI_SM_MONITOR_ADD_PI_RESOURCE AddPiResource;
|
||||
EFI_SM_MONITOR_DELETE_PI_RESOURCE DeletePiResource;
|
||||
EFI_SM_MONITOR_GET_PI_RESOURCE GetPiResource;
|
||||
//
|
||||
// Valid at runtime
|
||||
//
|
||||
EFI_SM_MONITOR_GET_MONITOR_STATE GetMonitorState;
|
||||
EFI_SM_MONITOR_GET_MONITOR_STATE GetMonitorState;
|
||||
} EFI_SM_MONITOR_INIT_PROTOCOL;
|
||||
|
||||
extern EFI_GUID gEfiSmMonitorInitProtocolGuid;
|
||||
extern EFI_GUID gEfiSmMonitorInitProtocolGuid;
|
||||
|
||||
#endif
|
||||
|
@@ -44,7 +44,7 @@ typedef struct _EFI_SMM_CPU_SERVICE_PROTOCOL EFI_SMM_CPU_SERVICE_PROTOCOL;
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI * EFI_SMM_GET_PROCESSOR_INFO) (
|
||||
(EFIAPI *EFI_SMM_GET_PROCESSOR_INFO)(
|
||||
IN CONST EFI_SMM_CPU_SERVICE_PROTOCOL *This,
|
||||
IN UINTN ProcessorNumber,
|
||||
OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer
|
||||
@@ -82,7 +82,7 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI * EFI_SMM_SWITCH_BSP) (
|
||||
(EFIAPI *EFI_SMM_SWITCH_BSP)(
|
||||
IN CONST EFI_SMM_CPU_SERVICE_PROTOCOL *This,
|
||||
IN UINTN ProcessorNumber
|
||||
);
|
||||
@@ -106,7 +106,7 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_SMM_ADD_PROCESSOR) (
|
||||
(EFIAPI *EFI_SMM_ADD_PROCESSOR)(
|
||||
IN CONST EFI_SMM_CPU_SERVICE_PROTOCOL *This,
|
||||
IN UINT64 ProcessorId,
|
||||
OUT UINTN *ProcessorNumber
|
||||
@@ -128,7 +128,7 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_SMM_REMOVE_PROCESSOR) (
|
||||
(EFIAPI *EFI_SMM_REMOVE_PROCESSOR)(
|
||||
IN CONST EFI_SMM_CPU_SERVICE_PROTOCOL *This,
|
||||
IN UINTN ProcessorNumber
|
||||
);
|
||||
@@ -156,7 +156,7 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI * EFI_SMM_WHOAMI) (
|
||||
(EFIAPI *EFI_SMM_WHOAMI)(
|
||||
IN CONST EFI_SMM_CPU_SERVICE_PROTOCOL *This,
|
||||
OUT UINTN *ProcessorNumber
|
||||
);
|
||||
@@ -180,7 +180,7 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_SMM_REGISTER_EXCEPTION_HANDLER) (
|
||||
(EFIAPI *EFI_SMM_REGISTER_EXCEPTION_HANDLER)(
|
||||
IN EFI_SMM_CPU_SERVICE_PROTOCOL *This,
|
||||
IN EFI_EXCEPTION_TYPE ExceptionType,
|
||||
IN EFI_CPU_INTERRUPT_HANDLER InterruptHandler
|
||||
@@ -190,14 +190,14 @@ EFI_STATUS
|
||||
// This protocol provides CPU services from SMM.
|
||||
//
|
||||
struct _EFI_SMM_CPU_SERVICE_PROTOCOL {
|
||||
EFI_SMM_GET_PROCESSOR_INFO GetProcessorInfo;
|
||||
EFI_SMM_SWITCH_BSP SwitchBsp;
|
||||
EFI_SMM_ADD_PROCESSOR AddProcessor;
|
||||
EFI_SMM_REMOVE_PROCESSOR RemoveProcessor;
|
||||
EFI_SMM_WHOAMI WhoAmI;
|
||||
EFI_SMM_REGISTER_EXCEPTION_HANDLER RegisterExceptionHandler;
|
||||
EFI_SMM_GET_PROCESSOR_INFO GetProcessorInfo;
|
||||
EFI_SMM_SWITCH_BSP SwitchBsp;
|
||||
EFI_SMM_ADD_PROCESSOR AddProcessor;
|
||||
EFI_SMM_REMOVE_PROCESSOR RemoveProcessor;
|
||||
EFI_SMM_WHOAMI WhoAmI;
|
||||
EFI_SMM_REGISTER_EXCEPTION_HANDLER RegisterExceptionHandler;
|
||||
};
|
||||
|
||||
extern EFI_GUID gEfiSmmCpuServiceProtocolGuid;
|
||||
extern EFI_GUID gEfiSmmCpuServiceProtocolGuid;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user