2 time services – Intel Extensible Firmware Interface User Manual

Page 201

Advertising
background image

Services

— Runtime Services

Version 1.10

12/01/02

6-9

6.2 Time

Services

This section contains function definitions for time-related functions that are typically needed by
operating systems at runtime to access underlying hardware that manages time information and
services. The purpose of these interfaces is to provide operating system writers with an abstraction
for hardware time devices, thereby relieving the need to access legacy hardware devices directly.
There is also a stalling function for use in the preboot environment. Table 6-2 lists the time
services functions described in this section:

Table 6-2.

Time Services Functions

Name Type

Description

GetTime

Runtime

Returns the current time and date, and the time-keeping capabilities of the
platform.

SetTime

Runtime

Sets the current local time and date information.

GetWakeupTime

Runtime

Returns the current wakeup alarm clock setting.

SetWakeupTime Runtime Sets

the

system wakeup alarm clock time.

Advertising