![Intel Extensible Firmware Interface Specification Download Page 116](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117116.webp)
Extensible Firmware Interface Specification
98
12/12/00
Version 1.02
3.8.2 SetWatchdogTimer()
Summary
Sets the system’s watchdog timer.
Prototype
EFI_STATUS
SetWatchdogTimer (
IN UINTN
Timeout,
IN UINT64
WatchdogCode,
IN UINTN
DataSize,
IN CHAR16
*WatchdogData
OPTIONAL
);
Parameters
Timeout
The number of seconds to set the watchdog timer to. A value of zero
disables the timer.
WatchdogCode
The numeric code to log on a watchdog timer timeout event. The
firmware reserves codes 0x0000 to 0xFFFF. Loaders and operating
systems may use other timeout codes.
DataSize
The size, in bytes, of
WatchdogData
.
WatchdogData
A data buffer that includes a Null-terminated Unicode string, optionally
followed by additional binary data. The string is a description that the
call may use to further indicate the reason to be logged with a watchdog
event.
Description
The
SetWatchdogTimer()
function sets the system’s watchdog timer.
If the watchdog timer expires, a system reset is generated and the event is logged by the firmware.
The watchdog timer is armed before the firmware's boot manager invokes an EFI boot option. The
watchdog must be set to a period of 5 minutes. The EFI Image may reset or disable the watchdog
timer as needed. If control is returned to the firmware's boot manager, the watchdog timer must be
disabled.
The watchdog timer is only used during boot services. On successful completion of
ExitBootServices()
the watchdog timer is disabled.
The accuracy of the watchdog timer is +/- 1 second from the requested
Timeout
.
Summary of Contents for Extensible Firmware Interface
Page 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Page 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Page 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Page 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Page 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Page 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Page 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Page 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Page 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Page 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Page 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Page 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Page 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Page 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Page 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...