1170530Ssam/*	$NetBSD: autoconf.h,v 1.10 2007/10/17 19:57:04 garbled Exp $	*/
2178354Ssam
3170530Ssam/*
4170530Ssam * Copyright (c) 2000 Soren S. Jorvang
5170530Ssam * All rights reserved.
6170530Ssam *
7170530Ssam * Redistribution and use in source and binary forms, with or without
8170530Ssam * modification, are permitted provided that the following conditions
9170530Ssam * are met:
10170530Ssam * 1. Redistributions of source code must retain the above copyright
11170530Ssam *    notice, this list of conditions and the following disclaimer.
12170530Ssam * 2. Redistributions in binary form must reproduce the above copyright
13170530Ssam *    notice, this list of conditions and the following disclaimer in the
14170530Ssam *    documentation and/or other materials provided with the distribution.
15170530Ssam * 3. All advertising materials mentioning features or use of this software
16170530Ssam *    must display the following acknowledgement:
17170530Ssam *          This product includes software developed for the
18170530Ssam *          NetBSD Project.  See http://www.NetBSD.org/ for
19170530Ssam *          information about NetBSD.
20170530Ssam * 4. The name of the author may not be used to endorse or promote products
21170530Ssam *    derived from this software without specific prior written permission.
22170530Ssam *
23170530Ssam * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
24170530Ssam * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
25170530Ssam * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26170530Ssam * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
27170530Ssam * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28170530Ssam * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29170530Ssam * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30170530Ssam * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31170530Ssam * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32178354Ssam * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33170530Ssam */
34170530Ssam
35170530Ssam#include <sys/bus.h>
36170530Ssam
37170530Ssamstruct mainbus_attach_args {
38170530Ssam	char		*ma_name;
39170530Ssam	unsigned long	ma_addr;
40170530Ssam	bus_space_tag_t	ma_iot;
41170530Ssam	bus_space_handle_t ma_ioh;
42170530Ssam};
43170530Ssam
44170530Ssamextern int ncpus;
45170530Ssam
46178354Ssamvoid	makebootdev (const char *);
47178354Ssam
48178354Ssam