Professional Documents
Culture Documents
August 9, 2013
Abstract
August 9, 2013
2013 Microsoft. All rights reserved.
Document History
Date
Change
November 29,
2011
August 9, 2013
First publication
Second publication
Contents
Introduction........................................................................................ 3
TPM 2.0 Hardware Interface Table header..........................................3
TPM 2.0 Hardware Interface Table body..............................................4
Control Area........................................................................................ 5
Further information............................................................................. 5
Resources........................................................................................... 5
August 9, 2013
2013 Microsoft. All rights reserved.
Introduction
To determine which TPM 2.0 hardware interface a system supports,
the Windows operating system will use the TPM 2.0 Hardware
Interface Table (TPM2 table). (The term TPM 2.0 is used in this
document to refer to the next version of the Trusted Computing
Group TPM specification, which is also known as TPM.next.) The
TPM2 table consists of a standard ACPI header followed by a set of
reserved flags, a control area address, an enumerated start method,
and a variable-length set of platform-specific parameters. The
Control Area has status fields to enable communication between a
device driver and the TPM 2.0 device, and contains the location of
buffers used to write and read responses to or from the device. In
Figure 1, the TPM2 table is the only ACPI table, but additional
structures that it references are shown too.
Figure 1. TPM 2.0 Hardware Interface Table structure
Control Area
Structure
TPM2
ACPI Table Header
Flags
Start Method
Reserved
Error
Command Area
Cancel
Command
Buffer
Start
Interrupt
Control
Command Size
Command
Platform Specific Parameters Address
Response Size
Response
Address
Response Area
Response
Buffer
August 9, 2013
2013 Microsoft. All rights reserved.
Byt
e
len
gth
Byte
offse
t
ACPI Header
Signature
Length
4
4
0
4
Revision
Checksum
1
1
8
9
OEMID
10
OEM Table
16
OEM
Revision
Creator ID
24
28
Creator
Revision
32
ID
Value
Comment
TPM2
52 + <size of
platformspecific
parameters>
03
<checksum>
<firmwarespecific>
<firmwarespecific>
<firmwarespecific>
<firmwarespecific>
<firmwarespecific>
36 bytes total.
Signature for the table.
Length, in bytes, of the
entire table.
Revision.
Entire table must sum
to zero.
OEM ID.
The table ID is the
manufacturer model
ID.
OEM revision for the
supplied OEM Table ID.
Vendor ID of utility that
created the table.
Revision of utility that
created the table.
TPM2 Table
Byte
lengt
h
Byt
e
offs
et
Description
August 9, 2013
2013 Microsoft. All rights reserved.
Flags
Address of
Control Area
Start Method
PlatformSpecific
Parameters
4
8
0
4
12
Varia
ble
16
bytes total
Reserved. Must always be zero.
Physical address of the Control Area. The
Control Area contains status registers and
the location of memory buffers for
communicating with the device. The area
may be in either TPM 2.0 device memory or
in memory reserved by the system during
boot. Interfaces that do not require the
Control Area Structure set this value to zero.
The start method selector determines which
mechanism the device driver uses to notify
the TPM 2.0 device that a command is
available for processing. This field may
contain one of the following values:
Value Description
0
Reserved (not used)
1
Reserved (vendor-specific)
2
Uses an ACPI Start method
3
Reserved (vendor-specific)
4
Reserved (vendor-specific)
5
Reserved (vendor-specific)
6
Reserved (vendor-specific)
7
Uses the Command Response
Buffer Interface
8
Uses the Command Response
Buffer Interface with
ACPI start method
Control Area
The Control Area structure is not part of the TPM 2.0 Hardware
Interface Table and the structure does not exist for all interface
types. The Control Area structure contains status fields as well as
other control bits/fields and two addresses. The Control Area
contains the physical address of the command buffer and the
physical address of the response buffer. Generally, software will
TPM 2.0 Hardware Interface Table (TPM2) - 6
August 9, 2013
2013 Microsoft. All rights reserved.
Byte
lengt
h
Byt
e
offs
et
Description
Control Area
Status Fields
Reserved
Error
48 bytes total
4
4
0
4
Cancel
Start
12
Interrupt
Control
Command Size
Command
Address
Response Size
Response
Address
16
4
8
24
28
4
8
36
40
Further information
For more information regarding a specific interface, please contact
Microsoft.
Resources
ACPI Specification
www.acpi.info
TPM Specifications
http://www.trustedcomputinggroup.org/
August 9, 2013
2013 Microsoft. All rights reserved.