The TPM definition block in ACPI table for physical presence \r
and MemoryClear.\r
\r
-Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
\r
//\r
// Operational region for TPM support, TPM Physical Presence and TPM Memory Clear\r
- // Region Offset to be fixed at runtime\r
+ // Region Offset 0xFFFF0000 and Length 0xF0 will be fixed in C code.\r
//\r
- OperationRegion (TNVS, SystemMemory, 0xFFFF0000, 0x1E)\r
+ OperationRegion (TNVS, SystemMemory, 0xFFFF0000, 0xF0)\r
Field (TNVS, AnyAcc, NoLock, Preserve)\r
{\r
PPIN, 8, // Software SMI for Physical Presence Interface\r
FRET, 32, // Physical Presence function return code\r
MCIN, 8, // Software SMI for Memory Clear Interface\r
MCIP, 32, // Used for save the Mor paramter\r
- MORD, 32 // Memory Overwrite Request Data\r
+ MORD, 32, // Memory Overwrite Request Data\r
+ MRET, 32 // Memory Overwrite function return code\r
}\r
\r
Method (PTS, 1, Serialized)\r
//\r
// TCG Hardware Information\r
//\r
- Method (HINF, 3, Serialized, 0, {BuffObj, PkgObj}, {IntObj, IntObj, PkgObj})\r
+ Method (HINF, 3, Serialized, 0, {BuffObj, PkgObj}, {UnknownObj, UnknownObj, UnknownObj}) // IntObj, IntObj, PkgObj\r
{\r
//\r
// Switch by function index\r
//\r
// Return failure if no TPM present\r
//\r
- Name(TPMV, Package () {0x01, Package () {ToBCD (1), ToBCD (20)}})\r
+ Name(TPMV, Package () {0x01, Package () {0x1, 0x20}})\r
if (LEqual (_STA (), 0x00))\r
{\r
Return (Package () {0x00})\r
//\r
// TCG Physical Presence Interface\r
//\r
- Method (TPPI, 3, Serialized, 0, {BuffObj, PkgObj, IntObj, StrObj}, {IntObj, IntObj, PkgObj})\r
+ Method (TPPI, 3, Serialized, 0, {BuffObj, PkgObj, IntObj, StrObj}, {UnknownObj, UnknownObj, UnknownObj}) // IntObj, IntObj, PkgObj\r
{ \r
//\r
// Switch by function index\r
Return (1)\r
}\r
\r
- Method (TMCI, 3, Serialized, 0, IntObj, {IntObj, IntObj, PkgObj})\r
+ Method (TMCI, 3, Serialized, 0, IntObj, {UnknownObj, UnknownObj, UnknownObj}) // IntObj, IntObj, PkgObj\r
{\r
//\r
// Switch by function index\r
// Triggle the SMI interrupt\r
//\r
Store (MCIN, IOB2)\r
- Return (0)\r
+ Return (MRET)\r
}\r
Default {BreakPoint}\r
}\r