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

0x00000001 – 0xFFFFFFFE: Time between the power source changes <strong>and</strong> the timer wakes up the<br />

system ( in units of seconds)<br />

0xFFFFFFFF – The timer will never wake up the system after the power source changes<br />

9.18.10 _TIV (Timer Values)<br />

This object is required <strong>and</strong> returns the remaining time of the specified timer before it expires.<br />

Arguments: (1)<br />

Arg0 – TimerIdentifier (Integer(DWORD)): indicates the timer to be read:<br />

0x00000000 – AC Timer<br />

0x00000001 – DC Timer<br />

Return Value:<br />

An Integer containing the current timer value. A value of 0xFFFFFFFF indicates that the timer is<br />

disabled.<br />

9.18.11 ACPI Wakeup Alarm Events<br />

The Wake Alarm, device as a generic hardware, supports control methods _PSW <strong>and</strong> _PRW to wake<br />

up the system <strong>and</strong> issues a Notify(, 0x2) on the wakeup alarm device.<br />

9.18.12 Relationship to Real Time Clock Alarm<br />

Though both of the devices support wakeup timers to wake up system from sleeping state, they work<br />

independently. The Real Time Clock Alarm is defined as a fixed feature hardware whereas Time <strong>and</strong><br />

Alarm device is defined as a generic hardware <strong>and</strong> can replace or coexist with the real time clock.<br />

OSPM may choose which device to utilize to provide timed wake capability.<br />

9.18.13 Time <strong>and</strong> Alarm device as a replacement to the RTC<br />

The Time <strong>and</strong> Alarm device can be an alternative to the RTC on some platforms where the legacy<br />

RTC hardware is not available, on these platforms the OSPM can use the Time <strong>and</strong> Alarm device to<br />

obtain time <strong>and</strong> set wake alarms. For platforms that don't require AC/DC wake service (e.g. a<br />

platform that have one power source only) the AC timer can be used to provide all the functions that<br />

were traditionally provided by the RTC. Using the capabilities object the Time <strong>and</strong> Alarm device<br />

can provide a scalable range of services to the OSPM.<br />

9.18.14 Relationship to UEFI time source<br />

The Time <strong>and</strong> Alarm device must be driven from the same time source as UEFI time services. This<br />

ensures that the platform has a consistent value of real time (time of day) <strong>and</strong> wake alarms. The<br />

OSPM can interact with this value using either ACPI or UEFI.<br />

• OSPM must use only one runtime interface to configure/query the platform alarm(s); undefined<br />

behavior may occur if the two wakeup interfaces are used on the same hardware.<br />

Version 6.0 547

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

Saved successfully!

Ooh no, something went wrong!