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