xref: /openbsd-src/sys/arch/landisk/include/cpu.h (revision b2e0f490b253e780e76a918839034208349842cf)
1 /*	$OpenBSD: cpu.h,v 1.4 2011/06/24 19:47:48 naddy Exp $	*/
2 /*	$NetBSD: cpu.h,v 1.1 2006/09/01 21:26:18 uwe Exp $	*/
3 
4 #ifndef	_MACHINE_CPU_H_
5 #define	_MACHINE_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 		/*		2	   formerly: keyboard reset */
16 #define	CPU_LED_BLINK		3	/* blink leds */
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 	{ 0, 0 },							\
23 	{ "led_blink",		CTLTYPE_INT }				\
24 }
25 
26 #endif	/* _MACHINE_CPU_H_ */
27