Add explicit #include <vm/vm.h> before mips/pte.h is included.

This commit is contained in:
jonathan 1997-10-17 09:34:43 +00:00
parent ab3ada3fcb
commit dd7290db41
7 changed files with 45 additions and 19 deletions

View File

@ -45,8 +45,12 @@ include <sys/map.h>
include <sys/proc.h>
include <sys/mbuf.h>
include <sys/user.h>
include <sys/vmmeter.h>
include <vm/vm.h>
include <machine/reg.h>
include <machine/vmparam.h>
include <mips/locore.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mips_machdep.c,v 1.20 1997/09/11 23:02:10 mycroft Exp $ */
/* $NetBSD: mips_machdep.c,v 1.21 1997/10/17 09:35:11 jonathan Exp $ */
/*
* Copyright 1996 The Board of Trustees of The Leland Stanford
@ -13,6 +13,10 @@
* express or implied warranty.
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.21 1997/10/17 09:35:11 jonathan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/exec.h>
@ -24,6 +28,8 @@
#include <sys/syscallargs.h>
#include <sys/user.h>
#include <vm/vm.h>
#include <mips/cpu.h> /* declaration of of cpu_id */
#include <mips/regnum.h> /* symbolic register indices */
#include <mips/locore.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.32 1997/10/17 05:57:20 jonathan Exp $ */
/* $NetBSD: pmap.c,v 1.33 1997/10/17 09:35:17 jonathan Exp $ */
/*
* Copyright (c) 1992, 1993
@ -41,7 +41,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.32 1997/10/17 05:57:20 jonathan Exp $");
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.33 1997/10/17 09:35:17 jonathan Exp $");
/*
* Manages physical address maps.
@ -79,6 +79,7 @@ __KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.32 1997/10/17 05:57:20 jonathan Exp $");
#include <sys/shm.h>
#endif
#include <vm/vm.h>
#include <vm/vm_kern.h>
#include <vm/vm_page.h>
#include <vm/vm_pageout.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.77 1997/08/17 17:02:07 mhitch Exp $ */
/* $NetBSD: trap.c,v 1.78 1997/10/17 09:35:02 jonathan Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,9 @@
* @(#)trap.c 8.5 (Berkeley) 1/11/94
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.78 1997/10/17 09:35:02 jonathan Exp $");
#if !defined(MIPS1) && !defined(MIPS3)
#error Neither "MIPS1" (r2000 family), "MIPS3" (r4000 family) was configured.
#endif
@ -62,6 +65,10 @@
#include <mips/locore.h>
#include <mips/mips_opcode.h>
#include <vm/vm.h>
#include <vm/vm_kern.h>
#include <vm/vm_page.h>
#include <machine/cpu.h>
#include <mips/trap.h>
#include <machine/psl.h>
@ -69,10 +76,6 @@
#include <mips/regnum.h> /* symbolic register indices */
#include <mips/pte.h>
#include <vm/vm.h>
#include <vm/vm_kern.h>
#include <vm/vm_page.h>
#include <sys/cdefs.h>
#include <sys/syslog.h>
#include <miscfs/procfs/procfs.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.23 1997/06/22 07:43:06 jonathan Exp $ */
/* $NetBSD: vm_machdep.c,v 1.24 1997/10/17 09:35:08 jonathan Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,9 @@
* @(#)vm_machdep.c 8.3 (Berkeley) 1/4/94
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.24 1997/10/17 09:35:08 jonathan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
@ -52,14 +55,14 @@
#include <sys/core.h>
#include <sys/exec.h>
#include <mips/locore.h>
#include <mips/pte.h>
#include <machine/cpu.h>
#include <vm/vm.h>
#include <vm/vm_kern.h>
#include <vm/vm_page.h>
#include <mips/locore.h>
#include <mips/pte.h>
#include <machine/cpu.h>
extern struct proc *fpcurproc; /* trap.c */
extern void savefpregs __P((struct proc *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.97 1997/09/19 13:55:22 leo Exp $ */
/* $NetBSD: machdep.c,v 1.98 1997/10/17 09:34:52 jonathan Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -41,6 +41,10 @@
* @(#)machdep.c 8.3 (Berkeley) 1/12/94
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.98 1997/10/17 09:34:52 jonathan Exp $");
/* from: Utah Hdr: machdep.c 1.63 91/04/24 */
#include <sys/param.h>
@ -63,6 +67,7 @@
#include <sys/device.h>
#include <sys/user.h>
#include <sys/exec.h>
#include <vm/vm.h>
#include <sys/sysctl.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmax_trap.c,v 1.50 1997/08/17 18:13:25 mhitch Exp $ */
/* $NetBSD: pmax_trap.c,v 1.51 1997/10/17 09:34:43 jonathan Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,6 +42,10 @@
* @(#)trap.c 8.5 (Berkeley) 1/11/94
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: pmax_trap.c,v 1.51 1997/10/17 09:34:43 jonathan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
@ -56,6 +60,10 @@
#endif
#include <net/netisr.h>
#include <vm/vm.h>
#include <vm/vm_kern.h>
#include <vm/vm_page.h>
#include <machine/trap.h>
#include <machine/psl.h>
#include <machine/reg.h>
@ -64,10 +72,6 @@
#include <machine/mips_opcode.h>
#include <mips/locore.h> /* wbflush() */
#include <vm/vm.h>
#include <vm/vm_kern.h>
#include <vm/vm_page.h>
/* XXX */
#include <pmax/pmax/clockreg.h>
#include <pmax/pmax/kn02.h>