MdePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdePkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
1436aea4d5
commit
2f88bd3a12
@@ -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
|
||||
|
Reference in New Issue
Block a user