Removed unused #includes.

This commit is contained in:
Bruce Evans 1997-07-20 08:37:24 +00:00
parent 8f0169c8a8
commit e31521c3dd
41 changed files with 41 additions and 205 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
* $Id: autoconf.c,v 1.2 1997/07/08 23:40:04 smp Exp smp $
* $Id: autoconf.c,v 1.70 1997/07/08 23:42:02 fsmp Exp $
*/
/*
@ -49,13 +49,10 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/conf.h>
#include <sys/dmap.h>
#include <sys/reboot.h>
#include <sys/kernel.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <sys/sysctl.h>
#include <machine/bootinfo.h>
@ -106,7 +103,6 @@ static void setroot __P((void));
#include <sys/proc.h>
#include <sys/stat.h>
#include <machine/clock.h>
#include <isofs/cd9660/iso.h>
/*
* XXX All this CD-ROM root stuff is fairly messy. Ick.

View File

@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: swtch.s,v 1.2 1997/07/15 00:12:55 smp Exp smp $
* $Id: swtch.s,v 1.55 1997/07/15 02:51:20 fsmp Exp $
*/
#include "npx.h"
@ -42,7 +42,6 @@
#include <sys/rtprio.h>
#include <machine/asmacros.h>
#include <machine/ipl.h>
#include <machine/smptests.h> /** TEST_LOPRIO */
#ifdef SMP

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_interface.c,v 1.10 1997/07/18 19:45:41 smp Exp smp $
* $Id: db_interface.c,v 1.34 1997/07/18 21:27:52 fsmp Exp $
*/
/*
@ -31,8 +31,6 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/reboot.h>
#include <machine/cons.h>

View File

@ -23,20 +23,17 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_trace.c,v 1.21 1997/04/26 11:45:04 peter Exp $
* $Id: db_trace.c,v 1.22 1997/04/26 19:12:03 peter Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <machine/md_var.h>
#include <machine/segments.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <sys/lock.h>
#include <vm/vm_prot.h>
#include <vm/pmap.h>
#include <ddb/ddb.h>

View File

@ -30,18 +30,15 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: exception.s,v 1.30 1997/06/22 16:03:02 peter Exp $
* $Id: exception.s,v 1.31 1997/07/01 01:02:03 bde Exp $
*/
#include "npx.h" /* NNPX */
#include "assym.s" /* system defines */
#include <sys/errno.h> /* error return codes */
#include <machine/ipl.h> /* SWI_AST_MASK ... */
#include <machine/psl.h> /* PSL_I */
#include <machine/trap.h> /* trap codes */
#include <sys/syscall.h> /* syscall numbers */
#include <machine/asmacros.h> /* miscellaneous macros */
#include <sys/cdefs.h> /* CPP macros */
#ifdef SMP
#include <machine/apic.h> /* for apic_vector.s */

View File

@ -30,18 +30,15 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: exception.s,v 1.30 1997/06/22 16:03:02 peter Exp $
* $Id: exception.s,v 1.31 1997/07/01 01:02:03 bde Exp $
*/
#include "npx.h" /* NNPX */
#include "assym.s" /* system defines */
#include <sys/errno.h> /* error return codes */
#include <machine/ipl.h> /* SWI_AST_MASK ... */
#include <machine/psl.h> /* PSL_I */
#include <machine/trap.h> /* trap codes */
#include <sys/syscall.h> /* syscall numbers */
#include <machine/asmacros.h> /* miscellaneous macros */
#include <sys/cdefs.h> /* CPP macros */
#ifdef SMP
#include <machine/apic.h> /* for apic_vector.s */

View File

