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>
This commit is contained in:
Lv Zheng 2016-06-22 09:20:10 +08:00
parent bfe03ffcde
commit 8488fcf57a
1 changed files with 5 additions and 0 deletions

View File

@ -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);
}