Move M680[2346]0 to opt_m68kcpu.h.

XXX Some explicit dependencies could be removed now from the individual
arch/$ARCH/conf/Makefile.$ARCH files, but this is still to be done.
This commit is contained in:
is 1998-05-23 20:51:06 +00:00
parent 4f2f40875e
commit 6a6812fd92
51 changed files with 159 additions and 62 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: amiga_init.c,v 1.59 1998/04/14 20:18:08 is Exp $ */
/* $NetBSD: amiga_init.c,v 1.60 1998/05/23 20:51:08 is Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@ -30,6 +30,9 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.95 1998/04/11 16:13:57 mhitch Exp $ */
/* $NetBSD: locore.s,v 1.96 1998/05/23 20:51:08 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -46,6 +46,8 @@
* Other contributors: Bryan Ford (kernel reload stuff)
*/
#include "opt_m68kcpu.h"
#include "assym.h"
#include <machine/asm.h>
#include <machine/trap.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.111 1998/03/22 23:12:50 is Exp $ */
/* $NetBSD: machdep.c,v 1.112 1998/05/23 20:51:08 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,8 @@
* @(#)machdep.c 7.16 (Berkeley) 6/3/91
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signalvar.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.47 1998/05/19 19:00:13 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.48 1998/05/23 20:51:08 is Exp $ */
/*
* Copyright (c) 1991 Regents of the University of California.
@ -75,6 +75,8 @@
* and to when physical maps must be made correct.
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
@ -87,6 +89,7 @@
#include <machine/cpu.h>
#include <machine/vmparam.h>
#include <amiga/amiga/memlist.h>
/*
* Allocate various and sundry SYSMAPs used in the days of old VM
* and not yet converted. XXX.
@ -208,6 +211,10 @@ int protection_codes[8];
#ifndef NKPTADDSHIFT
#define NKPTADDSHIFT 24
#endif
#ifndef NPKTADD
#define NKPTADD 2
#endif
int nkptadd = NKPTADD;
struct kpt_page {
struct kpt_page *kpt_next; /* link on either used or free list */
@ -535,10 +542,9 @@ pmap_init()
*/
npages = howmany(((maxproc + 16) * AMIGA_UPTSIZE / NPTEPG), NBPG);
#ifdef NKPTADD
npages += NKPTADD;
#else
npages += mem_size >> NKPTADDSHIFT;
npages += nkptadd;
#endif
npages += mem_size >> NKPTADDSHIFT;
#if 1/*def DEBUG*/
printf("Maxproc %d, mem_size %ld MB: allocating %ld KPT pages\n",
maxproc, mem_size>>20, npages);
@ -2390,7 +2396,7 @@ pmap_enter_ptpage(pmap, va)
}
#ifdef M68060
if (machineid & M68060) {
if (machineid & AMIGA_68060) {
pmap_changebit(ptpa, PG_CCB, 0);
pmap_changebit(ptpa, PG_CI, 1);
DCIS();

View File

@ -1,4 +1,4 @@
/* $NetBSD: sys_machdep.c,v 1.17 1998/02/25 21:41:55 perry Exp $ */
/* $NetBSD: sys_machdep.c,v 1.18 1998/05/23 20:51:07 is Exp $ */
/*
* Copyright (c) 1982, 1986 Regents of the University of California.
@ -35,6 +35,8 @@
* @(#)sys_machdep.c 7.7 (Berkeley) 5/7/91
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ioctl.h>
@ -127,7 +129,10 @@ cachectl(req, addr, len)
{
int error = 0;
#if defined(M68040) || defined(M68060)
if (mmutype == MMU_68040) {
#if defined(M68020) || defined(M68030)
if (mmutype == MMU_68040)
#endif
{
register int inc = 0;
int pa = 0, doall = 0;
caddr_t end = 0;
@ -204,8 +209,9 @@ cachectl(req, addr, len)
} while (addr < end);
return(error);
}
#endif /* M68040 */
#endif /* M68040/60 */
#if defined(M68020) || defined(M68030)
switch (req) {
case CC_EXTPURGE|CC_PURGE:
case CC_EXTPURGE|CC_FLUSH:
@ -224,6 +230,7 @@ cachectl(req, addr, len)
break;
}
return(error);
#endif /* M68020/30 */
}
/*
@ -237,7 +244,10 @@ dma_cachectl(addr, len)
int len;
{
#if defined(M68040) || defined(M68060)
if (mmutype == MMU_68040) {
#if defined(M68020) || defined(M68030)
if (mmutype == MMU_68040)
#endif /* M68020/30 */
{
register int inc = 0;
int pa = 0;
caddr_t end;
@ -268,7 +278,7 @@ dma_cachectl(addr, len)
addr += inc;
} while (addr < end);
}
#endif /* M68040 */
#endif /* M68040/60 */
return(0);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.58 1998/05/12 23:48:34 is Exp $ */
/* $NetBSD: trap.c,v 1.59 1998/05/23 20:51:07 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,8 @@
* @(#)trap.c 7.15 (Berkeley) 8/2/91
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.amiga,v 1.70 1998/04/12 23:47:42 tv Exp $
# $NetBSD: Makefile.amiga,v 1.71 1998/05/23 20:51:15 is Exp $
# Makefile for NetBSD
#
@ -50,7 +50,8 @@ CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
.if (${HAVE_GCC28} != "")
CWARNFLAGS+= -Wno-main
.endif
.if empty(IDENT:M-DM68060)
OPT_M68KCPU!= cpp -E -dM opt_m68kcpu.h
.if empty(OPT_M68KCPU:MM68060)
CMACHFLAGS= -m68020
.else
CMACHFLAGS= -m68060 -Wa,-m68030

View File

@ -1,4 +1,4 @@
/* $NetBSD: bzivsc.c,v 1.2 1998/01/12 10:39:11 thorpej Exp $ */
/* $NetBSD: bzivsc.c,v 1.3 1998/05/23 20:51:07 is Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -35,6 +35,8 @@
*
*/
#include "opt_m68kcpu.h"
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: bzsc.c,v 1.20 1998/01/12 10:39:12 thorpej Exp $ */
/* $NetBSD: bzsc.c,v 1.21 1998/05/23 20:51:06 is Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -41,6 +41,8 @@
* 53c9x MI driver by Michael L. Hitch (mhitch@montana.edu).
*/
#include "opt_m68kcpu.h"
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: bztzsc.c,v 1.7 1998/01/12 10:39:13 thorpej Exp $ */
/* $NetBSD: bztzsc.c,v 1.8 1998/05/23 20:51:06 is Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -41,6 +41,8 @@
* 53c9x MI driver by Michael L. Hitch (mhitch@montana.edu).
*/
#include "opt_m68kcpu.h"
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: cbiisc.c,v 1.3 1998/01/12 10:39:15 thorpej Exp $ */
/* $NetBSD: cbiisc.c,v 1.4 1998/05/23 20:51:07 is Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -35,6 +35,8 @@
*
*/
#include "opt_m68kcpu.h"
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: cbsc.c,v 1.3 1998/01/12 10:39:16 thorpej Exp $ */
/* $NetBSD: cbsc.c,v 1.4 1998/05/23 20:51:07 is Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -35,6 +35,8 @@
*
*/
#include "opt_m68kcpu.h"
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: flsc.c,v 1.18 1998/01/12 10:39:27 thorpej Exp $ */
/* $NetBSD: flsc.c,v 1.19 1998/05/23 20:51:06 is Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -41,6 +41,8 @@
* 53c9x MI driver by Michael L. Hitch (mhitch@montana.edu).
*/
#include "opt_m68kcpu.h"
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_bah.c,v 1.31 1998/01/12 10:39:47 thorpej Exp $ */
/* $NetBSD: if_bah.c,v 1.32 1998/05/23 20:51:06 is Exp $ */
/*
* Copyright (c) 1994, 1995 Ignatios Souvatzis
@ -43,6 +43,8 @@
/* zeroth version of M68060 support */
#include "opt_m68kcpu.h"
#if defined(M68060) && defined(BAHASMCOPY)
#undef BAHASMCOPY
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbic.c,v 1.29 1997/08/27 11:23:15 bouyer Exp $ */
/* $NetBSD: sbic.c,v 1.30 1998/05/23 20:51:06 is Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -43,6 +43,8 @@
* AMIGA AMD 33C93 scsi adaptor driver
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: atari_init.c,v 1.36 1998/02/24 13:02:06 leo Exp $ */
/* $NetBSD: atari_init.c,v 1.37 1998/05/23 20:51:08 is Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman
@ -32,6 +32,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus.c,v 1.4 1998/05/18 12:06:46 leo Exp $ */
/* $NetBSD: bus.c,v 1.5 1998/05/23 20:51:09 is Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -37,6 +37,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.49 1998/05/11 07:46:17 leo Exp $ */
/* $NetBSD: locore.s,v 1.50 1998/05/23 20:51:09 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -49,6 +49,8 @@
* Atari Modifications: Leo Weppelman
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include "assym.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.27 1998/05/19 19:00:14 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.28 1998/05/23 20:51:09 is Exp $ */
/*
* Copyright (c) 1991 Regents of the University of California.
@ -74,6 +74,7 @@
* to which processors are currently using which maps,
* and to when physical maps must be made correct.
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sys_machdep.c,v 1.11 1998/02/25 21:41:55 perry Exp $ */
/* $NetBSD: sys_machdep.c,v 1.12 1998/05/23 20:51:09 is Exp $ */
/*
* Copyright (c) 1982, 1986 Regents of the University of California.
@ -35,6 +35,8 @@
* @(#)sys_machdep.c 7.7 (Berkeley) 5/7/91
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ioctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.29 1998/05/11 07:46:19 leo Exp $ */
/* $NetBSD: trap.c,v 1.30 1998/05/23 20:51:09 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,7 @@
* @(#)trap.c 7.15 (Berkeley) 8/2/91
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.atari,v 1.43 1998/04/12 23:47:43 tv Exp $
# $NetBSD: Makefile.atari,v 1.44 1998/05/23 20:51:15 is Exp $
# Makefile for NetBSD
#
@ -50,7 +50,8 @@ CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
.if (${HAVE_GCC28} != "")
CWARNFLAGS+= -Wno-main
.endif
.if empty(IDENT:M-DM68060)
OPT_M68KCPU!= cpp -E -dM opt_m68kcpu.h
.if empty(OPT_M68KCPU:MM68060)
CMACHFLAGS= -m68020
.else
CMACHFLAGS= -m68060 -Wa,-m68030

View File

@ -1,4 +1,4 @@
/* $NetBSD: dma.c,v 1.20 1997/10/04 17:38:00 thorpej Exp $ */
/* $NetBSD: dma.c,v 1.21 1998/05/23 20:51:09 is Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -75,6 +75,7 @@
* DMA driver
*/
#include "opt_m68kcpu.h"
#include <machine/hp300spu.h> /* XXX param.h includes cpu.h */
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.84 1998/03/21 08:05:37 scottr Exp $ */
/* $NetBSD: locore.s,v 1.85 1998/05/23 20:51:10 is Exp $ */
/*
* Copyright (c) 1994, 1995 Gordon W. Ross
@ -43,6 +43,7 @@
* @(#)locore.s 8.6 (Berkeley) 5/27/94
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include "assym.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.45 1998/05/19 19:00:15 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.46 1998/05/23 20:51:10 is Exp $ */
/*
* Copyright (c) 1991, 1993
@ -94,6 +94,7 @@
* and to when physical maps must be made correct.
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include <machine/hp300spu.h> /* XXX param.h includes cpu.h */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sys_machdep.c,v 1.18 1998/02/25 21:41:56 perry Exp $ */
/* $NetBSD: sys_machdep.c,v 1.19 1998/05/23 20:51:10 is Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@ -35,6 +35,7 @@
* @(#)sys_machdep.c 8.2 (Berkeley) 1/13/94
*/
#include "opt_m68kcpu.h"
#include <machine/hp300spu.h> /* XXX param.h includes cpu.h */
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.58 1998/02/27 19:13:04 thorpej Exp $ */
/* $NetBSD: trap.c,v 1.59 1998/05/23 20:51:10 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,7 @@
* @(#)trap.c 8.5 (Berkeley) 1/4/94
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include <machine/hp300spu.h> /* XXX param.h includes cpu.h */

