qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Niederl <andreas.niederl@iaik.tugraz.at>
To: qemu-devel@nongnu.org
Cc: Andreas Niederl <andreas.niederl@iaik.tugraz.at>
Subject: [Qemu-devel] [PATCH 3/3] seabios: Add DSDT entry for an emulated TPM 1.2 device
Date: Wed, 25 Aug 2010 18:33:02 +0200	[thread overview]
Message-ID: <1282753982-1761-3-git-send-email-andreas.niederl@iaik.tugraz.at> (raw)
In-Reply-To: <1282753982-1761-1-git-send-email-andreas.niederl@iaik.tugraz.at>

Signed-off-by: Andreas Niederl <andreas.niederl@iaik.tugraz.at>
---
 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 */
-- 
1.7.2.2

  parent reply	other threads:[~2010-08-25 16:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-25 16:33 [Qemu-devel] [PATCH 1/3] Add TPM 1.2 host device passthrough interface Andreas Niederl
2010-08-25 16:33 ` [Qemu-devel] [PATCH 2/3] Add command line options for TPM interface Andreas Niederl
2010-08-25 19:15   ` Blue Swirl
2010-08-25 16:33 ` Andreas Niederl [this message]
2010-08-25 16:46 ` [Qemu-devel] [PATCH 1/3] Add TPM 1.2 host device passthrough interface Anthony Liguori
2010-08-25 19:46 ` Blue Swirl
2010-08-25 20:46   ` malc
2010-08-26 17:22     ` Blue Swirl
2010-08-26 21:44       ` malc
2010-08-26 21:57         ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1282753982-1761-3-git-send-email-andreas.niederl@iaik.tugraz.at \
    --to=andreas.niederl@iaik.tugraz.at \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).