SecurityPkg/Tcg/Tcg2Smm/Tpm.asl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
Update TPM interrupt resource descriptor name for better compatibility to
old ASL compiler.
Cc: Long Qin <qin.long@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
---
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 (
Name(RESO, ResourceTemplate () {
Memory32Fixed (ReadWrite, 0xfed40000, 0x5000, REGS)
- Interrupt(ResourceConsumer, Level, ActiveLow, Shared, , , IRQ) {12}
+ Interrupt(ResourceConsumer, Level, ActiveLow, Shared, , , INTR) {12}
})
//
@@ -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)
- CreateBitField(Arg0, ^IRQ._HE, ITRG)
- CreateBitField(RESO, ^IRQ._HE, LTRG)
+ CreateBitField(Arg0, ^INTR._HE, ITRG)
+ CreateBitField(RESO, ^INTR._HE, LTRG)
Store(ITRG, LTRG)
- CreateBitField(Arg0, ^IRQ._LL, ILVL)
- CreateBitField(RESO, ^IRQ._LL, LLVL)
+ CreateBitField(Arg0, ^INTR._LL, ILVL)
+ CreateBitField(RESO, ^INTR._LL, LLVL)
Store(ILVL, LLVL)
//
--
1.9.5.msysgit.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Reviewed-by: Long Qin <qin.long@intel.com> Best Regards & Thanks, LONG, Qin -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Zhang, Chao B Sent: Tuesday, December 12, 2017 3:41 PM To: edk2-devel@lists.01.org Cc: Yao, Jiewen <jiewen.yao@intel.com>; Zhang, Chao B <chao.b.zhang@intel.com>; Long, Qin <qin.long@intel.com> Subject: [edk2] [PATCH] SecurityPkg:Tcg2Smm: Update Interrupt resource name Update TPM interrupt resource descriptor name for better compatibility to old ASL compiler. Cc: Long Qin <qin.long@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chao Zhang <chao.b.zhang@intel.com> --- 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 ( Name(RESO, ResourceTemplate () { Memory32Fixed (ReadWrite, 0xfed40000, 0x5000, REGS) - Interrupt(ResourceConsumer, Level, ActiveLow, Shared, , , IRQ) {12} + Interrupt(ResourceConsumer, Level, ActiveLow, Shared, , , INTR) + {12} }) // @@ -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) - CreateBitField(Arg0, ^IRQ._HE, ITRG) - CreateBitField(RESO, ^IRQ._HE, LTRG) + CreateBitField(Arg0, ^INTR._HE, ITRG) + CreateBitField(RESO, ^INTR._HE, LTRG) Store(ITRG, LTRG) - CreateBitField(Arg0, ^IRQ._LL, ILVL) - CreateBitField(RESO, ^IRQ._LL, LLVL) + CreateBitField(Arg0, ^INTR._LL, ILVL) + CreateBitField(RESO, ^INTR._LL, LLVL) Store(ILVL, LLVL) // -- 1.9.5.msysgit.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
© 2016 - 2025 Red Hat, Inc.