cpu.h revision 1.2 1 1.2 msaitoh /* $NetBSD: cpu.h,v 1.2 1999/12/21 22:19:17 msaitoh Exp $ */
2 1.1 itojun #ifndef _EVBSH3_CPU_H_
3 1.1 itojun #define _EVBSH3_CPU_H_
4 1.1 itojun
5 1.1 itojun #include <sh3/cpu.h>
6 1.2 msaitoh
7 1.2 msaitoh /*
8 1.2 msaitoh * CTL_MACHDEP definitions.
9 1.2 msaitoh */
10 1.2 msaitoh #define CPU_CONSDEV 1 /* dev_t: console terminal device */
11 1.2 msaitoh #define CPU_NKPDE 2 /* int: number of kernel PDEs */
12 1.2 msaitoh #define CPU_BOOTED_KERNEL 3 /* string: booted kernel name */
13 1.2 msaitoh #define CPU_SETPRIVPROC 4 /* set current proc to piviledged proc
14 1.2 msaitoh */
15 1.2 msaitoh #define CPU_DEBUGMODE 5 /* set debug mode */
16 1.2 msaitoh #define CPU_LOADANDRESET 6 /* load kernel image and reset */
17 1.2 msaitoh #define CPU_MAXID 7 /* number of valid machdep ids */
18 1.2 msaitoh
19 1.2 msaitoh #define CTL_MACHDEP_NAMES { \
20 1.2 msaitoh { 0, 0 }, \
21 1.2 msaitoh { "console_device", CTLTYPE_STRUCT }, \
22 1.2 msaitoh { "nkpde", CTLTYPE_INT }, \
23 1.2 msaitoh { "booted_kernel", CTLTYPE_STRING }, \
24 1.2 msaitoh { "set_priv_proc", CTLTYPE_INT }, \
25 1.2 msaitoh { "debug_mode", CTLTYPE_INT }, \
26 1.2 msaitoh { "load_and_reset", CTLTYPE_INT }, \
27 1.2 msaitoh }
28 1.1 itojun
29 1.1 itojun #endif /* _EVBSH3_CPU_H_ */
30