@ -36,24 +36,20 @@
* SUCH DAMAGE.
*
* from: Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp
* $Id: identcpu.c,v 1.24 1997/06/02 18:55:44 peter Exp $
* $Id: identcpu.c,v 1.25 1997/06/24 09:45:35 kato Exp $
*/
#include "opt_cpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <machine/asmacros.h>
#include <machine/cpu.h>
#include <machine/reg.h>
#include <machine/psl.h>
#include <machine/clock.h>
#include <machine/specialreg.h>
#include <machine/sysarch.h>
#include <machine/md_var.h>
#include <i386/isa/intr_machdep.h>

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
* $Id: locore.s,v 1.91 1997/07/15 11:07:32 kato Exp $
* $Id: locore.s,v 1.92 1997/07/17 19:44:53 dyson Exp $
*
* originally from: locore.s, by William F. Jolitz
*
@ -47,9 +47,7 @@
#include "opt_cpu.h"
#include "opt_ddb.h"
#include "opt_userconfig.h"
#include "opt_smp.h"
#include <sys/errno.h>
#include <sys/syscall.h>
#include <sys/reboot.h>
@ -59,10 +57,6 @@
#include <machine/pmap.h>
#include <machine/specialreg.h>
#ifdef SMP
#include <machine/apic.h>
#endif /* SMP */
#include "assym.s"
/*

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
* $Id: locore.s,v 1.91 1997/07/15 11:07:32 kato Exp $
* $Id: locore.s,v 1.92 1997/07/17 19:44:53 dyson Exp $
*
* originally from: locore.s, by William F. Jolitz
*
@ -47,9 +47,7 @@
#include "opt_cpu.h"
#include "opt_ddb.h"
#include "opt_userconfig.h"
#include "opt_smp.h"
#include <sys/errno.h>
#include <sys/syscall.h>
#include <sys/reboot.h>
@ -59,10 +57,6 @@
#include <machine/pmap.h>
#include <machine/specialreg.h>
#ifdef SMP
#include <machine/apic.h>
#endif /* SMP */
#include "assym.s"
/*

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.251 1997/06/22 16:03:10 peter Exp $
* $Id: machdep.c,v 1.252 1997/06/27 18:29:55 fsmp Exp $
*/
#include "apm.h"
@ -57,14 +57,11 @@
#include <sys/buf.h>
#include <sys/reboot.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/callout.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/mount.h>
#include <sys/msgbuf.h>
#include <sys/sysent.h>
#include <sys/tty.h>
#include <sys/sysctl.h>
#include <sys/vmmeter.h>
@ -93,7 +90,6 @@
#include <sys/user.h>
#include <sys/exec.h>
#include <sys/vnode.h>
#include <ddb/ddb.h>
@ -103,12 +99,10 @@
#include <machine/apm_bios.h>
#endif
#include <machine/cpu.h>
#include <machine/npx.h>
#include <machine/reg.h>
#include <machine/psl.h>
#include <machine/clock.h>
#include <machine/specialreg.h>
#include <machine/sysarch.h>
#include <machine/cons.h>
#include <machine/bootinfo.h>
#include <machine/md_var.h>

View File

