board_inspector: allow ConstObj to be used as a TermObj
While not allowed by ACPI specification, using a ConstObj (e.g. OneOp) as a term in a TermList IS witnessed in the DSDT of some BIOS. This patch allows ConstObj to act as a TermObj so that a TermList can contain a ConstObj as a statement (which is essentially no-op). This patch is added in v2 of the series. Tracked-On: #6287 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
6be3f93173
commit
ae496de9d8
|
@ -192,7 +192,7 @@ RevisionOp = (AML_REVISION_OP,)
|
|||
################################################################################
|
||||
|
||||
Object = ["NameSpaceModifierObj", "NamedObj"]
|
||||
TermObj = ["Object", "StatementOpcode", "ExpressionOpcode"]
|
||||
TermObj = ["Object", "StatementOpcode", "ExpressionOpcode", "ConstObj"]
|
||||
TermList = ("TermObj*",)
|
||||
TermArg = ["ExpressionOpcode", "DataObject", "ArgObj", "LocalObj"]
|
||||
# MethodInvocation is defined in parser.py
|
||||
|
|
Loading…
Reference in New Issue