]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Guid/SystemResourceTable.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Guid / SystemResourceTable.h
index c330fd80a6934103afcba8cb6f04d6578b74a162..9b3a2fad824b34cbd8039a8ee9a0cb1bb32a455e 100644 (file)
@@ -10,7 +10,6 @@
 \r
 **/\r
 \r
-\r
 #ifndef _SYSTEM_RESOURCE_TABLE_H__\r
 #define _SYSTEM_RESOURCE_TABLE_H__\r
 \r
@@ -54,8 +53,8 @@
 /// When the UEFI Specification is updated, this comment block can be\r
 /// removed.\r
 ///\r
-#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MIN 0x00001000\r
-#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MAX 0x00003FFF\r
+#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MIN  0x00001000\r
+#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MAX  0x00003FFF\r
 \r
 typedef struct {\r
   ///\r
@@ -63,28 +62,28 @@ typedef struct {
   /// that can be updated via UpdateCapsule(). This GUID must be unique within all\r
   /// entries of the ESRT.\r
   ///\r
-  EFI_GUID                   FwClass;\r
+  EFI_GUID    FwClass;\r
   ///\r
   /// Identifies the type of firmware resource.\r
   ///\r
-  UINT32                     FwType;\r
+  UINT32      FwType;\r
   ///\r
   /// The firmware version field represents the current version of the firmware\r
   /// resource, value must always increase as a larger number represents a newer\r
   /// version.\r
   ///\r
-  UINT32                     FwVersion;\r
+  UINT32      FwVersion;\r
   ///\r
   /// The lowest firmware resource version to which a firmware resource can be\r
   /// rolled back for the given system/device. Generally this is used to protect\r
   /// against known and fixed security issues.\r
   ///\r
-  UINT32                     LowestSupportedFwVersion;\r
+  UINT32      LowestSupportedFwVersion;\r
   ///\r
   /// The capsule flags field contains the CapsuleGuid flags (bits 0- 15) as defined\r
   /// in the EFI_CAPSULE_HEADER that will be set in the capsule header.\r
   ///\r
-  UINT32                     CapsuleFlags;\r
+  UINT32      CapsuleFlags;\r
   ///\r
   /// The last attempt version field describes the last firmware version for which\r
   /// an update was attempted (uses the same format as Firmware Version).\r
@@ -95,7 +94,7 @@ typedef struct {
   /// in the case of a removable device, this value is set to 0 in cases where the\r
   /// device has not been updated since being added to the system.\r
   ///\r
-  UINT32                     LastAttemptVersion;\r
+  UINT32    LastAttemptVersion;\r
   ///\r
   /// The last attempt status field describes the result of the last firmware update\r
   /// attempt for the firmware resource entry.\r
@@ -104,30 +103,30 @@ typedef struct {
   /// If a firmware update has never been attempted or is unknown, for example after\r
   /// fresh insertion of a removable device, LastAttemptStatus must be set to Success.\r
   ///\r
-  UINT32                     LastAttemptStatus;\r
+  UINT32    LastAttemptStatus;\r
 } EFI_SYSTEM_RESOURCE_ENTRY;\r
 \r
 typedef struct {\r
   ///\r
   /// The number of firmware resources in the table, must not be zero.\r
   ///\r
-  UINT32                     FwResourceCount;\r
+  UINT32    FwResourceCount;\r
   ///\r
   /// The maximum number of resource array entries that can be within the table\r
   /// without reallocating the table, must not be zero.\r
   ///\r
-  UINT32                     FwResourceCountMax;\r
+  UINT32    FwResourceCountMax;\r
   ///\r
   /// The version of the EFI_SYSTEM_RESOURCE_ENTRY entities used in this table.\r
   /// This field should be set to 1.\r
   ///\r
-  UINT64                     FwResourceVersion;\r
+  UINT64    FwResourceVersion;\r
   ///\r
   /// Array of EFI_SYSTEM_RESOURCE_ENTRY\r
   ///\r
-  //EFI_SYSTEM_RESOURCE_ENTRY  Entries[];\r
+  // EFI_SYSTEM_RESOURCE_ENTRY  Entries[];\r
 } EFI_SYSTEM_RESOURCE_TABLE;\r
 \r
-extern EFI_GUID gEfiSystemResourceTableGuid;\r
+extern EFI_GUID  gEfiSystemResourceTableGuid;\r
 \r
 #endif\r