Annotation of sys/arch/m68k/include/sysctl.h, Revision 1.1
1.1 ! nbrk 1: /* $OpenBSD: sysctl.h,v 1.4 2001/07/04 08:36:27 niklas Exp $ */
! 2: /* $NetBSD: sysctl.h,v 1.1 1996/12/17 19:26:51 gwr Exp $ */
! 3:
! 4: /*
! 5: * CTL_MACHDEP definitions. (Common to all m68k ports.)
! 6: * This should be included by each m68k port's cpu.h so
! 7: * /usr/sbin/sysctl can be shared on all of them.
! 8: */
! 9: #ifndef CTL_MACHDEP_NAMES
! 10:
! 11: #define CPU_CONSDEV 1 /* dev_t: console terminal device */
! 12: #define CPU_ROOT_DEVICE 2 /* string: root device name */
! 13: #define CPU_BOOTED_KERNEL 3 /* string: booted kernel name */
! 14: #define CPU_MAXID 4 /* number of valid machdep ids */
! 15:
! 16: #define CTL_MACHDEP_NAMES { \
! 17: { 0, 0 }, \
! 18: { "console_device", CTLTYPE_STRUCT }, \
! 19: { "root_device", CTLTYPE_STRING }, \
! 20: { "booted_kernel", CTLTYPE_STRING }, \
! 21: }
! 22:
! 23: #endif /* CTL_MACHDEP_NAMES */
CVSweb