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

expected that the time on the platform will be consistent when different firmware interfaces are used<br />

to query the platform time. For example, a UEFI call to get the time should return the same time as if<br />

the OSPM used the time <strong>and</strong> alarm device at the same point in time.<br />

The Time <strong>and</strong> Alarm device can optionally support power management objects (e.g. _PS0, _PS3) to<br />

allow the OS to manage the device's power consumption.<br />

The Time <strong>and</strong>Alarm device must support control method _PRW for being enabled to wake up the<br />

system. It might support _DSW or _PSW to provide the functionality to enable or disable the<br />

device's ability to wake a sleep system. On Hardware-reduced ACPI platforms, _PRW is only<br />

required if the device depends on ACPI-defined power resources. _PRW’s GPEInfo structure is<br />

ignored by OSPM. For enabling Wakeup, _DSW <strong>and</strong> _SxW are used, <strong>and</strong> the wakeup event is<br />

signaled by the GPIO-signaled ACPI event mechanism (Section 5.6.5).<br />

The Plug <strong>and</strong> Play ID of the Time <strong>and</strong> Wake Alarm device is ACPI000E.<br />

Table 9-266 Time <strong>and</strong> Alarm Device<br />

Object<br />

_GCP<br />

_GRT<br />

_SRT<br />

_GWS<br />

_CWS<br />

_STP<br />

_STV<br />

_TIP<br />

_TIV<br />

Description<br />

Get the capabilities of the time <strong>and</strong> alarm device<br />

Get the Real time<br />

Set the Real time<br />

Get Wake status<br />

Clear Wake Status<br />

Sets expired timer wake policy for the specified timer.<br />

Sets the value in the specified timer.<br />

Returns the current expired timer policy setting of the specified timer.<br />

Returns the remaining time of the specified timer.<br />

9.18.1Overview<br />

The Time <strong>and</strong> Alarm device provides an alternative to the real time clock (RTC), which is defined as<br />

a fixed feature hardware device. The wake timers allow the system to transition from the S3 (or<br />

optionally S4/S5) state to S0 state after a time period elapses. In comparison with the Real Time<br />

Clock (RTC) Alarm, the Time <strong>and</strong> Alarm device provides a larger scale of flexibility in the<br />

operation of the wake timers, <strong>and</strong> allows the implementation of the time source to be abstracted from<br />

the OSPM.<br />

Time <strong>and</strong> Alarm device provides the OSPM with a firmware abstraction of time <strong>and</strong> alarm services<br />

that can be applicable to a variety of hardware designs. The methods for setting <strong>and</strong> getting real time<br />

provide an alternative to the (RTC). In addition the device provides two different levels of wake<br />

services, depending on the platform capabilities, AC/DC wake or AC wake.<br />

Time <strong>and</strong> Alarm devices that implement AC/DC wake service contain two programmable timers that<br />

can be configured to wake the system depending on the platform's current power source (AC or DC)<br />

when the timers expire. The two timers, which are referred to as the AC timer <strong>and</strong> the DC timer, are<br />

independent in that they are individually programmable <strong>and</strong> applicable without interfering each<br />

other. Each of the timers can be programmed with the number of seconds to elapse from the time the<br />

timer is programmed until a wake is requested. When a timer expires, the Time <strong>and</strong> Alarm device<br />

Version 6.0 539

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

Saved successfully!

Ooh no, something went wrong!