summaryrefslogtreecommitdiffstats
path: root/SecurityPkg
diff options
context:
space:
mode:
authorgdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524>2011-10-12 03:48:06 +0000
committergdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524>2011-10-12 03:48:06 +0000
commit87200170b3b4c1886b77271e8ec422624eb1aca6 (patch)
treea6da0e60534bd5d876248b6d28428a598cb0207e /SecurityPkg
parent6f0b864812b3313b79e7beade487f0ca8ca5f28d (diff)
downloadedk2-87200170b3b4c1886b77271e8ec422624eb1aca6.tar.gz
edk2-87200170b3b4c1886b77271e8ec422624eb1aca6.tar.bz2
edk2-87200170b3b4c1886b77271e8ec422624eb1aca6.zip
Fix build failure with MS ASL compiler.
Signed-off-by: gdong1 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12531 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg')
-rw-r--r--SecurityPkg/Tcg/TcgSmm/Tpm.asl8
1 files changed, 4 insertions, 4 deletions
diff --git a/SecurityPkg/Tcg/TcgSmm/Tpm.asl b/SecurityPkg/Tcg/TcgSmm/Tpm.asl
index 000fc661a9..47a68ca61a 100644
--- a/SecurityPkg/Tcg/TcgSmm/Tpm.asl
+++ b/SecurityPkg/Tcg/TcgSmm/Tpm.asl
@@ -118,7 +118,7 @@ DefinitionBlock (
//
// TCG Hardware Information
//
- Method (HINF, 3, Serialized, 0, {BuffObj, PkgObj}, {IntObj, IntObj, PkgObj})
+ Method (HINF, 3, Serialized, 0, {BuffObj, PkgObj}, {UnknownObj, UnknownObj, UnknownObj}) // IntObj, IntObj, PkgObj
{
//
// Switch by function index
@@ -137,7 +137,7 @@ DefinitionBlock (
//
// Return failure if no TPM present
//
- Name(TPMV, Package () {0x01, Package () {ToBCD (1), ToBCD (20)}})
+ Name(TPMV, Package () {0x01, Package () {0x1, 0x20}})
if (LEqual (_STA (), 0x00))
{
Return (Package () {0x00})
@@ -167,7 +167,7 @@ DefinitionBlock (
//
// TCG Physical Presence Interface
//
- Method (TPPI, 3, Serialized, 0, {BuffObj, PkgObj, IntObj, StrObj}, {IntObj, IntObj, PkgObj})
+ Method (TPPI, 3, Serialized, 0, {BuffObj, PkgObj, IntObj, StrObj}, {UnknownObj, UnknownObj, UnknownObj}) // IntObj, IntObj, PkgObj
{
//
// Switch by function index
@@ -283,7 +283,7 @@ DefinitionBlock (
Return (1)
}
- Method (TMCI, 3, Serialized, 0, IntObj, {IntObj, IntObj, PkgObj})
+ Method (TMCI, 3, Serialized, 0, IntObj, {UnknownObj, UnknownObj, UnknownObj}) // IntObj, IntObj, PkgObj
{
//
// Switch by function index