Use <arm/bootconfig.h>.

This commit is contained in:
bjh21 2006-10-24 20:39:13 +00:00
parent b4dff5b189
commit 65d685fe36
5 changed files with 13 additions and 74 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootconfig.h,v 1.6 2005/12/11 12:16:05 christos Exp $ */
/* $NetBSD: bootconfig.h,v 1.7 2006/10/24 20:39:13 bjh21 Exp $ */
/*
* Copyright (c) 2002 Reinoud Zandijk.
@ -32,6 +32,7 @@
*
*/
#include <arm/bootconfig.h>
/* get some spare blocks ;) */
#define DRAM_BLOCKS 32
@ -97,20 +98,4 @@ struct bootconfig {
extern struct bootconfig bootconfig;
#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, const char *option, int type, void *result));
extern char *boot_args;
extern char *boot_file;
#endif /* _KERNEL */
/* End of bootconfig.h */

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootconfig.h,v 1.4 2005/12/11 12:17:04 christos Exp $ */
/* $NetBSD: bootconfig.h,v 1.5 2006/10/24 20:39:13 bjh21 Exp $ */
/*
* Copyright (c) 1994 Mark Brinicombe.
@ -49,6 +49,8 @@ typedef struct _PhysMem {
#if defined(_KERNEL)
#include <arm/bootconfig.h>
#define DRAM_BLOCKS 1
typedef struct _BootConfig {
@ -59,17 +61,6 @@ typedef struct _BootConfig {
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 __P((char *string, const char *option, int type, void *result));
extern char *boot_args;
extern char *boot_file;
#endif /* _KERNEL */
/* End of bootconfig.h */

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootconfig.h,v 1.6 2005/12/11 12:17:33 christos Exp $ */
/* $NetBSD: bootconfig.h,v 1.7 2006/10/24 20:39:13 bjh21 Exp $ */
/*
* Copyright (c) 1994 Mark Brinicombe.
@ -49,6 +49,8 @@ typedef struct _PhysMem {
#ifdef _KERNEL
#include <arm/bootconfig.h>
#define DRAM_BLOCKS 1
typedef struct _BootConfig {
@ -59,17 +61,6 @@ typedef struct _BootConfig {
extern BootConfig bootconfig;
#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 */

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootconfig.h,v 1.3 2005/12/11 12:17:51 christos Exp $ */
/* $NetBSD: bootconfig.h,v 1.4 2006/10/24 20:39:14 bjh21 Exp $ */
/*
* Copyright (c) 2002 Reinoud Zandijk.
@ -32,6 +32,7 @@
*
*/
#include <arm/bootconfig.h>
/* get some spare blocks ;) */
#define DRAM_BLOCKS 32
@ -97,21 +98,4 @@ struct bootconfig {
extern struct bootconfig bootconfig;
#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, const char *option, int type,
void *result);
extern char *boot_args;
extern char *boot_file;
#endif /* _KERNEL */
/* End of bootconfig.h */

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootconfig.h,v 1.4 2005/12/11 12:18:20 christos Exp $ */
/* $NetBSD: bootconfig.h,v 1.5 2006/10/24 20:39:14 bjh21 Exp $ */
/*
* Copyright (c) 1994 Mark Brinicombe.
@ -42,6 +42,8 @@
* Based on kate/boot/bootconfig.h
*/
#include <arm/bootconfig.h>
typedef struct _PhysMem {
u_int address;
u_int pages;
@ -57,18 +59,4 @@ typedef struct _BootConfig {
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 __P((char *string, const char *option, int type, void *result));
extern char *boot_args;
extern char *boot_file;
#endif /* _KERNEL */
/* End of bootconfig.h */