xref: /netbsd-src/usr.sbin/installboot/machines.c (revision c1ac8e1a1f981454feca748b662bbeacf0437183)
1*c1ac8e1aStsutsui /*	$NetBSD: machines.c,v 1.44 2024/05/22 15:42:42 tsutsui Exp $	*/
293c03c6eSlukem 
338cd7942Slukem /*-
48dfe8b4dSlukem  * Copyright (c) 2002-2005 The NetBSD Foundation, Inc.
538cd7942Slukem  * All rights reserved.
638cd7942Slukem  *
738cd7942Slukem  * This code is derived from software contributed to The NetBSD Foundation
838cd7942Slukem  * by Luke Mewburn of Wasabi Systems.
938cd7942Slukem  *
1038cd7942Slukem  * Redistribution and use in source and binary forms, with or without
1138cd7942Slukem  * modification, are permitted provided that the following conditions
1238cd7942Slukem  * are met:
1338cd7942Slukem  * 1. Redistributions of source code must retain the above copyright
1438cd7942Slukem  *    notice, this list of conditions and the following disclaimer.
1538cd7942Slukem  * 2. Redistributions in binary form must reproduce the above copyright
1638cd7942Slukem  *    notice, this list of conditions and the following disclaimer in the
1738cd7942Slukem  *    documentation and/or other materials provided with the distribution.
1838cd7942Slukem  *
1938cd7942Slukem  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
2038cd7942Slukem  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
2138cd7942Slukem  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2238cd7942Slukem  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
2338cd7942Slukem  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2438cd7942Slukem  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2538cd7942Slukem  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2638cd7942Slukem  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2738cd7942Slukem  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2838cd7942Slukem  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2938cd7942Slukem  * POSSIBILITY OF SUCH DAMAGE.
3038cd7942Slukem  */
3193c03c6eSlukem 
32b2f78261Sjmc #if HAVE_NBTOOL_CONFIG_H
33b2f78261Sjmc #include "nbtool_config.h"
34b2f78261Sjmc #endif
35b2f78261Sjmc 
364e59fb5bSlukem #include <sys/cdefs.h>
37e5f39b5eStsutsui #if !defined(__lint)
38*c1ac8e1aStsutsui __RCSID("$NetBSD: machines.c,v 1.44 2024/05/22 15:42:42 tsutsui Exp $");
394e59fb5bSlukem #endif	/* !__lint */
404e59fb5bSlukem 
4193c03c6eSlukem #include <sys/types.h>
4293c03c6eSlukem #include "installboot.h"
4393c03c6eSlukem 
44b418df24Smatt struct ib_mach * const machines[] = {
453e1d4a8cSmartin #ifdef	SINGLE_ARCH
46effa0345Smartin     &SINGLE_ARCH,
473e1d4a8cSmartin #else
48973bc97bSuwe     &ib_mach_alpha,
49973bc97bSuwe     &ib_mach_amd64,
50973bc97bSuwe     &ib_mach_amiga,
5102d67d10Sthorpej     &ib_mach_evbarm,
52696896edSthorpej     &ib_mach_evbmips,
53973bc97bSuwe     &ib_mach_ews4800mips,
54973bc97bSuwe     &ib_mach_hp300,
556d3ceb1dSskrll     &ib_mach_hppa,
56973bc97bSuwe     &ib_mach_i386,
57973bc97bSuwe     &ib_mach_landisk,
58973bc97bSuwe     &ib_mach_macppc,
59973bc97bSuwe     &ib_mach_news68k,
60973bc97bSuwe     &ib_mach_newsmips,
61973bc97bSuwe     &ib_mach_next68k,
62973bc97bSuwe     &ib_mach_pmax,
63973bc97bSuwe     &ib_mach_sparc,
64973bc97bSuwe     &ib_mach_sparc64,
65973bc97bSuwe     &ib_mach_sun2,
66973bc97bSuwe     &ib_mach_sun3,
67973bc97bSuwe     &ib_mach_vax,
68973bc97bSuwe     &ib_mach_x68k,
693e1d4a8cSmartin #endif
70cce659e2Sdsl     NULL
7193c03c6eSlukem };
72cce659e2Sdsl 
73cce659e2Sdsl #if 0
74cce659e2Sdsl 	{ "shark",	no_setboot,	no_clearboot,	no_editboot, 0 },
75cce659e2Sdsl #endif
76