bootconfig.h revision 1.6.22.1
11.6.22.1Syamt/*	$NetBSD: bootconfig.h,v 1.6.22.1 2006/12/10 07:16:00 yamt Exp $	*/
21.1Sichiro
31.1Sichiro/*
41.1Sichiro * Copyright (c) 1994 Mark Brinicombe.
51.1Sichiro * Copyright (c) 1994 Brini.
61.1Sichiro * All rights reserved.
71.1Sichiro *
81.1Sichiro * This code is derived from software written for Brini by Mark Brinicombe
91.1Sichiro *
101.1Sichiro * Redistribution and use in source and binary forms, with or without
111.1Sichiro * modification, are permitted provided that the following conditions
121.1Sichiro * are met:
131.1Sichiro * 1. Redistributions of source code must retain the above copyright
141.1Sichiro *    notice, this list of conditions and the following disclaimer.
151.1Sichiro * 2. Redistributions in binary form must reproduce the above copyright
161.1Sichiro *    notice, this list of conditions and the following disclaimer in the
171.1Sichiro *    documentation and/or other materials provided with the distribution.
181.1Sichiro * 3. All advertising materials mentioning features or use of this software
191.1Sichiro *    must display the following acknowledgement:
201.1Sichiro *	This product includes software developed by Mark Brinicombe
211.1Sichiro *	for the NetBSD Project.
221.1Sichiro * 4. The name of the company nor the name of the author may be used to
231.1Sichiro *    endorse or promote products derived from this software without specific
241.1Sichiro *    prior written permission.
251.1Sichiro *
261.1Sichiro * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
271.1Sichiro * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
281.1Sichiro * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
291.1Sichiro * IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
301.1Sichiro * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
311.1Sichiro * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
321.1Sichiro * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
331.1Sichiro * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
341.1Sichiro * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
351.1Sichiro * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
361.1Sichiro * SUCH DAMAGE.
371.1Sichiro *
381.1Sichiro * boot configuration structures
391.1Sichiro *
401.1Sichiro * Created      : 12/09/94
411.1Sichiro *
421.1Sichiro * Based on kate/boot/bootconfig.h
431.1Sichiro */
441.1Sichiro
451.1Sichirotypedef struct _PhysMem {
461.1Sichiro	u_int address;
471.1Sichiro	u_int pages;
481.1Sichiro} PhysMem;
491.1Sichiro
501.2Sthorpej#ifdef _KERNEL
511.1Sichiro
521.6.22.1Syamt#include <arm/bootconfig.h>
531.6.22.1Syamt
541.1Sichiro#define DRAM_BLOCKS	1
551.1Sichiro
561.1Sichirotypedef struct _BootConfig {
571.1Sichiro	PhysMem dram[DRAM_BLOCKS];
581.1Sichiro	u_int dramblocks;
591.1Sichiro	u_int kernsize;
601.1Sichiro} BootConfig;
611.1Sichiro
621.1Sichiroextern BootConfig bootconfig;
631.2Sthorpej
641.3Stoshiiextern char boot_file[];
651.1Sichiro#endif	/* _KERNEL */
661.1Sichiro
671.1Sichiro/* End of bootconfig.h */
68