View File

@ -1,5 +1,8 @@
# $NetBSD: files.m68k,v 1.20 1998/02/22 08:35:33 mycroft Exp $
# $NetBSD: files.m68k,v 1.21 1998/05/23 20:51:11 is Exp $
#
defopt opt_m68kcpu.h M68020 M68030 M68040 M68060
file arch/m68k/m68k/bcopy.s
file arch/m68k/m68k/copy.s
file arch/m68k/m68k/copypage.s

View File

@ -1,4 +1,4 @@
/* $NetBSD: cacheops.c,v 1.1 1997/06/02 20:26:57 leo Exp $ */
/* $NetBSD: cacheops.c,v 1.2 1998/05/23 20:51:11 is Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -36,6 +36,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include "opt_m68kcpu.h"
#include <sys/cdefs.h>
#include <sys/types.h>
#include <m68k/cpu.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: copypage.s,v 1.4 1997/05/30 01:34:49 jtc Exp $ */
/* $NetBSD: copypage.s,v 1.5 1998/05/23 20:51:11 is Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -41,6 +41,8 @@
* Optimized functions for copying/clearing a whole page.
*/
#include "opt_m68kcpu.h"
#include <machine/asm.h>
#include "assym.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.97 1998/04/24 05:27:25 scottr Exp $ */
/* $NetBSD: locore.s,v 1.98 1998/05/23 20:51:11 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -77,6 +77,7 @@
* @(#)locore.s 7.11 (Berkeley) 5/9/91
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include "assym.h"
#include <machine/asm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.195 1998/05/05 06:48:52 scottr Exp $ */
/* $NetBSD: machdep.c,v 1.196 1998/05/23 20:51:11 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -77,6 +77,7 @@
*/
#include "opt_adb.h"
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include "zsc.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.41 1998/05/19 19:00:16 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.42 1998/05/23 20:51:12 is Exp $ */
/*
* Copyright (c) 1991, 1993
@ -93,6 +93,7 @@
* and to when physical maps must be made correct.
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.58 1998/04/24 05:27:26 scottr Exp $ */
/* $NetBSD: trap.c,v 1.59 1998/05/23 20:51:12 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,7 @@
* @(#)trap.c 8.5 (Berkeley) 1/4/94
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.33 1998/02/21 19:03:26 scw Exp $ */
/* $NetBSD: locore.s,v 1.34 1998/05/23 20:51:12 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,7 @@
* @(#)locore.s 8.6 (Berkeley) 5/27/94
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include "assym.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.36 1998/03/18 22:19:40 is Exp $ */
/* $NetBSD: machdep.c,v 1.37 1998/05/23 20:51:12 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,7 @@
* @(#)machdep.c 8.10 (Berkeley) 4/20/94
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.17 1998/05/19 19:00:16 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.18 1998/05/23 20:51:13 is Exp $ */
/*
* Copyright (c) 1991, 1993
@ -94,6 +94,7 @@
* and to when physical maps must be made correct.
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sys_machdep.c,v 1.7 1998/02/25 21:41:56 perry Exp $ */
/* $NetBSD: sys_machdep.c,v 1.8 1998/05/23 20:51:13 is Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@ -35,6 +35,8 @@
* @(#)sys_machdep.c 8.2 (Berkeley) 1/13/94
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ioctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.15 1998/02/21 19:03:27 scw Exp $ */
/* $NetBSD: trap.c,v 1.16 1998/05/23 20:51:12 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,7 @@
* @(#)trap.c 8.5 (Berkeley) 1/4/94
*/
#include "opt_m68kcpu.h"
#include "opt_uvm.h"
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: genassym.c,v 1.42 1998/02/05 04:57:34 gwr Exp $ */
/* $NetBSD: genassym.c,v 1.43 1998/05/23 20:51:13 is Exp $ */
/*
* Copyright (c) 1994, 1995 Gordon W. Ross
@ -60,6 +60,8 @@
* the gcc asm() statement (inline assembly).
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/types.h>
#include <sys/cdefs.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: genassym.c,v 1.14 1998/02/05 04:57:56 gwr Exp $ */
/* $NetBSD: genassym.c,v 1.15 1998/05/23 20:51:13 is Exp $ */
/*
* Copyright (c) 1994, 1995 Gordon W. Ross
@ -60,6 +60,8 @@
* the gcc asm() statement (inline assembly).
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/types.h>
#include <sys/cdefs.h>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.x68k,v 1.24 1998/04/12 23:47:45 tv Exp $
# $NetBSD: Makefile.x68k,v 1.25 1998/05/23 20:51:15 is Exp $
# Makefile for NetBSD
#
@ -46,7 +46,8 @@ HAVE_GCC28!= ${CC} --version | egrep "^(2\.8|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dx68k
.if empty(IDENT:M-DM68060)
OPT_M68KCPU!= cpp -E -dM opt_m68kcpu.h
.if empty(OPT_M68KCPU:MM68060)
CMACHFLAGS= -m68030
.else
CMACHFLAGS= -m68060

View File

@ -1,4 +1,4 @@
/* $NetBSD: bsd_audio.c,v 1.4 1998/01/12 21:13:41 thorpej Exp $ */
/* $NetBSD: bsd_audio.c,v 1.5 1998/05/23 20:51:13 is Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@ -49,6 +49,8 @@
* at the rate at which samples are naturally generated.
*/
#include "opt_m68kcpu.h"
#include "audio.h"
#if NAUDIO > 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: dma.c,v 1.1.1.1 1996/05/05 12:17:03 oki Exp $ */
/* $NetBSD: dma.c,v 1.2 1998/05/23 20:51:13 is Exp $ */
/*-
* Copyright (c) 1993, 1994 Charles Hannum.
@ -37,6 +37,8 @@
* SUCH DAMAGE.
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/file.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.15 1998/01/12 21:13:42 thorpej Exp $ */
/* $NetBSD: fd.c,v 1.16 1998/05/23 20:51:14 is Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995 Charles Hannum.
@ -39,6 +39,8 @@
* @(#)fd.c 7.4 (Berkeley) 5/25/91
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.26 1998/01/05 23:16:34 thorpej Exp $ */
/* $NetBSD: locore.s,v 1.27 1998/05/23 20:51:14 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,8 @@
* @(#)locore.s 8.6 (Berkeley) 5/27/94
*/
#include "opt_m68kcpu.h"
#include "ite.h"
#include "spc.h"
#include "mha.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.26 1998/02/19 04:18:34 thorpej Exp $ */
/* $NetBSD: machdep.c,v 1.27 1998/05/23 20:51:14 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,8 @@
* @(#)machdep.c 8.10 (Berkeley) 4/20/94
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signalvar.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.16 1998/05/19 19:00:19 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.17 1998/05/23 20:51:14 is Exp $ */
/*
* Copyright (c) 1991, 1993
@ -93,6 +93,8 @@
* and to when physical maps must be made correct.
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap_bootstrap.c,v 1.9 1997/10/12 18:20:23 oki Exp $ */
/* $NetBSD: pmap_bootstrap.c,v 1.10 1998/05/23 20:51:14 is Exp $ */
/*
* Copyright (c) 1991, 1993
@ -39,6 +39,8 @@
* @(#)pmap_bootstrap.c 8.1 (Berkeley) 6/10/93
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <machine/pte.h>
#include <x68k/x68k/iodevice.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sys_machdep.c,v 1.7 1998/02/25 21:41:58 perry Exp $ */
/* $NetBSD: sys_machdep.c,v 1.8 1998/05/23 20:51:14 is Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@ -35,6 +35,8 @@
* @(#)sys_machdep.c 8.2 (Berkeley) 1/13/94
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ioctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.14 1998/02/13 07:42:00 scottr Exp $ */
/* $NetBSD: trap.c,v 1.15 1998/05/23 20:51:14 is Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,8 @@
* @(#)trap.c 8.5 (Berkeley) 1/4/94
*/
#include "opt_m68kcpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>