Revision 88b3be20 hw/watchdog.h

b/hw/watchdog.h
25 25
extern void wdt_i6300esb_init(void);
26 26
extern void wdt_ib700_init(void);
27 27

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

  
36 29
struct WatchdogTimerModel {
37 30
    LIST_ENTRY(WatchdogTimerModel) entry;
......
48 41
};
49 42
typedef struct WatchdogTimerModel WatchdogTimerModel;
50 43

  
51
/* in vl.c */
52
extern WatchdogTimerModel *watchdog;
53
extern int watchdog_action;
54

  
55 44
/* in hw/watchdog.c */
56 45
extern int select_watchdog(const char *p);
57 46
extern int select_watchdog_action(const char *action);

Also available in: Unified diff