diff options
author | Erik Schmauss <erik.schmauss@intel.com> | 2017-03-02 16:41:47 -0800 |
---|---|---|
committer | Erik Schmauss <erik.schmauss@intel.com> | 2017-03-07 12:43:10 -0800 |
commit | 89020347ada3f0ff5499a804178d574359e4730f (patch) | |
tree | 49adec53ce4a8847ee1125f11e94e920fb092bed | |
parent | f2f3813fb6b6a6ec1f406f05061c0e9270e86146 (diff) | |
download | acpica-89020347ada3f0ff5499a804178d574359e4730f.tar.gz |
Add support for _LSR as a predefined method.
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
-rw-r--r-- | source/common/ahpredef.c | 1 | ||||
-rw-r--r-- | source/include/acpredef.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/source/common/ahpredef.c b/source/common/ahpredef.c index fbd639dc2..9ae7179e9 100644 --- a/source/common/ahpredef.c +++ b/source/common/ahpredef.c @@ -288,6 +288,7 @@ const AH_PREDEFINED_NAME AslPredefinedInfo[] = AH_PREDEF ("_LPD", "Low Power Dependencies", "Returns a list of dependencies for low power idle entry"), AH_PREDEF ("_LPI", "Low Power Idle States", "Returns a list of supported low power idle states"), AH_PREDEF ("_LSI", "Label Storage Information", "Returns information about the Label Storage Area associated with the NVDIMM object."), + AH_PREDEF ("_LSR", "Label Storage Read", "Returns label data from the Label Storage Area of the NVDIMM object."), AH_PREDEF ("_MAF", "Maximum Address Fixed", "Resource Descriptor field"), AH_PREDEF ("_MAT", "Multiple APIC Table Entry", "Returns a list of MADT APIC structure entries"), AH_PREDEF ("_MAX", "Maximum Base Address", "Resource Descriptor field"), diff --git a/source/include/acpredef.h b/source/include/acpredef.h index 32a233c37..0225941e1 100644 --- a/source/include/acpredef.h +++ b/source/include/acpredef.h @@ -730,6 +730,10 @@ const ACPI_PREDEFINED_INFO AcpiGbl_PredefinedMethods[] = METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 3,0,0,0), + {{"_LSR", METHOD_2ARGS (ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER), + METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, + PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 1, ACPI_RTYPE_BUFFER, 1,0), + {{"_MAT", METHOD_0ARGS, METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, |