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