Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/shark/include Include <arm/bootconfig.h> to get the...



details:   https://anonhg.NetBSD.org/src/rev/6ab7c69b16f3
branches:  trunk
changeset: 581639:6ab7c69b16f3
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Jun 03 12:48:25 2005 +0000

description:
Include <arm/bootconfig.h> to get the get_bootconf_option() prototype and
associated definitions, instead of rolling our own.

diffstat:

 sys/arch/shark/include/bootconfig.h |  16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diffs (27 lines):

diff -r a0951e24c7c1 -r 6ab7c69b16f3 sys/arch/shark/include/bootconfig.h
--- a/sys/arch/shark/include/bootconfig.h       Fri Jun 03 12:39:52 2005 +0000
+++ b/sys/arch/shark/include/bootconfig.h       Fri Jun 03 12:48:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootconfig.h,v 1.1 2002/02/10 01:57:08 thorpej Exp $   */
+/*     $NetBSD: bootconfig.h,v 1.2 2005/06/03 12:48:25 scw Exp $       */
 
 /*
  * Copyright (c) 1994 Mark Brinicombe.
@@ -76,16 +76,4 @@
 extern BootConfig bootconfig;
 #endif /* _KERNEL && OFW */
 
-#ifdef _KERNEL
-#define BOOTOPT_TYPE_BOOLEAN           0
-#define BOOTOPT_TYPE_STRING            1
-#define BOOTOPT_TYPE_INT               2
-#define BOOTOPT_TYPE_BININT            3
-#define BOOTOPT_TYPE_HEXINT            4
-#define BOOTOPT_TYPE_MASK              7
-
-int get_bootconf_option __P((char *string, char *option, int type, void *result));
-
-extern char *boot_args;
-extern char *boot_file;
-#endif /* _KERNEL */
+#include <arm/bootconfig.h>



Home | Main Index | Thread Index | Old Index