27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Advanced</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Power</strong> <strong>Interface</strong> <strong>Specification</strong><br />

A _UID object evaluates to either a numeric value or a string.<br />

Arguments:<br />

None<br />

Return Value:<br />

An Integer or String containing the Unique ID<br />

6.2 Device <strong>Configuration</strong> Objects<br />

This section describes objects that provide OSPM with device specific information <strong>and</strong> allow OSPM<br />

to configure device operation <strong>and</strong> resource utilization.<br />

OSPM uses device configuration objects to configure hardware resources for devices enumerated<br />

via ACPI. Device configuration objects provide information about current <strong>and</strong> possible resource<br />

requirements, the relationship between shared resources, <strong>and</strong> methods for configuring hardware<br />

resources.<br />

Note: these objects must only be provided for devices that cannot be configured by any other hardware<br />

st<strong>and</strong>ard such as PCI, PCMCIA, <strong>and</strong> so on.<br />

When OSPM enumerates a device, it calls _PRS to determine the resource requirements of the<br />

device. It may also call _CRS to find the current resource settings for the device. Using this<br />

information, the Plug <strong>and</strong> Play system determines what resources the device should consume <strong>and</strong><br />

sets those resources by calling the device’s _SRS control method.<br />

In ACPI, devices can consume resources (for example, legacy keyboards), provide resources (for<br />

example, a proprietary PCI bridge), or do both. Unless otherwise specified, resources for a device<br />

are assumed to be taken from the nearest matching resource above the device in the device<br />

hierarchy.<br />

Some resources, however, may be shared amongst several devices. To describe this, devices that<br />

share a resource (resource consumers) must use the extended resource descriptors (0x7-0xA)<br />

described in Section 6.4.3, “Large Resource Data Type.” These descriptors point to a single device<br />

object (resource producer) that claims the shared resource in its _PRS. This allows OSPM to clearly<br />

underst<strong>and</strong> the resource dependencies in the system <strong>and</strong> move all related devices together if it needs<br />

to change resources. Furthermore, it allows OSPM to allocate resources only to resource producers<br />

when devices that consume that resource appear.<br />

The device configuration objects are listed in Table 6-171<br />

Table 6-171 Device <strong>Configuration</strong> Objects<br />

Object<br />

_CDM<br />

_CRS<br />

_DIS<br />

_DMA<br />

_DSD<br />

Description<br />

Object that specifies a clock domain for a processor.<br />

Object that specifies a device’s current resource settings, or a control method that generates<br />

such an object.<br />

Control method that disables a device.<br />

Object that specifies a device’s current resources for DMA transactions.<br />

Object that evaluates to device specific information<br />

294 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!