Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/include Include arm/bootconfig.h rather than...
details: https://anonhg.NetBSD.org/src/rev/b9992e9b5c69
branches: trunk
changeset: 581734:b9992e9b5c69
user: rearnsha <rearnsha%NetBSD.org@localhost>
date: Sat Jun 04 13:39:20 2005 +0000
description:
Include arm/bootconfig.h rather than duplicating common code.
diffstat:
sys/arch/evbarm/include/bootconfig.h | 24 +++---------------------
1 files changed, 3 insertions(+), 21 deletions(-)
diffs (45 lines):
diff -r a88e77f61e46 -r b9992e9b5c69 sys/arch/evbarm/include/bootconfig.h
--- a/sys/arch/evbarm/include/bootconfig.h Sat Jun 04 13:38:08 2005 +0000
+++ b/sys/arch/evbarm/include/bootconfig.h Sat Jun 04 13:39:20 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bootconfig.h,v 1.3 2003/09/06 13:34:29 rearnsha Exp $ */
+/* $NetBSD: bootconfig.h,v 1.4 2005/06/04 13:39:20 rearnsha Exp $ */
/*
* Copyright (c) 1994 Mark Brinicombe.
@@ -34,14 +34,10 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * boot configuration structures
- *
- * Created : 12/09/94
- *
- * Based on kate/boot/bootconfig.h
*/
+#include <arm/bootconfig.h>
+
typedef struct _PhysMem {
u_int address;
u_int pages;
@@ -60,18 +56,4 @@
extern BootConfig bootconfig;
#define MAX_BOOT_STRING 255
-#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 (char *string, char *option, int type, void *result);
-
-extern char *boot_args;
-extern char *boot_file;
-#endif /* _KERNEL */
-
/* End of bootconfig.h */
Home |
Main Index |
Thread Index |
Old Index