From patchwork Wed Aug 25 16:33:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/3] seabios: Add DSDT entry for an emulated TPM 1.2 device Date: Wed, 25 Aug 2010 06:33:02 -0000 From: Andreas Niederl X-Patchwork-Id: 62722 Message-Id: <1282753982-1761-3-git-send-email-andreas.niederl@iaik.tugraz.at> To: qemu-devel@nongnu.org Cc: Andreas Niederl Signed-off-by: Andreas Niederl --- src/acpi-dsdt.dsl | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl index cc31112..38ccde9 100644 --- a/src/acpi-dsdt.dsl +++ b/src/acpi-dsdt.dsl @@ -428,6 +428,28 @@ DefinitionBlock ( DRSJ, 32 } } + + /* Pass-through TPM device with emulated TPM TIS interface */ + Device (TPM) { + Name (_HID, EisaID ("ATM1200")) + Name (_STR, Unicode ("Emulated TPM TIS pass-through device")) + Name (BUF1, ResourceTemplate () + { + Memory32Fixed (ReadOnly, + 0xFED40000, // Address Base + 0x00005000, // Address Length + ) + }) + Method (_CRS, 0, Serialized) + { + Return (BUF1) + } + Method (_STA, 0) + { + Return (0x0F) + } + } + } /* PCI IRQs */