Skip to content

Commit

Permalink
Update TPM2 ACPI table.
Browse files Browse the repository at this point in the history
- Add constans for the StartMethod.
- Remove the control structure, not part of ACPI, not defined in the current
TCG spec.
  • Loading branch information
acpibob committed Jun 15, 2015
1 parent 17589d4 commit 254bf77
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions source/include/actbl2.h
Original file line number Diff line number Diff line change
Expand Up @@ -1519,21 +1519,13 @@ typedef struct acpi_table_tpm2

} ACPI_TABLE_TPM2;

/* Control area structure (not part of table, pointed to by ControlAddress) */
/* Values for StartMethod above */

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;
#define ACPI_TPM2_NOT_ALLOWED 0
#define ACPI_TPM2_START_METHOD 2
#define ACPI_TPM2_MEMORY_MAPPED 6
#define ACPI_TPM2_COMMAND_BUFFER 7
#define ACPI_TPM2_COMMAND_BUFFER_WITH_START_METHOD 8


/*******************************************************************************
Expand Down

0 comments on commit 254bf77

Please sign in to comment.