From 87200170b3b4c1886b77271e8ec422624eb1aca6 Mon Sep 17 00:00:00 2001 From: gdong1 Date: Wed, 12 Oct 2011 03:48:06 +0000 Subject: [PATCH] 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 --- SecurityPkg/Tcg/TcgSmm/Tpm.asl | 8 ++++---- 1 file 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