![Intel Extensible Firmware Interface Скачать руководство пользователя страница 108](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117108.webp)
Extensible Firmware Interface Specification
90
12/12/00
Version 1.02
3.6.4 SetWakeupTime()
Summary
Sets the system wakeup alarm clock time.
Prototype
EFI_STATUS
SetWakeupTime (
IN BOOLEAN
Enable,
IN EFI_TIME
*Time
OPTIONAL
);
Parameters
Enable
Enable or disable the wakeup alarm.
Time
If
Enable
is
TRUE
, the time to set the wakeup alarm for. Type
EFI_TIME
is defined in Section 3.6.1. If
Enable
is
FALSE
, then this
parameter is optional, and may be
NULL
.
Description
Setting a system wakeup alarm causes the system to wake up or power on at the set time. When the
alarm fires, the alarm signal is latched until acknowledged by calling
SetWakeupTime()
to
disable the alarm. If the alarm fires before the system is put into a sleeping or off state, since the
alarm signal is latched the system will immediately wake up. If the alarm fires while the system is
off and there is insufficient power to power on the system, the system is powered on when power is
restored.
For an ACPI-aware operating system, this function only handles programming the wakeup alarm
for the desired wakeup time. The operating system still controls the wakeup event as it normally
would through the ACPI Power Management register set.
The resolution for the wakeup alarm is defined to be 1 second.
During runtime, if a PC-AT CMOS device is present in the platform the caller must synchronize
access to the device before calling
SetWakeupTime()
.
Status Codes Returned
EFI_SUCCESS
If
Enable
is
TRUE
, then the wakeup alarm was enabled. If
Enable
is
FALSE
, then the wakeup alarm was disabled.
EFI_INVALID_PARAMETER
A time field is out of range.
EFI_DEVICE_ERROR
The wakeup time could not be set due to a hardware error.
Содержание Extensible Firmware Interface
Страница 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Страница 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Страница 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Страница 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Страница 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Страница 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Страница 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Страница 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Страница 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Страница 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Страница 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Страница 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Страница 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Страница 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Страница 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...