|
|
微软官方文档。' n& P7 z5 h# t3 C% q+ a
Kernel-mode device drivers are able to evaluate ACPI control methods via I/O control codes (IOCTLs). Typically, a driver evaluates ACPI control methods to initiate or configure platform-specific functionality.
% K D" B8 e$ S8 j% H An ACPI control method is a definition of how to interrogate or adjust system hardware. Control methods are written in the ACPI Machine Language (AML) and are interpreted by the ACPI driver in Microsoft® Windows®. These objects are loaded from the system definition in firmware into the ACPI namespace.- j. O2 W+ A$ R
Drivers can evaluate ACPI control methods within the namespace of the device object on which they are loaded. This also includes control methods in the namespace of child objects. A driver must meet the following requirements when evaluating ACPI control methods:4 o+ J% x7 k z \: C3 _: L
• Only WDF or WDM drivers are supported.$ n" |! {; a6 _
• Drivers may evaluate control methods only within the namespace of the device object on which they are loaded. This includes the namespace of child device objects. |
|