Revision 88b3be20 hw/watchdog.c

b/hw/watchdog.c
24 24
#include "sysemu.h"
25 25
#include "hw/watchdog.h"
26 26

  
27
/* Possible values for action parameter. */
28
#define WDT_RESET        1	/* Hard reset. */
29
#define WDT_SHUTDOWN     2	/* Shutdown. */
30
#define WDT_POWEROFF     3	/* Quit. */
31
#define WDT_PAUSE        4	/* Pause. */
32
#define WDT_DEBUG        5	/* Prints a message and continues running. */
33
#define WDT_NONE         6	/* Do nothing. */
34

  
35
static WatchdogTimerModel *watchdog;
36
static int watchdog_action = WDT_RESET;
27 37
static LIST_HEAD(watchdog_list, WatchdogTimerModel) watchdog_list;
28 38

  
29 39
void watchdog_add_model(WatchdogTimerModel *model)

Also available in: Unified diff