MdePkg: Apply uncrustify changes

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the MdePkg 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: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Michael Kubacki
2021-12-05 14:54:05 -08:00
committed by mergify[bot]
parent 1436aea4d5
commit 2f88bd3a12
975 changed files with 55681 additions and 57790 deletions

View File

@@ -15,7 +15,7 @@
#include <Protocol/MmSwDispatch.h>
#include <Pi/PiSmmCis.h>
#define EFI_SMM_SW_DISPATCH2_PROTOCOL_GUID EFI_MM_SW_DISPATCH_PROTOCOL_GUID
#define EFI_SMM_SW_DISPATCH2_PROTOCOL_GUID EFI_MM_SW_DISPATCH_PROTOCOL_GUID
///
/// A particular chipset may not support all possible software SMI input values.
@@ -23,7 +23,7 @@
/// child registration for each SwSmiInputValue.
///
typedef struct {
UINTN SwSmiInputValue;
UINTN SwSmiInputValue;
} EFI_SMM_SW_REGISTER_CONTEXT;
///
@@ -36,18 +36,18 @@ typedef struct {
///
/// The 0-based index of the CPU which generated the software SMI.
///
UINTN SwSmiCpuIndex;
UINTN SwSmiCpuIndex;
///
/// This value corresponds directly to the CommandPort parameter used in the call to Trigger().
///
UINT8 CommandPort;
UINT8 CommandPort;
///
/// This value corresponds directly to the DataPort parameter used in the call to Trigger().
///
UINT8 DataPort;
UINT8 DataPort;
} EFI_SMM_SW_CONTEXT;
typedef struct _EFI_SMM_SW_DISPATCH2_PROTOCOL EFI_SMM_SW_DISPATCH2_PROTOCOL;
typedef struct _EFI_SMM_SW_DISPATCH2_PROTOCOL EFI_SMM_SW_DISPATCH2_PROTOCOL;
/**
Register a child SMI source dispatch function for the specified software SMI.
@@ -104,7 +104,7 @@ EFI_STATUS
(EFIAPI *EFI_SMM_SW_UNREGISTER2)(
IN CONST EFI_SMM_SW_DISPATCH2_PROTOCOL *This,
IN EFI_HANDLE DispatchHandle
);
);
///
/// Interface structure for the SMM Software SMI Dispatch Protocol.
@@ -114,15 +114,15 @@ EFI_STATUS
/// interrupt in the EFI_SMM_SW_REGISTER_CONTEXT is denoted by MaximumSwiValue.
///
struct _EFI_SMM_SW_DISPATCH2_PROTOCOL {
EFI_SMM_SW_REGISTER2 Register;
EFI_SMM_SW_UNREGISTER2 UnRegister;
EFI_SMM_SW_REGISTER2 Register;
EFI_SMM_SW_UNREGISTER2 UnRegister;
///
/// A read-only field that describes the maximum value that can be used in the
/// EFI_SMM_SW_DISPATCH2_PROTOCOL.Register() service.
///
UINTN MaximumSwiValue;
UINTN MaximumSwiValue;
};
extern EFI_GUID gEfiSmmSwDispatch2ProtocolGuid;
extern EFI_GUID gEfiSmmSwDispatch2ProtocolGuid;
#endif