]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Pi/PiMultiPhase.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Pi / PiMultiPhase.h
index 89280d9d3506b51599281dc4911981dc8908b383..a7e95820ef65a62d5273e49529883a33a6b1fade 100644 (file)
@@ -44,26 +44,26 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 /// If this value is returned by an API, it means the capability is not yet\r
 /// installed/available/ready to use.\r
 ///\r
-#define EFI_NOT_AVAILABLE_YET     DXE_ERROR (2)\r
+#define EFI_NOT_AVAILABLE_YET  DXE_ERROR (2)\r
 \r
 ///\r
 /// Success and warning codes reserved for use by PI.\r
 /// Supported 32-bit range is 0x20000000-0x3fffffff.\r
 /// Supported 64-bit range is 0x2000000000000000-0x3fffffffffffffff.\r
 ///\r
-#define PI_ENCODE_WARNING(a)                ((MAX_BIT >> 2) | (a))\r
+#define PI_ENCODE_WARNING(a)  ((MAX_BIT >> 2) | (a))\r
 \r
 ///\r
 /// Error codes reserved for use by PI.\r
 /// Supported 32-bit range is 0xa0000000-0xbfffffff.\r
 /// Supported 64-bit range is 0xa000000000000000-0xbfffffffffffffff.\r
 ///\r
-#define PI_ENCODE_ERROR(a)                  (MAX_BIT | (MAX_BIT >> 2) | (a))\r
+#define PI_ENCODE_ERROR(a)  (MAX_BIT | (MAX_BIT >> 2) | (a))\r
 \r
 ///\r
 /// Return status codes defined in SMM CIS.\r
 ///\r
-#define EFI_INTERRUPT_PENDING               PI_ENCODE_ERROR (0)\r
+#define EFI_INTERRUPT_PENDING  PI_ENCODE_ERROR (0)\r
 \r
 #define EFI_WARN_INTERRUPT_SOURCE_PENDING   PI_ENCODE_WARNING (0)\r
 #define EFI_WARN_INTERRUPT_SOURCE_QUIESCED  PI_ENCODE_WARNING (1)\r
@@ -81,27 +81,27 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 /// 1010 Image was signed, the signature was tested, and the signature failed the authentication test.\r
 ///\r
 ///@{\r
-#define EFI_AUTH_STATUS_PLATFORM_OVERRIDE   0x01\r
-#define EFI_AUTH_STATUS_IMAGE_SIGNED        0x02\r
-#define EFI_AUTH_STATUS_NOT_TESTED          0x04\r
-#define EFI_AUTH_STATUS_TEST_FAILED         0x08\r
-#define EFI_AUTH_STATUS_ALL                 0x0f\r
+#define EFI_AUTH_STATUS_PLATFORM_OVERRIDE  0x01\r
+#define EFI_AUTH_STATUS_IMAGE_SIGNED       0x02\r
+#define EFI_AUTH_STATUS_NOT_TESTED         0x04\r
+#define EFI_AUTH_STATUS_TEST_FAILED        0x08\r
+#define EFI_AUTH_STATUS_ALL                0x0f\r
 ///@}\r
 \r
 ///\r
 /// MMRAM states and capabilities\r
 ///\r
-#define EFI_MMRAM_OPEN                  0x00000001\r
-#define EFI_MMRAM_CLOSED                0x00000002\r
-#define EFI_MMRAM_LOCKED                0x00000004\r
-#define EFI_CACHEABLE                   0x00000008\r
-#define EFI_ALLOCATED                   0x00000010\r
-#define EFI_NEEDS_TESTING               0x00000020\r
-#define EFI_NEEDS_ECC_INITIALIZATION    0x00000040\r
+#define EFI_MMRAM_OPEN                0x00000001\r
+#define EFI_MMRAM_CLOSED              0x00000002\r
+#define EFI_MMRAM_LOCKED              0x00000004\r
+#define EFI_CACHEABLE                 0x00000008\r
+#define EFI_ALLOCATED                 0x00000010\r
+#define EFI_NEEDS_TESTING             0x00000020\r
+#define EFI_NEEDS_ECC_INITIALIZATION  0x00000040\r
 \r
