All data structures and ioctls are defined in lom_io.h.
Following is the watchdog/reset state data structure.
typedef struct { int reset_enable; /* reset enabled iff non-zero */int dog_enable; /* watchdog enabled iff non-zero */uint_t dog_timeout; /* Current watchdog timeout */ } lom_dogstate_t; |
Following is the watchdog/reset control data structure.
typedef struct { int reset_enable; /* reset enabled iff non-zero */int dog_enable; /* watchdog enabled iff non-zero */ } lom_dogctl_t; |
Understanding the ALOM watchdog timer