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