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

Arguments: (0)<br />

Return Value:<br />

A 32-bit integer containing a result bitmask as follows:<br />

Bit [0] - 1 = AC wake implemented, 0 = not supported<br />

Bit [1] - 1 = DC wake implemented, 0 = not supported<br />

Bit [2] - 1 = Get/Set real time features implemented, 0 = not supported<br />

Bit [3] - 1 = Real time accuracy in milliseconds, 0 = Real time accuracy in seconds<br />

Bit [31:4] are reserved <strong>and</strong> must be 0.<br />

9.18.3 _GRT (Get Real Time)<br />

This object is required if the capabilities bit 2 is set to 1. The OSPM can use this object to get time.<br />

The return value is a buffer containing the time information as described below.<br />

Arguments: (0)<br />

Return Value:<br />

A buffer containing the time information, in the following format<br />

Buffer(){<br />

WORD Year; // 1900 - 9999<br />

BYTE Month; // 1 - 12<br />

BYTE Day; // 1 - 31<br />

BYTE Hour; // 0 - 23<br />

BYTE Minute; // 0 - 59<br />

BYTE Second; // 0 - 59<br />

BYTE Valid;<br />

// 0 - Time is not valid (request failed); 1 - Time is valid<br />

WORD milliseconds, // 1-1000<br />

WORD TimeZone; // -1440 to 1440 or 2047 (unspecified)<br />

BYTE Daylight;<br />

BYTE Pad2[3]; // Reserved, must be zero<br />

}<br />

9.18.4 _SRT (Set Real Time)<br />

This object is required if the capabilities bit 2 is set to 1. The OSPM can use this object to set the<br />

time. The argument is a buffer containing the time information, as defined above.<br />

Arguments: (1)<br />

A buffer containing the time information, in the following format:<br />

Version 6.0 543

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

Saved successfully!

Ooh no, something went wrong!