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.

ACPI Software Programming Model<br />

DefinitionBlock (“MD1SSDT.aml",“OEM1",0x02,<br />

“OEMID", "Table1", 0) {<br />

Scope(\_SB) {<br />

Device (\_SB.NOD0) {<br />

Name (_HID, "ACPI0004") // Module device<br />

Name (_UID, 0)<br />

Name (_PRS, ResourceTemplate() {...})<br />

Method (_SRS, 1) {...}<br />

Method (_CRS, 0) {...}<br />

Device (PCI0) { // PCI Root Bridge<br />

Name (_HID, EISAID("PNP0A03"))<br />

Name (_UID, 0)<br />

Name (_BBN, 0x00)<br />

Name (_PRS, ResourceTemplate () {...})<br />

} // end of PCI Root Bridge<br />

} // end of Module device<br />

} // end of \_SB Scope<br />

} // end of Definition Block<br />

DefinitionBlock (“MD1SSDT.aml",“OEM1",0x02,<br />

“OEMID", "Table2", 0) {<br />

Scope(\_SB) {<br />

Device (PCI0) { // PCI Root Bridge<br />

Name (_HID, EISAID("PNP0A03"))<br />

Name (_UID, 0)<br />

Name (_BBN, 0x00)<br />

Name (_PRS, ResourceTemplate () {...})<br />

} // end of PCI Root Bridge<br />

} // end of \_SB Scope<br />

} // end of Definition Block<br />

5.7.3 \_OS (OS Name Object)<br />

This predefined object evaluates to a string that identifies the operating system. In robust OSPM<br />

implementations, \_OS evaluates differently for each OS release. This may allow AML code to<br />

accommodate differences in OSPM implementations. This value does not change with different<br />

revisions of the AML interpreter.<br />

Arguments:<br />

None<br />

Return Value:<br />

A String containing the operating system name.<br />

5.7.4 \_REV (Revision Data Object)<br />

This predefined object evaluates to an Integer (DWORD) representing the revision of the ACPI<br />

<strong>Specification</strong> implemented by the specified \_OS.<br />

Arguments:<br />

None<br />

Return Value:<br />

An Integer representing the revision of the currently executing ACPI implementation.<br />

1. Only ACPI 1 is supported, only 32-bit integers.<br />

Version 6.0 273

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

Saved successfully!

Ooh no, something went wrong!