From nobody Sat May 4 00:03:50 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 15130644406111016.3499987532068; Mon, 11 Dec 2017 23:40:40 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 015F62214E322; Mon, 11 Dec 2017 23:36:01 -0800 (PST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 085A621A1099A for ; Mon, 11 Dec 2017 23:35:59 -0800 (PST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2017 23:40:36 -0800 Received: from czhan46-mobl1.ccr.corp.intel.com ([10.239.192.113]) by fmsmga006.fm.intel.com with ESMTP; 11 Dec 2017 23:40:35 -0800 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Permerror (SPF Permanent Error: More than 10 MX records returned) identity=mailfrom; client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=chao.b.zhang@intel.com; receiver=edk2-devel@lists.01.org X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,394,1508828400"; d="scan'208";a="186203007" From: "Zhang, Chao B" To: edk2-devel@lists.01.org Date: Tue, 12 Dec 2017 15:40:31 +0800 Message-Id: <20171212074032.17872-1-chao.b.zhang@intel.com> X-Mailer: git-send-email 2.11.0.windows.1 Subject: [edk2] [PATCH] SecurityPkg:Tcg2Smm: Update Interrupt resource name X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jiewen Yao , Chao Zhang , Long Qin MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Update TPM interrupt resource descriptor name for better compatibility to old ASL compiler. Cc: Long Qin Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chao Zhang Reviewed-by: Long Qin --- SecurityPkg/Tcg/Tcg2Smm/Tpm.asl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/SecurityPkg/Tcg/Tcg2Smm/Tpm.asl b/SecurityPkg/Tcg/Tcg2Smm/Tpm.= asl index 76a8a13..f528305 100644 --- a/SecurityPkg/Tcg/Tcg2Smm/Tpm.asl +++ b/SecurityPkg/Tcg/Tcg2Smm/Tpm.asl @@ -97,7 +97,7 @@ DefinitionBlock ( =20 Name(RESO, ResourceTemplate () { Memory32Fixed (ReadWrite, 0xfed40000, 0x5000, REGS) - Interrupt(ResourceConsumer, Level, ActiveLow, Shared, , , IRQ) {12} + Interrupt(ResourceConsumer, Level, ActiveLow, Shared, , , INTR) {1= 2} }) =20 // @@ -120,16 +120,16 @@ DefinitionBlock ( // Use the field name to identify the offsets in the argument // buffer and RESO buffer. // - CreateDWordField(Arg0, ^IRQ._INT, IRQ0) - CreateDWordField(RESO, ^IRQ._INT, LIRQ) + CreateDWordField(Arg0, ^INTR._INT, IRQ0) + CreateDWordField(RESO, ^INTR._INT, LIRQ) Store(IRQ0, LIRQ) =20 - CreateBitField(Arg0, ^IRQ._HE, ITRG) - CreateBitField(RESO, ^IRQ._HE, LTRG) + CreateBitField(Arg0, ^INTR._HE, ITRG) + CreateBitField(RESO, ^INTR._HE, LTRG) Store(ITRG, LTRG) =20 - CreateBitField(Arg0, ^IRQ._LL, ILVL) - CreateBitField(RESO, ^IRQ._LL, LLVL) + CreateBitField(Arg0, ^INTR._LL, ILVL) + CreateBitField(RESO, ^INTR._LL, LLVL) Store(ILVL, LLVL) =20 // --=20 1.9.5.msysgit.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel