1 /* $OpenBSD: cpu.h,v 1.2 2007/04/29 17:53:37 miod Exp $ */ 2 /* $NetBSD: cpu.h,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ 3 4 #ifndef _LANDISK_CPU_H_ 5 #define _LANDISK_CPU_H_ 6 7 void machine_reset(void); 8 9 #include <sh/cpu.h> 10 11 /* 12 * CTL_MACHDEP definitions. 13 */ 14 #define CPU_CONSDEV 1 /* dev_t: console terminal device */ 15 #define CPU_KBDRESET 2 /* keyboard reset */ 16 #define CPU_LED_BLINK 3 /* keyboard reset */ 17 #define CPU_MAXID 4 /* number of valid machdep ids */ 18 19 #define CTL_MACHDEP_NAMES { \ 20 { 0, 0 }, \ 21 { "console_device", CTLTYPE_STRUCT }, \ 22 { "kbdreset", CTLTYPE_INT }, \ 23 { "led_blink", CTLTYPE_INT } \ 24 } 25 26 #endif /* _LANDISK_CPU_H_ */ 27