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 />

}<br />

}<br />

//<br />

// Second function identifier<br />

//<br />

case(ToUUID(“107ededd-d381-4fd7-8da9-08e9a6c79644”))<br />

{<br />

//<br />

// Function 0: Return supported functions (there is only one revision)<br />

//<br />

if (LEqual(Arg2,Zero))<br />

return (Buffer() {0x3}) // only one function supported<br />

//<br />

// Function 1<br />

//<br />

if (LEqual(Arg2,One))<br />

{<br />

… function 1 code …<br />

Return(Unicode(“text”))<br />

}<br />

//<br />

// Function 2+: Runtime Error<br />

//<br />

else<br />

BreakPoint;<br />

}<br />

}<br />

//<br />

// If not one of the UUIDs we recognize, then return a buffer<br />

// with bit 0 set to 0 indicating no functions supported.<br />

//<br />

return(Buffer(){0})<br />

9.15 PC/AT RTC/CMOS Devices<br />

Most computers contain an RTC device which also contains battery-backed RAM represented as a<br />

linear array of bytes. There is a st<strong>and</strong>ard mechanism for accessing the first 64 bytes of non-volatile<br />

RAM in devices that are compatible with the Motorola RTC/CMOS device that was in the IBM PC/<br />

AT. Newer devices usually contain at least 128 bytes of battery-backed RAM. New PNP IDs were<br />

assigned for these devices.<br />

Certain bytes within the battery-backed RAM have pre-defined values. In particular, the time, date,<br />

month, year, century, alarm time <strong>and</strong> RTC periodic interrupt are read-only.<br />

9.15.1 PC/AT-compatible RTC/CMOS Devices (PNP0B00)<br />

The st<strong>and</strong>ard PC/AT-compatible RTC/CMOS device is denoted by the PnP ID PNP0B00. If an<br />

ACPI platform uses a device that is compatible with this device, it may describe this in its ACPI<br />

namespace. ASL may then read <strong>and</strong> write this as a linear 64-byte array. If PNP0B00 is used, ASL<br />

<strong>and</strong> ACPI operating systems may not assume that any extensions to the CMOS exist.<br />

534 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!