diff options
author | Lv Zheng <lv.zheng@intel.com> | 2016-06-22 09:20:10 +0800 |
---|---|---|
committer | Lv Zheng <lv.zheng@intel.com> | 2016-06-22 09:20:10 +0800 |
commit | 8488fcf57a258104d5438c6a98db8f2ca810b689 (patch) | |
tree | 3232059c3d73acdf2e5ab83a18fb4574434f8815 | |
parent | bfe03ffcde8ed56a7eae38ea0b188aeb12f9c52e (diff) | |
download | acpica-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.c | 5 |
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); } |