Home | History | Annotate | Line # | Download | only in installboot
machines.c revision 1.42
      1  1.42   martin /*	$NetBSD: machines.c,v 1.42 2019/08/15 19:53:01 martin Exp $	*/
      2   1.1    lukem 
      3   1.5    lukem /*-
      4  1.30    lukem  * Copyright (c) 2002-2005 The NetBSD Foundation, Inc.
      5   1.5    lukem  * All rights reserved.
      6   1.5    lukem  *
      7   1.5    lukem  * This code is derived from software contributed to The NetBSD Foundation
      8   1.5    lukem  * by Luke Mewburn of Wasabi Systems.
      9   1.5    lukem  *
     10   1.5    lukem  * Redistribution and use in source and binary forms, with or without
     11   1.5    lukem  * modification, are permitted provided that the following conditions
     12   1.5    lukem  * are met:
     13   1.5    lukem  * 1. Redistributions of source code must retain the above copyright
     14   1.5    lukem  *    notice, this list of conditions and the following disclaimer.
     15   1.5    lukem  * 2. Redistributions in binary form must reproduce the above copyright
     16   1.5    lukem  *    notice, this list of conditions and the following disclaimer in the
     17   1.5    lukem  *    documentation and/or other materials provided with the distribution.
     18   1.5    lukem  *
     19   1.5    lukem  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
     20   1.5    lukem  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     21   1.5    lukem  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     22   1.5    lukem  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
     23   1.5    lukem  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     24   1.5    lukem  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     25   1.5    lukem  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     26   1.5    lukem  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     27   1.5    lukem  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     28   1.5    lukem  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     29   1.5    lukem  * POSSIBILITY OF SUCH DAMAGE.
     30   1.5    lukem  */
     31  1.16    lukem 
     32  1.24      jmc #if HAVE_NBTOOL_CONFIG_H
     33  1.24      jmc #include "nbtool_config.h"
     34  1.24      jmc #endif
     35  1.24      jmc 
     36  1.16    lukem #include <sys/cdefs.h>
     37  1.36  tsutsui #if !defined(__lint)
     38  1.42   martin __RCSID("$NetBSD: machines.c,v 1.42 2019/08/15 19:53:01 martin Exp $");
     39  1.16    lukem #endif	/* !__lint */
     40   1.1    lukem 
     41   1.1    lukem #include <sys/types.h>
     42   1.1    lukem #include "installboot.h"
     43   1.1    lukem 
     44  1.38     matt struct ib_mach * const machines[] = {
     45  1.41   martin #ifdef	SINGLE_ARCH
     46  1.42   martin     &SINGLE_ARCH,
     47  1.41   martin #else
     48  1.34      uwe     &ib_mach_alpha,
     49  1.34      uwe     &ib_mach_amd64,
     50  1.34      uwe     &ib_mach_amiga,
     51  1.37    pooka     &ib_mach_emips,
     52  1.40  thorpej     &ib_mach_evbarm,
     53  1.34      uwe     &ib_mach_ews4800mips,
     54  1.34      uwe     &ib_mach_hp300,
     55  1.39    skrll     &ib_mach_hppa,
     56  1.34      uwe     &ib_mach_i386,
     57  1.34      uwe     &ib_mach_landisk,
     58  1.34      uwe     &ib_mach_macppc,
     59  1.34      uwe     &ib_mach_news68k,
     60  1.34      uwe     &ib_mach_newsmips,
     61  1.34      uwe     &ib_mach_next68k,
     62  1.34      uwe     &ib_mach_pmax,
     63  1.34      uwe     &ib_mach_sparc,
     64  1.34      uwe     &ib_mach_sparc64,
     65  1.34      uwe     &ib_mach_sun2,
     66  1.34      uwe     &ib_mach_sun3,
     67  1.34      uwe     &ib_mach_vax,
     68  1.34      uwe     &ib_mach_x68k,
     69  1.41   martin #endif
     70  1.32      dsl     NULL
     71   1.1    lukem };
     72  1.32      dsl 
     73  1.32      dsl #if 0
     74  1.32      dsl 	{ "shark",	no_setboot,	no_clearboot,	no_editboot, 0 },
     75  1.32      dsl #endif
     76