mirror of
https://github.com/acpica/acpica/
synced 2025-01-13 12:59:18 +03:00
Add header file support for the ACPI 5.0 TPM2 ACPI table.
Reserved in ACPI 5.0 specification, but defined in a November 2011 Microsoft document.
This commit is contained in:
parent
187747bca3
commit
b80f74f4d7
@ -142,6 +142,7 @@
|
||||
#define ACPI_SIG_PCCT "PCCT" /* Platform Communications Channel Table */
|
||||
#define ACPI_SIG_PMTT "PMTT" /* Platform Memory Topology Table */
|
||||
#define ACPI_SIG_RASF "RASF" /* RAS Feature table */
|
||||
#define ACPI_SIG_TPM2 "TPM2" /* Trusted Platform Module 2.0 H/W interface table */
|
||||
|
||||
#define ACPI_SIG_S3PT "S3PT" /* S3 Performance (sub)Table */
|
||||
#define ACPI_SIG_PCCS "PCC" /* PCC Shared Memory Region */
|
||||
@ -720,6 +721,41 @@ enum AcpiRasfStatus
|
||||
#define ACPI_RASF_STATUS (0x1F<<3)
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* TPM2 - Trusted Platform Module (TPM) 2.0 Hardware Interface Table
|
||||
* Version 3
|
||||
*
|
||||
* Conforms to "TPM 2.0 Hardware Interface Table (TPM2)" 29 November 2011
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
typedef struct acpi_table_tpm2
|
||||
{
|
||||
ACPI_TABLE_HEADER Header; /* Common ACPI table header */
|
||||
UINT32 Flags;
|
||||
UINT64 ControlAddress;
|
||||
UINT32 StartMethod;
|
||||
|
||||
} ACPI_TABLE_TPM2;
|
||||
|
||||
/* Control area structure (not part of table, pointed to by ControlAddress) */
|
||||
|
||||
typedef struct acpi_tpm2_control
|
||||
{
|
||||
UINT32 Reserved;
|
||||
UINT32 Error;
|
||||
UINT32 Cancel;
|
||||
UINT32 Start;
|
||||
UINT64 InterruptControl;
|
||||
UINT32 CommandSize;
|
||||
UINT64 CommandAddress;
|
||||
UINT32 ResponseSize;
|
||||
UINT64 ResponseAddress;
|
||||
|
||||
} ACPI_TPM2_CONTROL;
|
||||
|
||||
|
||||
/* Reset to default packing */
|
||||
|
||||
#pragma pack()
|
||||
|
Loading…
Reference in New Issue
Block a user