autoconf.h revision 1.1
11.1Schuck/*	$NetBSD: autoconf.h,v 1.1 1996/05/29 02:32:21 chuck Exp $	*/
21.1Schuck
31.1Schuck/*
41.1Schuck *
51.1Schuck * Copyright (c) 1996 Charles D. Cranor
61.1Schuck * All rights reserved.
71.1Schuck *
81.1Schuck * Redistribution and use in source and binary forms, with or without
91.1Schuck * modification, are permitted provided that the following conditions
101.1Schuck * are met:
111.1Schuck * 1. Redistributions of source code must retain the above copyright
121.1Schuck *    notice, this list of conditions and the following disclaimer.
131.1Schuck * 2. Redistributions in binary form must reproduce the above copyright
141.1Schuck *    notice, this list of conditions and the following disclaimer in the
151.1Schuck *    documentation and/or other materials provided with the distribution.
161.1Schuck * 3. All advertising materials mentioning features or use of this software
171.1Schuck *    must display the following acknowledgement:
181.1Schuck *      This product includes software developed by Charles D. Cranor.
191.1Schuck * 4. The name of the author may not be used to endorse or promote products
201.1Schuck *    derived from this software without specific prior written permission.
211.1Schuck *
221.1Schuck * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
231.1Schuck * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
241.1Schuck * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
251.1Schuck * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
261.1Schuck * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
271.1Schuck * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
281.1Schuck * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
291.1Schuck * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
301.1Schuck * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
311.1Schuck * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
321.1Schuck */
331.1Schuck
341.1Schuck/*
351.1Schuck * autoconf.h
361.1Schuck */
371.1Schuck
381.1Schuck/* the following are from the prom/bootblocks */
391.1Schuckvoid	*bootaddr;	/* PA of boot device */
401.1Schuckint	bootctrllun;	/* ctrl_lun of boot device */
411.1Schuckint	bootdevlun;	/* dev_lun of boot device */
421.1Schuckint	bootpart;	/* boot partition (disk) */
431.1Schuck
441.1Schuckstruct	device *bootdv;	/* boot device */
451.1Schuck
461.1Schuck/* PARTITIONSHIFT from disklabel.h */
471.1Schuck#define	PARTITIONMASK	((1 << PARTITIONSHIFT) - 1)
48