ACPICA: Add header file support for the ACPI 5 TPM2 ACPI table.
Reserved in ACPI 5.0 specification, but defined in a November 2011 Microsoft document. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
c41679a448
commit
99c93f55a5
1 changed files with 31 additions and 0 deletions
|
@ -68,6 +68,7 @@
|
||||||
#define ACPI_SIG_PCCT "PCCT" /* Platform Communications Channel Table */
|
#define ACPI_SIG_PCCT "PCCT" /* Platform Communications Channel Table */
|
||||||
#define ACPI_SIG_PMTT "PMTT" /* Platform Memory Topology Table */
|
#define ACPI_SIG_PMTT "PMTT" /* Platform Memory Topology Table */
|
||||||
#define ACPI_SIG_RASF "RASF" /* RAS Feature 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_S3PT "S3PT" /* S3 Performance (sub)Table */
|
||||||
#define ACPI_SIG_PCCS "PCC" /* PCC Shared Memory Region */
|
#define ACPI_SIG_PCCS "PCC" /* PCC Shared Memory Region */
|
||||||
|
@ -550,6 +551,36 @@ enum acpi_rasf_status {
|
||||||
#define ACPI_RASF_ERROR (1<<2)
|
#define ACPI_RASF_ERROR (1<<2)
|
||||||
#define ACPI_RASF_STATUS (0x1F<<3)
|
#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
|
||||||
|
*
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
struct acpi_table_tpm2 {
|
||||||
|
struct acpi_table_header header; /* Common ACPI table header */
|
||||||
|
u32 flags;
|
||||||
|
u64 control_address;
|
||||||
|
u32 start_method;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Control area structure (not part of table, pointed to by control_address) */
|
||||||
|
|
||||||
|
struct acpi_tpm2_control {
|
||||||
|
u32 reserved;
|
||||||
|
u32 error;
|
||||||
|
u32 cancel;
|
||||||
|
u32 start;
|
||||||
|
u64 interrupt_control;
|
||||||
|
u32 command_size;
|
||||||
|
u64 command_address;
|
||||||
|
u32 response_size;
|
||||||
|
u64 response_address;
|
||||||
|
};
|
||||||
|
|
||||||
/* Reset to default packing */
|
/* Reset to default packing */
|
||||||
|
|
||||||
#pragma pack()
|
#pragma pack()
|
||||||
|
|
Loading…
Reference in a new issue