1*9aff02ebSdyoung /* $NetBSD: autoconf.h,v 1.11 2011/07/01 21:00:21 dyoung Exp $ */ 2abe9dea1Ssoren 3abe9dea1Ssoren /* 4abe9dea1Ssoren * Copyright (c) 2000 Soren S. Jorvang 5abe9dea1Ssoren * All rights reserved. 6abe9dea1Ssoren * 7abe9dea1Ssoren * Redistribution and use in source and binary forms, with or without 8abe9dea1Ssoren * modification, are permitted provided that the following conditions 9abe9dea1Ssoren * are met: 10abe9dea1Ssoren * 1. Redistributions of source code must retain the above copyright 11abe9dea1Ssoren * notice, this list of conditions and the following disclaimer. 12abe9dea1Ssoren * 2. Redistributions in binary form must reproduce the above copyright 13abe9dea1Ssoren * notice, this list of conditions and the following disclaimer in the 14abe9dea1Ssoren * documentation and/or other materials provided with the distribution. 15abe9dea1Ssoren * 3. All advertising materials mentioning features or use of this software 16abe9dea1Ssoren * must display the following acknowledgement: 17abe9dea1Ssoren * This product includes software developed for the 1807147999Skeihan * NetBSD Project. See http://www.NetBSD.org/ for 19abe9dea1Ssoren * information about NetBSD. 20abe9dea1Ssoren * 4. The name of the author may not be used to endorse or promote products 21abe9dea1Ssoren * derived from this software without specific prior written permission. 22abe9dea1Ssoren * 23abe9dea1Ssoren * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 24abe9dea1Ssoren * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 25abe9dea1Ssoren * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 26abe9dea1Ssoren * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 27abe9dea1Ssoren * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 28abe9dea1Ssoren * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29abe9dea1Ssoren * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30abe9dea1Ssoren * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31abe9dea1Ssoren * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 32abe9dea1Ssoren * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33abe9dea1Ssoren */ 34abe9dea1Ssoren 35*9aff02ebSdyoung #include <sys/bus.h> 36abe9dea1Ssoren 37abe9dea1Ssoren struct mainbus_attach_args { 38abe9dea1Ssoren char *ma_name; 39abe9dea1Ssoren unsigned long ma_addr; 40abe9dea1Ssoren bus_space_tag_t ma_iot; 41abe9dea1Ssoren bus_space_handle_t ma_ioh; 42abe9dea1Ssoren }; 43ce8c5df2Sthorpej 44ce8c5df2Sthorpej extern int ncpus; 456d6ab09eSmhitch 467a969b00Srumble void makebootdev (const char *); 476d6ab09eSmhitch 48