summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-06-22 09:20:10 +0800
committerLv Zheng <lv.zheng@intel.com>2016-06-22 09:20:10 +0800
commit8488fcf57a258104d5438c6a98db8f2ca810b689 (patch)
tree3232059c3d73acdf2e5ab83a18fb4574434f8815
parentbfe03ffcde8ed56a7eae38ea0b188aeb12f9c52e (diff)
downloadacpica-8488fcf57a258104d5438c6a98db8f2ca810b689.tar.gz
Dispatcher: Fix an issue that the opregions created by the linked MLC were not tracked
Operation regions created by MLC were not tracked by AcpiCheckAddressRange(), this patch fixes this issue. ACPICA BZ 1279. Fixed by Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com>
-rw-r--r--source/components/dispatcher/dsopcode.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/components/dispatcher/dsopcode.c b/source/components/dispatcher/dsopcode.c
index ea0f11eab..5e01ffab4 100644
--- a/source/components/dispatcher/dsopcode.c
+++ b/source/components/dispatcher/dsopcode.c
@@ -554,6 +554,11 @@ AcpiDsEvalRegionOperands (
/* Now the address and length are valid for this opregion */
ObjDesc->Region.Flags |= AOPOBJ_DATA_VALID;
+ if (WalkState->ParseFlags & ACPI_PARSE_MODULE_LEVEL)
+ {
+ Status = AcpiUtAddAddressRange (ObjDesc->Region.SpaceId,
+ ObjDesc->Region.Address, ObjDesc->Region.Length, Node);
+ }
return_ACPI_STATUS (Status);
}