Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/include Add CPU_BOOTED_KERNEL to CTL_MACHDEP d...



details:   https://anonhg.NetBSD.org/src/rev/c24d05840254
branches:  trunk
changeset: 467372:c24d05840254
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Mar 23 22:04:01 1999 +0000

description:
Add CPU_BOOTED_KERNEL to CTL_MACHDEP definition.

diffstat:

 sys/arch/mips/include/cpu.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 9307660f98c2 -r c24d05840254 sys/arch/mips/include/cpu.h
--- a/sys/arch/mips/include/cpu.h       Tue Mar 23 21:46:47 1999 +0000
+++ b/sys/arch/mips/include/cpu.h       Tue Mar 23 22:04:01 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.28 1999/01/14 18:45:46 castor Exp $  */
+/*     $NetBSD: cpu.h,v 1.29 1999/03/23 22:04:01 simonb Exp $  */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -158,11 +158,13 @@
  * CTL_MACHDEP definitions.
  */
 #define        CPU_CONSDEV             1       /* dev_t: console terminal device */
-#define        CPU_MAXID               2       /* number of valid machdep ids */
+#define        CPU_BOOTED_KERNEL       2       /* string: booted kernel name */
+#define        CPU_MAXID               3       /* number of valid machdep ids */
 
 #define CTL_MACHDEP_NAMES { \
        { 0, 0 }, \
        { "console_device", CTLTYPE_STRUCT }, \
+       { "booted_kernel", CTLTYPE_STRING }, \
 }
 
 #ifdef _KERNEL



Home | Main Index | Thread Index | Old Index