27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ACPI Source Language (ASL)Reference<br />

19.6.29 DerefOf (Dereference an Object Reference)<br />

Syntax<br />

DerefOf (Source) => Object<br />

Arguments<br />

Returns the object referred by the Source object reference.<br />

Description<br />

If the Source evaluates to an object reference, the actual contents of the object referred to are<br />

returned. If the Source evaluates to a string, the string is evaluated as an ASL name (relative to the<br />

current scope) <strong>and</strong> the contents of that object are returned. If the object specified by Source does not<br />

exist then a fatal error is generated. If the object specified is a reference generated by the Index()<br />

operator <strong>and</strong> refers to an uninitialized package element, then a fatal error is generated.<br />

Note: (Compatibility Note) The use of a String with DerefOf was first introduced in ACPI 2.0.<br />

19.6.30 Device (Declare Device Package)<br />

Syntax<br />

Device (DeviceName) {ObjectList}<br />

Arguments<br />

Creates a Device object of name DeviceName, which represents a processor, a bus or a device, or<br />

any other similar hardware. Device opens a name scope.<br />

Description<br />

A Device Package is one of the basic ways the Differentiated Definition Block describes the<br />

hardware devices in the system to the operating software. Each Device Package is defined<br />

somewhere in the hierarchical namespace corresponding to that device’s location in the system.<br />

Within the namespace of the device are other names that provide information <strong>and</strong> control of the<br />

device, along with any sub-devices that in turn describe sub-devices, <strong>and</strong> so on.<br />

For any device, the BIOS provides only information that is added to the device in a non-hardware<br />

st<strong>and</strong>ard manner. This type of value-added function is expressible in the ACPI Definition Block<br />

such that operating software can use the function.<br />

The BIOS supplies Device Objects only for devices that are obtaining some system-added function<br />

outside the device’s normal capabilities <strong>and</strong> for any Device Object required to fill in the tree for such<br />

a device. For example, if the system includes a PCI device (integrated or otherwise) with no<br />

additional functions such as power management, the BIOS would not report such a device; however,<br />

if the system included an integrated ISA device below the integrated PCI device (device is an ISA<br />

bridge), then the system would include a Device Package for the ISA device with the minimum<br />

feature being added being the ISA device’s ID <strong>and</strong> configuration information <strong>and</strong> the parent PCI<br />

device, because it is required to get the ISA Device Package placement in the namespace correct.<br />

Version 6.0 821

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!