diff options
Diffstat (limited to 'MdePkg/Include/Protocol/AcpiSystemDescriptionTable.h')
-rw-r--r-- | MdePkg/Include/Protocol/AcpiSystemDescriptionTable.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/MdePkg/Include/Protocol/AcpiSystemDescriptionTable.h b/MdePkg/Include/Protocol/AcpiSystemDescriptionTable.h index a8e0b24c6c..9e134200da 100644 --- a/MdePkg/Include/Protocol/AcpiSystemDescriptionTable.h +++ b/MdePkg/Include/Protocol/AcpiSystemDescriptionTable.h @@ -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___
|