NetBSD/sys/arch/sh3/include/wdogvar.h
2000-02-24 17:10:16 +00:00

19 lines
426 B
C

/* $NetBSD: wdogvar.h,v 1.2 2000/02/24 17:10:16 msaitoh Exp $ */
#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)
#ifdef _KERNEL
extern void wdog_wr_cnt __P((unsigned char));
extern void wdog_wr_csr __P((unsigned char));
#endif
#endif /* !_SH3_WDOGVAR_H_ */