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.

Device <strong>Configuration</strong><br />

Device(SATA) //AHCI- compatible SATA controller<br />

{<br />

Name(_HID, "…")<br />

Name(_CLS, Package (3)<br />

{<br />

0x01, // Base Class (01h == Mass Storage)<br />

0x06, // Sub-Class (06h == SATA)<br />

0x01, // Programming <strong>Interface</strong> (01h == AHCI)<br />

})<br />

Name(_CRS, ResourceTemplate()<br />

{<br />

… // AHCI-defined system resources<br />

})<br />

}<br />

6.1.4 _DDN (DOS Device Name)<br />

This object is used to associate a logical name (for example, COM1) with a device. This name can be<br />

used by applications to connect to the device.<br />

Arguments:<br />

None<br />

Return Value:<br />

A String containing the DOS device name<br />

6.1.5 _HID (Hardware ID)<br />

This object is used to supply OSPM with the device’s PNP ID or ACPI ID. 1<br />

When describing a platform, use of any _HID objects is optional. However, a _HID object must be<br />

used to describe any device that will be enumerated by OSPM. OSPM only enumerates a device<br />

when no bus enumerator can detect the device ID. For example, devices on an ISA bus are<br />

enumerated by OSPM. Use the _ADR object to describe devices enumerated by bus enumerators<br />

other than OSPM.<br />

Arguments:<br />

None<br />

Return Value:<br />

An Integer or String containing the HID<br />

A _HID object evaluates to either a numeric 32-bit compressed EISA type ID or a string. If a<br />

string, the format must be an alphanumeric PNP or ACPI ID with no asterisk or other leading<br />

characters.<br />

A valid PNP ID must be of the form "AAA####" where A is an uppercase letter <strong>and</strong> # is a hex<br />

digit. A valid ACPI ID must be of the form "NNNN####" where N is an uppercase letter or a<br />

digit ('0'-'9') <strong>and</strong> # is a hex digit. This specification reserves the string "ACPI" for use only<br />

1. PNP ID <strong>and</strong> ACPI ID Registry is at http://www.uefi.org/PNP_ACPI_Registry.<br />

Version 6.0 281

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

Saved successfully!

Ooh no, something went wrong!