Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/zaurus/include merge common information (fix build)



details:   https://anonhg.NetBSD.org/src/rev/b4b2dcebab4a
branches:  trunk
changeset: 335467:b4b2dcebab4a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 08 01:52:42 2015 +0000

description:
merge common information (fix build)

diffstat:

 sys/arch/zaurus/include/bootconfig.h |  19 +++++++------------
 1 files changed, 7 insertions(+), 12 deletions(-)

diffs (40 lines):

diff -r ee3100f64661 -r b4b2dcebab4a sys/arch/zaurus/include/bootconfig.h
--- a/sys/arch/zaurus/include/bootconfig.h      Wed Jan 07 23:12:31 2015 +0000
+++ b/sys/arch/zaurus/include/bootconfig.h      Thu Jan 08 01:52:42 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootconfig.h,v 1.1 2006/12/16 05:43:15 ober Exp $      */
+/*     $NetBSD: bootconfig.h,v 1.2 2015/01/08 01:52:42 christos Exp $  */
 
 /*
  * Copyright (c) 1994 Mark Brinicombe.
@@ -41,6 +41,10 @@
  *
  * Based on kate/boot/bootconfig.h
  */
+#ifndef _ZAURUS_BOOTCONFIG_H_
+#define _ZAURUS_BOOTCONFIG_H_
+
+#include <arm/bootconfig.h>
 
 typedef struct _PhysMem {
        u_int address;
@@ -59,17 +63,8 @@
 extern BootConfig bootconfig;
 #define        MAX_BOOT_STRING                 255
 
-#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(char *, const char *, int, void *);
-
-extern char *boot_args;
 extern char *boot_file;
 #endif /* _KERNEL */
 
-/* End of bootconfig.h */
+#endif /* _ZAURUS_BOOTCONFIG_H_ */
+



Home | Main Index | Thread Index | Old Index