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:
committed by
mergify[bot]
parent
1436aea4d5
commit
2f88bd3a12
@@ -13,18 +13,18 @@
|
||||
#include <Pi/PiMultiPhase.h>
|
||||
#include <Protocol/MmCpuIo.h>
|
||||
|
||||
typedef struct _EFI_MM_SYSTEM_TABLE EFI_MM_SYSTEM_TABLE;
|
||||
typedef struct _EFI_MM_SYSTEM_TABLE EFI_MM_SYSTEM_TABLE;
|
||||
|
||||
///
|
||||
/// The Management Mode System Table (MMST) signature
|
||||
///
|
||||
#define MM_MMST_SIGNATURE SIGNATURE_32 ('S', 'M', 'S', 'T')
|
||||
#define MM_MMST_SIGNATURE SIGNATURE_32 ('S', 'M', 'S', 'T')
|
||||
///
|
||||
/// The Management Mode System Table (MMST) revision is 1.6
|
||||
///
|
||||
#define MM_SPECIFICATION_MAJOR_REVISION 1
|
||||
#define MM_SPECIFICATION_MINOR_REVISION 60
|
||||
#define EFI_MM_SYSTEM_TABLE_REVISION ((MM_SPECIFICATION_MAJOR_REVISION<<16) | (MM_SPECIFICATION_MINOR_REVISION))
|
||||
#define EFI_MM_SYSTEM_TABLE_REVISION ((MM_SPECIFICATION_MAJOR_REVISION<<16) | (MM_SPECIFICATION_MINOR_REVISION))
|
||||
|
||||
/**
|
||||
Adds, updates, or removes a configuration table entry from the Management Mode System Table.
|
||||
@@ -206,29 +206,29 @@ EFI_STATUS
|
||||
/// Processor information and functionality needed by MM Foundation.
|
||||
///
|
||||
typedef struct _EFI_MM_ENTRY_CONTEXT {
|
||||
EFI_MM_STARTUP_THIS_AP MmStartupThisAp;
|
||||
EFI_MM_STARTUP_THIS_AP MmStartupThisAp;
|
||||
///
|
||||
/// A number between zero and the NumberOfCpus field. This field designates which
|
||||
/// processor is executing the MM Foundation.
|
||||
///
|
||||
UINTN CurrentlyExecutingCpu;
|
||||
UINTN CurrentlyExecutingCpu;
|
||||
///
|
||||
/// The number of possible processors in the platform. This is a 1 based
|
||||
/// counter. This does not indicate the number of processors that entered MM.
|
||||
///
|
||||
UINTN NumberOfCpus;
|
||||
UINTN NumberOfCpus;
|
||||
///
|
||||
/// Points to an array, where each element describes the number of bytes in the
|
||||
/// corresponding save state specified by CpuSaveState. There are always
|
||||
/// NumberOfCpus entries in the array.
|
||||
///
|
||||
UINTN *CpuSaveStateSize;
|
||||
UINTN *CpuSaveStateSize;
|
||||
///
|
||||
/// Points to an array, where each element is a pointer to a CPU save state. The
|
||||
/// corresponding element in CpuSaveStateSize specifies the number of bytes in the
|
||||
/// save state area. There are always NumberOfCpus entries in the array.
|
||||
///
|
||||
VOID **CpuSaveState;
|
||||
VOID **CpuSaveState;
|
||||
} EFI_MM_ENTRY_CONTEXT;
|
||||
|
||||
/**
|
||||
@@ -253,36 +253,36 @@ struct _EFI_MM_SYSTEM_TABLE {
|
||||
///
|
||||
/// The table header for the SMST.
|
||||
///
|
||||
EFI_TABLE_HEADER Hdr;
|
||||
EFI_TABLE_HEADER Hdr;
|
||||
///
|
||||
/// A pointer to a NULL-terminated Unicode string containing the vendor name.
|
||||
/// It is permissible for this pointer to be NULL.
|
||||
///
|
||||
CHAR16 *MmFirmwareVendor;
|
||||
CHAR16 *MmFirmwareVendor;
|
||||
///
|
||||
/// The particular revision of the firmware.
|
||||
///
|
||||
UINT32 MmFirmwareRevision;
|
||||
UINT32 MmFirmwareRevision;
|
||||
|
||||
EFI_MM_INSTALL_CONFIGURATION_TABLE MmInstallConfigurationTable;
|
||||
EFI_MM_INSTALL_CONFIGURATION_TABLE MmInstallConfigurationTable;
|
||||
|
||||
///
|
||||
/// I/O Service
|
||||
///
|
||||
EFI_MM_CPU_IO_PROTOCOL MmIo;
|
||||
EFI_MM_CPU_IO_PROTOCOL MmIo;
|
||||
|
||||
///
|
||||
/// Runtime memory services
|
||||
///
|
||||
EFI_ALLOCATE_POOL MmAllocatePool;
|
||||
EFI_FREE_POOL MmFreePool;
|
||||
EFI_ALLOCATE_PAGES MmAllocatePages;
|
||||
EFI_FREE_PAGES MmFreePages;
|
||||
EFI_ALLOCATE_POOL MmAllocatePool;
|
||||
EFI_FREE_POOL MmFreePool;
|
||||
EFI_ALLOCATE_PAGES MmAllocatePages;
|
||||
EFI_FREE_PAGES MmFreePages;
|
||||
|
||||
///
|
||||
/// MP service
|
||||
///
|
||||
EFI_MM_STARTUP_THIS_AP MmStartupThisAp;
|
||||
EFI_MM_STARTUP_THIS_AP MmStartupThisAp;
|
||||
|
||||
///
|
||||
/// CPU information records
|
||||
@@ -292,23 +292,23 @@ struct _EFI_MM_SYSTEM_TABLE {
|
||||
/// A number between zero and and the NumberOfCpus field. This field designates
|
||||
/// which processor is executing the MM infrastructure.
|
||||
///
|
||||
UINTN CurrentlyExecutingCpu;
|
||||
UINTN CurrentlyExecutingCpu;
|
||||
///
|
||||
/// The number of possible processors in the platform. This is a 1 based counter.
|
||||
///
|
||||
UINTN NumberOfCpus;
|
||||
UINTN NumberOfCpus;
|
||||
///
|
||||
/// Points to an array, where each element describes the number of bytes in the
|
||||
/// corresponding save state specified by CpuSaveState. There are always
|
||||
/// NumberOfCpus entries in the array.
|
||||
///
|
||||
UINTN *CpuSaveStateSize;
|
||||
UINTN *CpuSaveStateSize;
|
||||
///
|
||||
/// Points to an array, where each element is a pointer to a CPU save state. The
|
||||
/// corresponding element in CpuSaveStateSize specifies the number of bytes in the
|
||||
/// save state area. There are always NumberOfCpus entries in the array.
|
||||
///
|
||||
VOID **CpuSaveState;
|
||||
VOID **CpuSaveState;
|
||||
|
||||
///
|
||||
/// Extensibility table
|
||||
@@ -317,29 +317,29 @@ struct _EFI_MM_SYSTEM_TABLE {
|
||||
///
|
||||
/// The number of UEFI Configuration Tables in the buffer MmConfigurationTable.
|
||||
///
|
||||
UINTN NumberOfTableEntries;
|
||||
UINTN NumberOfTableEntries;
|
||||
///
|
||||
/// A pointer to the UEFI Configuration Tables. The number of entries in the table is
|
||||
/// NumberOfTableEntries.
|
||||
///
|
||||
EFI_CONFIGURATION_TABLE *MmConfigurationTable;
|
||||
EFI_CONFIGURATION_TABLE *MmConfigurationTable;
|
||||
|
||||
///
|
||||
/// Protocol services
|
||||
///
|
||||
EFI_INSTALL_PROTOCOL_INTERFACE MmInstallProtocolInterface;
|
||||
EFI_UNINSTALL_PROTOCOL_INTERFACE MmUninstallProtocolInterface;
|
||||
EFI_HANDLE_PROTOCOL MmHandleProtocol;
|
||||
EFI_MM_REGISTER_PROTOCOL_NOTIFY MmRegisterProtocolNotify;
|
||||
EFI_LOCATE_HANDLE MmLocateHandle;
|
||||
EFI_LOCATE_PROTOCOL MmLocateProtocol;
|
||||
EFI_INSTALL_PROTOCOL_INTERFACE MmInstallProtocolInterface;
|
||||
EFI_UNINSTALL_PROTOCOL_INTERFACE MmUninstallProtocolInterface;
|
||||
EFI_HANDLE_PROTOCOL MmHandleProtocol;
|
||||
EFI_MM_REGISTER_PROTOCOL_NOTIFY MmRegisterProtocolNotify;
|
||||
EFI_LOCATE_HANDLE MmLocateHandle;
|
||||
EFI_LOCATE_PROTOCOL MmLocateProtocol;
|
||||
|
||||
///
|
||||
/// MMI Management functions
|
||||
///
|
||||
EFI_MM_INTERRUPT_MANAGE MmiManage;
|
||||
EFI_MM_INTERRUPT_REGISTER MmiHandlerRegister;
|
||||
EFI_MM_INTERRUPT_UNREGISTER MmiHandlerUnRegister;
|
||||
EFI_MM_INTERRUPT_MANAGE MmiManage;
|
||||
EFI_MM_INTERRUPT_REGISTER MmiHandlerRegister;
|
||||
EFI_MM_INTERRUPT_UNREGISTER MmiHandlerUnRegister;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user