TianoCore EDK2 master
|
#include "DxeMain.h"
Go to the source code of this file.
Macros | |
#define | WATCHDOG_TIMER_CALIBRATE_PER_SECOND 10000000 |
Functions | |
EFI_STATUS EFIAPI | CoreSetWatchdogTimer (IN UINTN Timeout, IN UINT64 WatchdogCode, IN UINTN DataSize, IN CHAR16 *WatchdogData OPTIONAL) |
UEFI Miscellaneous boot Services SetWatchdogTimer service implementation
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SetWatchdogTimer.c.
#define WATCHDOG_TIMER_CALIBRATE_PER_SECOND 10000000 |
Definition at line 11 of file SetWatchdogTimer.c.
EFI_STATUS EFIAPI CoreSetWatchdogTimer | ( | IN UINTN | Timeout, |
IN UINT64 | WatchdogCode, | ||
IN UINTN | DataSize, | ||
IN CHAR16 *WatchdogData | OPTIONAL | ||
) |
Sets the system's watchdog timer.
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. |
Definition at line 37 of file SetWatchdogTimer.c.