]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ppi/SecPlatformInformation.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Ppi / SecPlatformInformation.h
index b7f8ac0a4b0fe78bddc7bf35ce73e888329e8d87..02b0711f189e0b9563d50d9143516a2df83a3965 100644 (file)
@@ -26,7 +26,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 \r
 typedef struct _EFI_SEC_PLATFORM_INFORMATION_PPI EFI_SEC_PLATFORM_INFORMATION_PPI;\r
 \r
-\r
 ///\r
 /// EFI_HEALTH_FLAGS\r
 /// Contains information generated by microcode, hardware, and/or the Itanium\r
@@ -37,32 +36,32 @@ typedef union {
     ///\r
     /// A 2-bit field indicating self-test state after reset.\r
     ///\r
-    UINT32   Status                   : 2;\r
+    UINT32    Status                   : 2;\r
     ///\r
     /// A 1-bit field indicating whether testing has occurred.\r
     /// If this field is zero, the processor has not been tested,\r
     /// and no further fields in the self-test State parameter are valid.\r
     ///\r
-    UINT32   Tested                   : 1;\r
+    UINT32    Tested                   : 1;\r
     ///\r
     /// Reserved 13 bits.\r
     ///\r
-    UINT32   Reserved1                :13;\r
+    UINT32    Reserved1                : 13;\r
     ///\r
     /// A 1-bit field. If set to 1, this indicates that virtual\r
     /// memory features are not available.\r
     ///\r
-    UINT32   VirtualMemoryUnavailable : 1;\r
+    UINT32    VirtualMemoryUnavailable : 1;\r
     ///\r
     /// A 1-bit field. If set to 1, this indicates that IA-32 execution\r
     /// is not available.\r
     ///\r
-    UINT32   Ia32ExecutionUnavailable : 1;\r
+    UINT32    Ia32ExecutionUnavailable : 1;\r
     ///\r
     /// A 1-bit field. If set to 1, this indicates that the floating\r
     /// point unit is not available.\r
     ///\r
-    UINT32   FloatingPointUnavailable : 1;\r
+    UINT32    FloatingPointUnavailable : 1;\r
     ///\r
     /// A 1-bit field. If set to 1, this indicates miscellaneous\r
     /// functional failure other than vm, ia, or fp.\r
@@ -71,17 +70,17 @@ typedef union {
     /// performance restricted or functionally restricted.\r
     /// The value returned is implementation dependent.\r
     ///\r
-    UINT32   MiscFeaturesUnavailable  : 1;\r
+    UINT32    MiscFeaturesUnavailable : 1;\r
     ///\r
     /// Reserved 12 bits.\r
     ///\r
-    UINT32   Reserved2                :12;\r
+    UINT32    Reserved2               : 12;\r
   } Bits;\r
-  UINT32     Uint32;\r
+  UINT32    Uint32;\r
 } EFI_HEALTH_FLAGS;\r
 \r
-#define NORMAL_BOOT_CALL    0x0\r
-#define RECOVERY_CHECK_CALL 0x3\r
+#define NORMAL_BOOT_CALL     0x0\r
+#define RECOVERY_CHECK_CALL  0x3\r
 \r
 typedef EFI_HEALTH_FLAGS X64_HANDOFF_STATUS;\r
 typedef EFI_HEALTH_FLAGS IA32_HANDOFF_STATUS;\r
@@ -93,49 +92,49 @@ typedef struct {
   /// SALE_ENTRY state : 3 = Recovery_Check\r
   /// and 0 = RESET or Normal_Boot phase.\r
   ///\r
-  UINT8 BootPhase;\r
+  UINT8     BootPhase;\r
   ///\r
   /// Firmware status on entry to SALE.\r
   ///\r
-  UINT8 FWStatus;\r
-  UINT16 Reserved1;\r
-  UINT32 Reserved2;\r
+  UINT8     FWStatus;\r
+  UINT16    Reserved1;\r
+  UINT32    Reserved2;\r
   ///\r
   /// Geographically significant unique processor ID assigned by PAL.\r
   ///\r
-  UINT16 ProcId;\r
-  UINT16 Reserved3;\r
-  UINT8  IdMask;\r
-  UINT8  EidMask;\r
-  UINT16 Reserved4;\r
+  UINT16    ProcId;\r
+  UINT16    Reserved3;\r
+  UINT8     IdMask;\r
+  UINT8     EidMask;\r
+  UINT16    Reserved4;\r
   ///\r
   /// Address to make PAL calls.\r
   ///\r
-  UINT64 PalCallAddress;\r
+  UINT64    PalCallAddress;\r
   ///\r
   /// If the entry state is RECOVERY_CHECK, this contains the PAL_RESET\r
   /// return address, and if entry state is RESET, this contains\r
   /// address for PAL_authentication call.\r
   ///\r
-  UINT64 PalSpecialAddress;\r
+  UINT64    PalSpecialAddress;\r
   ///\r
   /// GR35 from PALE_EXIT state.\r
   ///\r
-  UINT64 SelfTestStatus;\r
+  UINT64    SelfTestStatus;\r
   ///\r
   /// GR37 from PALE_EXIT state.\r
   ///\r
-  UINT64 SelfTestControl;\r
-  UINT64 MemoryBufferRequired;\r
+  UINT64    SelfTestControl;\r
+  UINT64    MemoryBufferRequired;\r
 } ITANIUM_HANDOFF_STATUS;\r
 \r
 ///\r
 /// EFI_SEC_PLATFORM_INFORMATION_RECORD.\r
 ///\r
 typedef union {\r
-  IA32_HANDOFF_STATUS    IA32HealthFlags;\r
-  X64_HANDOFF_STATUS     x64HealthFlags;\r
-  ITANIUM_HANDOFF_STATUS ItaniumHealthFlags;\r
+  IA32_HANDOFF_STATUS       IA32HealthFlags;\r
+  X64_HANDOFF_STATUS        x64HealthFlags;\r
+  ITANIUM_HANDOFF_STATUS    ItaniumHealthFlags;\r
 } EFI_SEC_PLATFORM_INFORMATION_RECORD;\r
 \r
 /**\r
@@ -164,8 +163,7 @@ EFI_STATUS
   IN CONST  EFI_PEI_SERVICES                    **PeiServices,\r
   IN OUT    UINT64                              *StructureSize,\r
   OUT       EFI_SEC_PLATFORM_INFORMATION_RECORD *PlatformInformationRecord\r
-);\r
-\r
+  );\r
 \r
 ///\r
 /// This service abstracts platform-specific information. It is necessary\r
@@ -173,10 +171,9 @@ EFI_STATUS
 /// discover where to begin dispatching PEIMs.\r
 ///\r
 struct _EFI_SEC_PLATFORM_INFORMATION_PPI {\r
-  EFI_SEC_PLATFORM_INFORMATION  PlatformInformation;\r
+  EFI_SEC_PLATFORM_INFORMATION    PlatformInformation;\r
 };\r
 \r
-\r
-extern EFI_GUID gEfiSecPlatformInformationPpiGuid;\r
+extern EFI_GUID  gEfiSecPlatformInformationPpiGuid;\r
 \r
 #endif\r