]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
acpi: Add an interface to obtain DSM information
authorbwidawsk <bwidawsk@FreeBSD.org>
Mon, 22 Oct 2018 03:29:54 +0000 (03:29 +0000)
committerbwidawsk <bwidawsk@FreeBSD.org>
Mon, 22 Oct 2018 03:29:54 +0000 (03:29 +0000)
commit2127b447f47da018845bc9471d85dbd93f923553
tree0b342715426d57ae284aaeca4f5f2c8ce9c32704
parent7e45db1b37c188ed4b3dab28b6e5cc3102a8c365
acpi: Add an interface to obtain DSM information

The Device Specific Method (_DSM) is on optional object that defines
device specific controls. This will be useful for our power management
controller in upcoming patches. More information can be found in ACPI
spec 6.2 section 9.1.1

https://www.uefi.org/sites/default/files/resources/ACPI_6_2.pdf

This patch had a minor modification changing ENOMEM to AE_NO_MEMORY
after it got review and approval but before committing.

Test Plan: Tested in my s0ix branch

Reviewed by: kib
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D17121
sys/dev/acpica/acpi.c
sys/dev/acpica/acpivar.h