-#define EFI_SMRAM_OPEN                  EFI_MMRAM_OPEN\r
-#define EFI_SMRAM_CLOSED                EFI_MMRAM_CLOSED\r
-#define EFI_SMRAM_LOCKED                EFI_MMRAM_LOCKED\r
+#define EFI_SMRAM_OPEN    EFI_MMRAM_OPEN\r
+#define EFI_SMRAM_CLOSED  EFI_MMRAM_CLOSED\r
+#define EFI_SMRAM_LOCKED  EFI_MMRAM_LOCKED\r
 \r
 ///\r
 /// Structure describing a MMRAM region and its accessibility attributes.\r
@@ -112,26 +112,26 @@ typedef struct {
   /// the same as seen by I/O-based agents, for example, but it may not be the address seen\r
   /// by the processors.\r
   ///\r
-  EFI_PHYSICAL_ADDRESS  PhysicalStart;\r
+  EFI_PHYSICAL_ADDRESS    PhysicalStart;\r
   ///\r
   /// Designates the address of the MMRAM, as seen by software executing on the\r
   /// processors. This address may or may not match PhysicalStart.\r
   ///\r
-  EFI_PHYSICAL_ADDRESS  CpuStart;\r
+  EFI_PHYSICAL_ADDRESS    CpuStart;\r
   ///\r
   /// Describes the number of bytes in the MMRAM region.\r
   ///\r
-  UINT64                PhysicalSize;\r
+  UINT64                  PhysicalSize;\r
   ///\r
   /// Describes the accessibility attributes of the MMRAM.  These attributes include the\r
   /// hardware state (e.g., Open/Closed/Locked), capability (e.g., cacheable), logical\r
   /// allocation (e.g., allocated), and pre-use initialization (e.g., needs testing/ECC\r
   /// initialization).\r
   ///\r
-  UINT64                RegionState;\r
+  UINT64                  RegionState;\r
 } EFI_MMRAM_DESCRIPTOR;\r
 \r
-typedef EFI_MMRAM_DESCRIPTOR  EFI_SMRAM_DESCRIPTOR;\r
+typedef EFI_MMRAM_DESCRIPTOR EFI_SMRAM_DESCRIPTOR;\r
 \r
 ///\r
 /// Structure describing a MMRAM region which cannot be used for the MMRAM heap.\r
@@ -163,19 +163,19 @@ typedef struct {
   /// The returned information associated with the requested TokenNumber. If\r
   /// TokenNumber is 0, then PcdType is set to EFI_PCD_TYPE_8.\r
   ///\r
-  EFI_PCD_TYPE      PcdType;\r
+  EFI_PCD_TYPE    PcdType;\r
   ///\r
   /// The size of the data in bytes associated with the TokenNumber specified. If\r
   /// TokenNumber is 0, then PcdSize is set 0.\r
   ///\r
-  UINTN             PcdSize;\r
+  UINTN           PcdSize;\r
   ///\r
   /// The null-terminated ASCII string associated with a given token. If the\r
   /// TokenNumber specified was 0, then this field corresponds to the null-terminated\r
   /// ASCII string associated with the token's namespace Guid. If NULL, there is no\r
   /// name associated with this request.\r
   ///\r
-  CHAR8             *PcdName;\r
+  CHAR8           *PcdName;\r
 } EFI_PCD_INFO;\r
 \r
 /**\r
@@ -206,6 +206,6 @@ typedef
 EFI_STATUS\r
 (EFIAPI *EFI_AP_PROCEDURE2)(\r
   IN VOID  *ProcedureArgument\r
-);\r
+  );\r
 \r
 #endif\r