NetBSD/sys/arch/sh3/include/wdogvar.h

24 lines
542 B
C
Raw Normal View History

/* $NetBSD: wdogvar.h,v 1.3 2000/10/31 02:04:13 msaitoh Exp $ */
2000-02-24 20:10:16 +03:00
2000-02-24 20:07:34 +03:00
#ifndef _SH3_WDOGVAR_H_
#define _SH3_WDOGVAR_H_
#define WDOGF_OPEN 1
#define SIORESETWDOG _IO('S', 0x0)
#define SIOSTARTWDOG _IO('S', 0x1)
#define SIOSTOPWDOG _IO('S', 0x2)
#define SIOSETWDOG _IOW('S', 0x3, int)
#define SIOWDOGSETMODE _IOW('S', 0x4, int)
#define WDOGM_RESET 1
#define WDOGM_INTR 2
2000-02-24 20:07:34 +03:00
#ifdef _KERNEL
extern unsigned int maxwdog;
2000-02-24 20:07:34 +03:00
extern void wdog_wr_cnt __P((unsigned char));
extern void wdog_wr_csr __P((unsigned char));
#endif
#endif /* !_SH3_WDOGVAR_H_ */