@ -38,7 +38,7 @@
*
* from: Utah $Hdr: mem.c 1.13 89/10/08$
* from: @(#)mem.c 7.2 (Berkeley) 5/9/91
* $Id: mem.c,v 1.44 1997/05/07 20:32:41 peter Exp $
* $Id: mem.c,v 1.45 1997/06/02 08:19:03 dfr Exp $
*/
/*
@ -68,8 +68,6 @@
#include <i386/isa/intr_machdep.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <sys/lock.h>
#include <vm/vm_prot.h>
#include <vm/pmap.h>
#include <vm/vm_extern.h>

View File

@ -22,28 +22,23 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.30 1997/07/18 21:27:52 fsmp Exp $
* $Id: mp_machdep.c,v 1.31 1997/07/19 04:00:35 fsmp Exp $
*/
#include "opt_smp.h"
#include <sys/param.h> /* for KERNBASE */
#include <sys/types.h>
#include <sys/sysproto.h>
#include <sys/time.h>
#include <sys/systm.h>
#include <vm/vm.h> /* for KERNBASE */
#include <vm/vm_param.h> /* for KERNBASE */
#include <vm/pmap.h> /* for KERNBASE */
#include <machine/pmap.h> /* for KERNBASE */
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
#include <machine/smp.h>
#include <machine/apic.h>
#include <machine/mpapic.h>
#include <machine/cpufunc.h>
#include <machine/segments.h>
#include <machine/smptests.h> /** TEST_DEFAULT_CONFIG, APIC_PIN0_TIMER, TEST_TEST1 */
#include <machine/tss.h>

View File

@ -22,28 +22,23 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.30 1997/07/18 21:27:52 fsmp Exp $
* $Id: mp_machdep.c,v 1.31 1997/07/19 04:00:35 fsmp Exp $
*/
#include "opt_smp.h"
#include <sys/param.h> /* for KERNBASE */
#include <sys/types.h>
#include <sys/sysproto.h>
#include <sys/time.h>
#include <sys/systm.h>
#include <vm/vm.h> /* for KERNBASE */
#include <vm/vm_param.h> /* for KERNBASE */
#include <vm/pmap.h> /* for KERNBASE */
#include <machine/pmap.h> /* for KERNBASE */
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
#include <machine/smp.h>
#include <machine/apic.h>
#include <machine/mpapic.h>
#include <machine/cpufunc.h>
#include <machine/segments.h>
#include <machine/smptests.h> /** TEST_DEFAULT_CONFIG, APIC_PIN0_TIMER, TEST_TEST1 */
#include <machine/tss.h>

View File

@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* from: @(#)pmap.c 7.7 (Berkeley) 5/12/91
* $Id: pmap.c,v 1.148 1997/07/17 04:33:38 dyson Exp $
* $Id: pmap.c,v 1.149 1997/07/17 19:45:01 dyson Exp $
*/
/*
@ -78,7 +78,6 @@
#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/msgbuf.h>
#include <sys/queue.h>
#include <sys/vmmeter.h>
#include <sys/mman.h>
@ -97,14 +96,12 @@
#include <sys/user.h>
#include <machine/cpu.h>
#include <machine/pcb.h>
#include <machine/cputypes.h>
#include <machine/md_var.h>
#include <machine/specialreg.h>
#if defined(SMP) || defined(APIC_IO)
#include <machine/smp.h>
#include <machine/apic.h>
#include <machine/smptests.h>
#endif /* SMP || APIC_IO */
#define PMAP_KEEP_PDIRS

View File

@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: swtch.s,v 1.2 1997/07/15 00:12:55 smp Exp smp $
* $Id: swtch.s,v 1.55 1997/07/15 02:51:20 fsmp Exp $
*/
#include "npx.h"
@ -42,7 +42,6 @@
#include <sys/rtprio.h>
#include <machine/asmacros.h>
#include <machine/ipl.h>
#include <machine/smptests.h> /** TEST_LOPRIO */
#ifdef SMP

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91
* $Id$
* $Id: sys_machdep.c,v 1.21 1997/02/22 09:32:53 peter Exp $
*
*/
@ -42,8 +42,6 @@
#include <sys/proc.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_prot.h>
#include <sys/lock.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.99 1997/06/07 04:36:10 bde Exp $
* $Id: trap.c,v 1.100 1997/06/22 16:03:37 peter Exp $
*/
/*
@ -48,11 +48,9 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/acct.h>
#include <sys/kernel.h>
#include <sys/syscall.h>
#include <sys/sysent.h>
#include <sys/queue.h>
#include <sys/vmmeter.h>
#ifdef KTRACE
#include <sys/ktrace.h>
@ -74,8 +72,6 @@
#include <machine/ipl.h>
#include <machine/md_var.h>
#include <machine/psl.h>
#include <machine/reg.h>
#include <machine/trap.h>
#include <machine/../isa/intr_machdep.h>
#include <machine/smp.h>

View File

@ -38,7 +38,7 @@
*
* from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91
* Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$
* $Id: vm_machdep.c,v 1.82 1997/06/25 19:49:45 tegge Exp $
* $Id: vm_machdep.c,v 1.83 1997/06/26 02:04:34 tegge Exp $
*/
#include "npx.h"
@ -54,12 +54,7 @@
#include <machine/clock.h>
#include <machine/cpu.h>
#include <machine/reg.h>
#include <machine/md_var.h>
#include <machine/npx.h>
#ifdef SMP
#include <machine/smp.h>
#endif
#include <vm/vm.h>
#include <vm/vm_param.h>

View File

@ -22,28 +22,23 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.30 1997/07/18 21:27:52 fsmp Exp $
* $Id: mp_machdep.c,v 1.31 1997/07/19 04:00:35 fsmp Exp $
*/
#include "opt_smp.h"
#include <sys/param.h> /* for KERNBASE */
#include <sys/types.h>
#include <sys/sysproto.h>
#include <sys/time.h>
#include <sys/systm.h>
#include <vm/vm.h> /* for KERNBASE */
#include <vm/vm_param.h> /* for KERNBASE */
#include <vm/pmap.h> /* for KERNBASE */
#include <machine/pmap.h> /* for KERNBASE */
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
#include <machine/smp.h>
#include <machine/apic.h>
#include <machine/mpapic.h>
#include <machine/cpufunc.h>
#include <machine/segments.h>
#include <machine/smptests.h> /** TEST_DEFAULT_CONFIG, APIC_PIN0_TIMER, TEST_TEST1 */
#include <machine/tss.h>

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
* $Id: autoconf.c,v 1.2 1997/07/08 23:40:04 smp Exp smp $
* $Id: autoconf.c,v 1.70 1997/07/08 23:42:02 fsmp Exp $
*/
/*
@ -49,13 +49,10 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/conf.h>
#include <sys/dmap.h>
#include <sys/reboot.h>
#include <sys/kernel.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <sys/sysctl.h>
#include <machine/bootinfo.h>
@ -106,7 +103,6 @@ static void setroot __P((void));
#include <sys/proc.h>
#include <sys/stat.h>
#include <machine/clock.h>
#include <isofs/cd9660/iso.h>
/*
* XXX All this CD-ROM root stuff is fairly messy. Ick.

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_interface.c,v 1.10 1997/07/18 19:45:41 smp Exp smp $
* $Id: db_interface.c,v 1.34 1997/07/18 21:27:52 fsmp Exp $
*/
/*
@ -31,8 +31,6 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/reboot.h>
#include <machine/cons.h>

View File

@ -23,20 +23,17 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_trace.c,v 1.21 1997/04/26 11:45:04 peter Exp $
* $Id: db_trace.c,v 1.22 1997/04/26 19:12:03 peter Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <machine/md_var.h>
#include <machine/segments.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <sys/lock.h>
#include <vm/vm_prot.h>
#include <vm/pmap.h>
#include <ddb/ddb.h>

View File

@ -30,18 +30,15 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: exception.s,v 1.30 1997/06/22 16:03:02 peter Exp $
* $Id: exception.s,v 1.31 1997/07/01 01:02:03 bde Exp $
*/
#include "npx.h" /* NNPX */
#include "assym.s" /* system defines */
#include <sys/errno.h> /* error return codes */
#include <machine/ipl.h> /* SWI_AST_MASK ... */
#include <machine/psl.h> /* PSL_I */
#include <machine/trap.h> /* trap codes */
#include <sys/syscall.h> /* syscall numbers */
#include <machine/asmacros.h> /* miscellaneous macros */
#include <sys/cdefs.h> /* CPP macros */
#ifdef SMP
#include <machine/apic.h> /* for apic_vector.s */

View File

@ -36,24 +36,20 @@
* SUCH DAMAGE.
*
* from: Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp
* $Id: identcpu.c,v 1.24 1997/06/02 18:55:44 peter Exp $
* $Id: identcpu.c,v 1.25 1997/06/24 09:45:35 kato Exp $
*/
#include "opt_cpu.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <machine/asmacros.h>
#include <machine/cpu.h>
#include <machine/reg.h>
#include <machine/psl.h>
#include <machine/clock.h>
#include <machine/specialreg.h>
#include <machine/sysarch.h>
#include <machine/md_var.h>
#include <i386/isa/intr_machdep.h>

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
* $Id: locore.s,v 1.91 1997/07/15 11:07:32 kato Exp $
* $Id: locore.s,v 1.92 1997/07/17 19:44:53 dyson Exp $
*
* originally from: locore.s, by William F. Jolitz
*
@ -47,9 +47,7 @@
#include "opt_cpu.h"
#include "opt_ddb.h"
#include "opt_userconfig.h"
#include "opt_smp.h"
#include <sys/errno.h>
#include <sys/syscall.h>
#include <sys/reboot.h>
@ -59,10 +57,6 @@
#include <machine/pmap.h>
#include <machine/specialreg.h>
#ifdef SMP
#include <machine/apic.h>
#endif /* SMP */
#include "assym.s"
/*

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.251 1997/06/22 16:03:10 peter Exp $
* $Id: machdep.c,v 1.252 1997/06/27 18:29:55 fsmp Exp $
*/
#include "apm.h"
@ -57,14 +57,11 @@
#include <sys/buf.h>
#include <sys/reboot.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/callout.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/mount.h>
#include <sys/msgbuf.h>
#include <sys/sysent.h>
#include <sys/tty.h>
#include <sys/sysctl.h>
#include <sys/vmmeter.h>
@ -93,7 +90,6 @@
#include <sys/user.h>
#include <sys/exec.h>
#include <sys/vnode.h>
#include <ddb/ddb.h>
@ -103,12 +99,10 @@
#include <machine/apm_bios.h>
#endif
#include <machine/cpu.h>
#include <machine/npx.h>
#include <machine/reg.h>
#include <machine/psl.h>
#include <machine/clock.h>
#include <machine/specialreg.h>
#include <machine/sysarch.h>
#include <machine/cons.h>
#include <machine/bootinfo.h>
#include <machine/md_var.h>

View File

@ -6,7 +6,7 @@
* [expediant "port" of linux 8087 emulator to 386BSD, with apologies -wfj]
*
* from: 386BSD 0.1
* $Id: math_emulate.c,v 1.22 1997/05/09 04:02:58 peter Exp $
* $Id: math_emulate.c,v 1.23 1997/05/09 09:46:50 peter Exp $
*/
/*
@ -38,24 +38,12 @@
#include <sys/param.h>
#include <sys/systm.h>
#ifdef LKM
#include <sys/types.h>
#include <sys/kernel.h>
#include <sys/lkm.h>
#endif
#include <machine/cpu.h>
#include <machine/psl.h>
#include <machine/reg.h>
#include <sys/proc.h>
#include <sys/acct.h>
#include <sys/kernel.h>
#include <sys/signal.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_prot.h>
#include <sys/lock.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>

View File

@ -38,7 +38,7 @@
*
* from: Utah $Hdr: mem.c 1.13 89/10/08$
* from: @(#)mem.c 7.2 (Berkeley) 5/9/91
* $Id: mem.c,v 1.44 1997/05/07 20:32:41 peter Exp $
* $Id: mem.c,v 1.45 1997/06/02 08:19:03 dfr Exp $
*/
/*
@ -68,8 +68,6 @@
#include <i386/isa/intr_machdep.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <sys/lock.h>
#include <vm/vm_prot.h>
#include <vm/pmap.h>
#include <vm/vm_extern.h>

View File

@ -22,28 +22,23 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.30 1997/07/18 21:27:52 fsmp Exp $
* $Id: mp_machdep.c,v 1.31 1997/07/19 04:00:35 fsmp Exp $
*/
#include "opt_smp.h"
#include <sys/param.h> /* for KERNBASE */
#include <sys/types.h>
#include <sys/sysproto.h>
#include <sys/time.h>
#include <sys/systm.h>
#include <vm/vm.h> /* for KERNBASE */
#include <vm/vm_param.h> /* for KERNBASE */
#include <vm/pmap.h> /* for KERNBASE */
#include <machine/pmap.h> /* for KERNBASE */
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
#include <machine/smp.h>
#include <machine/apic.h>
#include <machine/mpapic.h>
#include <machine/cpufunc.h>
#include <machine/segments.h>
#include <machine/smptests.h> /** TEST_DEFAULT_CONFIG, APIC_PIN0_TIMER, TEST_TEST1 */
#include <machine/tss.h>

View File

@ -22,19 +22,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mpapic.c,v 1.13 1997/07/18 19:45:41 smp Exp smp $
* $Id: mpapic.c,v 1.14 1997/07/18 21:27:53 fsmp Exp $
*/
#include "opt_smp.h"
#include <sys/types.h>
#include <sys/sysproto.h>
#include <sys/systm.h>
#include <machine/smptests.h> /** TEST_LOPRIO, TEST_IPI, TEST_ALTTIMER */
#include <machine/smp.h>
#include <machine/mpapic.h>
#include <machine/cpufunc.h>
#include <machine/segments.h>
#include <i386/isa/intr_machdep.h> /* Xspuriousint() */

View File

@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
* $Id: mplock.s,v 1.9 1997/07/18 19:45:41 smp Exp smp $
* $Id: mplock.s,v 1.11 1997/07/18 21:27:53 fsmp Exp $
*
* Functions for locking between CPUs in a SMP system.
*
@ -21,17 +21,12 @@
*
*/
#include "opt_ddb.h"
#include "assym.s" /* system definitions */
#include <machine/specialreg.h> /* x86 special registers */
#include <machine/asmacros.h> /* miscellaneous asm macros */
#include <machine/smptests.h> /** TEST_LOPRIO */
#include <machine/apic.h>
#include <i386/isa/intr_machdep.h>
/*
* claim LOW PRIO, ie. accept ALL INTerrupts
*/

View File

@ -22,28 +22,23 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.30 1997/07/18 21:27:52 fsmp Exp $
* $Id: mp_machdep.c,v 1.31 1997/07/19 04:00:35 fsmp Exp $
*/
#include "opt_smp.h"
#include <sys/param.h> /* for KERNBASE */
#include <sys/types.h>
#include <sys/sysproto.h>
#include <sys/time.h>
#include <sys/systm.h>
#include <vm/vm.h> /* for KERNBASE */
#include <vm/vm_param.h> /* for KERNBASE */
#include <vm/pmap.h> /* for KERNBASE */
#include <machine/pmap.h> /* for KERNBASE */
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
#include <machine/smp.h>
#include <machine/apic.h>
#include <machine/mpapic.h>
#include <machine/cpufunc.h>
#include <machine/segments.h>
#include <machine/smptests.h> /** TEST_DEFAULT_CONFIG, APIC_PIN0_TIMER, TEST_TEST1 */
#include <machine/tss.h>

View File

@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* from: @(#)pmap.c 7.7 (Berkeley) 5/12/91
* $Id: pmap.c,v 1.148 1997/07/17 04:33:38 dyson Exp $
* $Id: pmap.c,v 1.149 1997/07/17 19:45:01 dyson Exp $
*/
/*
@ -78,7 +78,6 @@
#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/msgbuf.h>
#include <sys/queue.h>
#include <sys/vmmeter.h>
#include <sys/mman.h>
@ -97,14 +96,12 @@
#include <sys/user.h>
#include <machine/cpu.h>
#include <machine/pcb.h>
#include <machine/cputypes.h>
#include <machine/md_var.h>
#include <machine/specialreg.h>
#if defined(SMP) || defined(APIC_IO)
#include <machine/smp.h>
#include <machine/apic.h>
#include <machine/smptests.h>
#endif /* SMP || APIC_IO */
#define PMAP_KEEP_PDIRS

View File

@ -37,7 +37,7 @@
* @(#)procfs_machdep.c 8.3 (Berkeley) 1/27/94
*
* From:
* $Id$
* $Id: procfs_machdep.c,v 1.9 1997/02/22 09:32:44 peter Exp $
*/
/*
@ -66,20 +66,14 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/time.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/ptrace.h>
#include <sys/vnode.h>
#include <machine/psl.h>
#include <machine/reg.h>
#include <machine/frame.h>
#include <machine/md_var.h>
#include <miscfs/procfs/procfs.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_prot.h>
#include <sys/lock.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>

View File

@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: swtch.s,v 1.2 1997/07/15 00:12:55 smp Exp smp $
* $Id: swtch.s,v 1.55 1997/07/15 02:51:20 fsmp Exp $
*/
#include "npx.h"
@ -42,7 +42,6 @@
#include <sys/rtprio.h>
#include <machine/asmacros.h>
#include <machine/ipl.h>
#include <machine/smptests.h> /** TEST_LOPRIO */
#ifdef SMP

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91
* $Id$
* $Id: sys_machdep.c,v 1.21 1997/02/22 09:32:53 peter Exp $
*
*/
@ -42,8 +42,6 @@
#include <sys/proc.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_prot.h>
#include <sys/lock.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.99 1997/06/07 04:36:10 bde Exp $
* $Id: trap.c,v 1.100 1997/06/22 16:03:37 peter Exp $
*/
/*
@ -48,11 +48,9 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/acct.h>
#include <sys/kernel.h>
#include <sys/syscall.h>
#include <sys/sysent.h>
#include <sys/queue.h>
#include <sys/vmmeter.h>
#ifdef KTRACE
#include <sys/ktrace.h>
@ -74,8 +72,6 @@
#include <machine/ipl.h>
#include <machine/md_var.h>
#include <machine/psl.h>
#include <machine/reg.h>
#include <machine/trap.h>
#include <machine/../isa/intr_machdep.h>
#include <machine/smp.h>

View File

@ -38,7 +38,7 @@
*
* from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91
* Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$
* $Id: vm_machdep.c,v 1.82 1997/06/25 19:49:45 tegge Exp $
* $Id: vm_machdep.c,v 1.83 1997/06/26 02:04:34 tegge Exp $
*/
#include "npx.h"
@ -54,12 +54,7 @@
#include <machine/clock.h>
#include <machine/cpu.h>
#include <machine/reg.h>
#include <machine/md_var.h>
#include <machine/npx.h>
#ifdef SMP
#include <machine/smp.h>
#endif
#include <vm/vm.h>
#include <vm/vm_param.h>

View File

@ -22,28 +22,23 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.30 1997/07/18 21:27:52 fsmp Exp $
* $Id: mp_machdep.c,v 1.31 1997/07/19 04:00:35 fsmp Exp $
*/
#include "opt_smp.h"
#include <sys/param.h> /* for KERNBASE */
#include <sys/types.h>
#include <sys/sysproto.h>
#include <sys/time.h>
#include <sys/systm.h>
#include <vm/vm.h> /* for KERNBASE */
#include <vm/vm_param.h> /* for KERNBASE */
#include <vm/pmap.h> /* for KERNBASE */
#include <machine/pmap.h> /* for KERNBASE */
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
#include <machine/smp.h>
#include <machine/apic.h>
#include <machine/mpapic.h>
#include <machine/cpufunc.h>
#include <machine/segments.h>
#include <machine/smptests.h> /** TEST_DEFAULT_CONFIG, APIC_PIN0_TIMER, TEST_TEST1 */
#include <machine/tss.h>

View File

@ -22,28 +22,23 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.30 1997/07/18 21:27:52 fsmp Exp $
* $Id: mp_machdep.c,v 1.31 1997/07/19 04:00:35 fsmp Exp $
*/
#include "opt_smp.h"
#include <sys/param.h> /* for KERNBASE */
#include <sys/types.h>
#include <sys/sysproto.h>
#include <sys/time.h>
#include <sys/systm.h>
#include <vm/vm.h> /* for KERNBASE */
#include <vm/vm_param.h> /* for KERNBASE */
#include <vm/pmap.h> /* for KERNBASE */
#include <machine/pmap.h> /* for KERNBASE */
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
#include <machine/smp.h>
#include <machine/apic.h>
#include <machine/mpapic.h>
#include <machine/cpufunc.h>
#include <machine/segments.h>
#include <machine/smptests.h> /** TEST_DEFAULT_CONFIG, APIC_PIN0_TIMER, TEST_TEST1 */
#include <machine/tss.h>

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.99 1997/06/07 04:36:10 bde Exp $
* $Id: trap.c,v 1.100 1997/06/22 16:03:37 peter Exp $
*/
/*
@ -48,11 +48,9 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/acct.h>
#include <sys/kernel.h>
#include <sys/syscall.h>
#include <sys/sysent.h>
#include <sys/queue.h>
#include <sys/vmmeter.h>
#ifdef KTRACE
#include <sys/ktrace.h>
@ -74,8 +72,6 @@
#include <machine/ipl.h>
#include <machine/md_var.h>
#include <machine/psl.h>
#include <machine/reg.h>
#include <machine/trap.h>
#include <machine/../isa/intr_machdep.h>
#include <machine/smp.h>