Merge remote-tracking branch 'remotes/famz/tags/docker-pull-request' into staging
[qemu/ar7.git] / include / hw / acpi / tpm.h
blob6d516c6a7ff1cfcad334ab085fed0ec70e55e98f
1 /*
2 * tpm.h - TPM ACPI definitions
4 * Copyright (C) 2014 IBM Corporation
6 * Authors:
7 * Stefan Berger <stefanb@us.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
12 * Implementation of the TIS interface according to specs found at
13 * http://www.trustedcomputinggroup.org
16 #ifndef HW_ACPI_TPM_H
17 #define HW_ACPI_TPM_H
19 #define TPM_TIS_ADDR_BASE 0xFED40000
20 #define TPM_TIS_ADDR_SIZE 0x5000
22 #define TPM_TIS_IRQ 5
24 #define TPM_LOG_AREA_MINIMUM_SIZE (64 * 1024)
26 #define TPM_TCPA_ACPI_CLASS_CLIENT 0
27 #define TPM_TCPA_ACPI_CLASS_SERVER 1
29 #define TPM2_ACPI_CLASS_CLIENT 0
30 #define TPM2_ACPI_CLASS_SERVER 1
32 #define TPM2_START_METHOD_MMIO 6
34 #endif /* HW_ACPI_TPM_H */