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
@@ -18,12 +18,12 @@
|
||||
typedef UINT32 EFI_ACPI_TABLE_VERSION;
|
||||
typedef VOID *EFI_ACPI_HANDLE;
|
||||
|
||||
#define EFI_ACPI_TABLE_VERSION_NONE (1 << 0)
|
||||
#define EFI_ACPI_TABLE_VERSION_1_0B (1 << 1)
|
||||
#define EFI_ACPI_TABLE_VERSION_2_0 (1 << 2)
|
||||
#define EFI_ACPI_TABLE_VERSION_3_0 (1 << 3)
|
||||
#define EFI_ACPI_TABLE_VERSION_4_0 (1 << 4)
|
||||
#define EFI_ACPI_TABLE_VERSION_5_0 (1 << 5)
|
||||
#define EFI_ACPI_TABLE_VERSION_NONE (1 << 0)
|
||||
#define EFI_ACPI_TABLE_VERSION_1_0B (1 << 1)
|
||||
#define EFI_ACPI_TABLE_VERSION_2_0 (1 << 2)
|
||||
#define EFI_ACPI_TABLE_VERSION_3_0 (1 << 3)
|
||||
#define EFI_ACPI_TABLE_VERSION_4_0 (1 << 4)
|
||||
#define EFI_ACPI_TABLE_VERSION_5_0 (1 << 5)
|
||||
|
||||
typedef UINT32 EFI_ACPI_DATA_TYPE;
|
||||
#define EFI_ACPI_DATA_TYPE_NONE 0
|
||||
@@ -52,7 +52,7 @@ EFI_STATUS
|
||||
IN EFI_ACPI_SDT_HEADER *Table, ///< A pointer to the ACPI table header.
|
||||
IN EFI_ACPI_TABLE_VERSION Version, ///< The ACPI table's version.
|
||||
IN UINTN TableKey ///< The table key for this ACPI table.
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
Returns a requested ACPI table.
|
||||
@@ -87,7 +87,7 @@ EFI_STATUS
|
||||
OUT EFI_ACPI_SDT_HEADER **Table,
|
||||
OUT EFI_ACPI_TABLE_VERSION *Version,
|
||||
OUT UINTN *TableKey
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
Register or unregister a callback when an ACPI table is installed.
|
||||
@@ -108,7 +108,7 @@ EFI_STATUS
|
||||
(EFIAPI *EFI_ACPI_REGISTER_NOTIFY)(
|
||||
IN BOOLEAN Register,
|
||||
IN EFI_ACPI_NOTIFICATION_FN Notification
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
Create a handle from an ACPI opcode
|
||||
@@ -126,7 +126,7 @@ EFI_STATUS
|
||||
(EFIAPI *EFI_ACPI_OPEN)(
|
||||
IN VOID *Buffer,
|
||||
OUT EFI_ACPI_HANDLE *Handle
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
Create a handle for the first ACPI opcode in an ACPI system description table.
|
||||
@@ -142,7 +142,7 @@ EFI_STATUS
|
||||
(EFIAPI *EFI_ACPI_OPEN_SDT)(
|
||||
IN UINTN TableKey,
|
||||
OUT EFI_ACPI_HANDLE *Handle
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
Close an ACPI handle.
|
||||
@@ -156,7 +156,7 @@ typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_ACPI_CLOSE)(
|
||||
IN EFI_ACPI_HANDLE Handle
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
Return the child ACPI objects.
|
||||
@@ -174,7 +174,7 @@ EFI_STATUS
|
||||
(EFIAPI *EFI_ACPI_GET_CHILD)(
|
||||
IN EFI_ACPI_HANDLE ParentHandle,
|
||||
IN OUT EFI_ACPI_HANDLE *Handle
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
Retrieve information about an ACPI object.
|
||||
@@ -197,7 +197,7 @@ EFI_STATUS
|
||||
OUT EFI_ACPI_DATA_TYPE *DataType,
|
||||
OUT CONST VOID **Data,
|
||||
OUT UINTN *DataSize
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
Change information about an ACPI object.
|
||||
@@ -221,7 +221,7 @@ EFI_STATUS
|
||||
IN UINTN Index,
|
||||
IN CONST VOID *Data,
|
||||
IN UINTN DataSize
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
Returns the handle of the ACPI object representing the specified ACPI path
|
||||
@@ -240,24 +240,24 @@ EFI_STATUS
|
||||
IN EFI_ACPI_HANDLE HandleIn,
|
||||
IN VOID *AcpiPath,
|
||||
OUT EFI_ACPI_HANDLE *HandleOut
|
||||
);
|
||||
);
|
||||
|
||||
typedef struct _EFI_ACPI_SDT_PROTOCOL {
|
||||
///
|
||||
/// A bit map containing all the ACPI versions supported by this protocol.
|
||||
///
|
||||
EFI_ACPI_TABLE_VERSION AcpiVersion;
|
||||
EFI_ACPI_GET_ACPI_TABLE2 GetAcpiTable;
|
||||
EFI_ACPI_REGISTER_NOTIFY RegisterNotify;
|
||||
EFI_ACPI_OPEN Open;
|
||||
EFI_ACPI_OPEN_SDT OpenSdt;
|
||||
EFI_ACPI_CLOSE Close;
|
||||
EFI_ACPI_GET_CHILD GetChild;
|
||||
EFI_ACPI_GET_OPTION GetOption;
|
||||
EFI_ACPI_SET_OPTION SetOption;
|
||||
EFI_ACPI_FIND_PATH FindPath;
|
||||
EFI_ACPI_TABLE_VERSION AcpiVersion;
|
||||
EFI_ACPI_GET_ACPI_TABLE2 GetAcpiTable;
|
||||
EFI_ACPI_REGISTER_NOTIFY RegisterNotify;
|
||||
EFI_ACPI_OPEN Open;
|
||||
EFI_ACPI_OPEN_SDT OpenSdt;
|
||||
EFI_ACPI_CLOSE Close;
|
||||
EFI_ACPI_GET_CHILD GetChild;
|
||||
EFI_ACPI_GET_OPTION GetOption;
|
||||
EFI_ACPI_SET_OPTION SetOption;
|
||||
EFI_ACPI_FIND_PATH FindPath;
|
||||
} EFI_ACPI_SDT_PROTOCOL;
|
||||
|
||||
extern EFI_GUID gEfiAcpiSdtProtocolGuid;
|
||||
extern EFI_GUID gEfiAcpiSdtProtocolGuid;
|
||||
|
||||
#endif // __ACPI_SYSTEM_DESCRIPTION_TABLE_H___
|
||||
|
Reference in New Issue
Block a user