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-Defined Devices <strong>and</strong> Device-Specific Objects<br />

Note: This means that the CENTURY field in the Fixed ACPI Description Table may only contain values<br />

between 0 <strong>and</strong> 63.<br />

Example:<br />

This is an example of how this device could be described:<br />

Device (RTC0) {<br />

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

Name (_FIX, Package(1) {<br />

EISAID("PNP0B00") }<br />

)<br />

Name(_CRS, ResourceTemplate() {<br />

IO(Decode16, 0x70, 0x70, 0x1, 0x2)<br />

}<br />

OperationRegion(CMS1, SystemCMOS, 0, 0x40)<br />

Field(CMS1, ByteAcc, NoLock, Preserve) {<br />

AccessAs(ByteAcc, 0),<br />

CM00, 8,<br />

,256,<br />

CM01, 8,<br />

CM02, 16,<br />

, 216,<br />

CM03, 8<br />

}<br />

9.15.2Intel PIIX4-compatible RTC/CMOS Devices (PNP0B01)<br />

The Intel PIIX4 contains an RTC/CMOS device that is compatible with the one in the PC/AT. But it<br />

contains 256 bytes of non-volatile RAM. The first 64 bytes are accessed via the same mechanism as<br />

the 64 bytes in the PC/AT. The upper 192 bytes are accessed through an interface that is only used<br />

on Intel chips. (See 82371AB PCI-TO-ISA / IDEXCELERATOR (PIIX4) for details.)<br />

Any platform containing this device or one that is compatible with it may use the PNP ID PNP0B01.<br />

This will allow an ACPI-compatible OS to recognize the RTC/CMOS device as using the<br />

programming interface of the PIIX4. Thus, the array of bytes that ASL can read <strong>and</strong> write with this<br />

device is 256 bytes long.<br />

Note: This also means that the CENTURY field in the Fixed ACPI Description Table may contain values<br />

between 0 <strong>and</strong> 255.<br />

Example:<br />

This is an example of how this device could be described:<br />

Version 6.0 535

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

Saved successfully!

Ooh no, something went wrong!