Module Name: src Committed By: matt Date: Sun Aug 18 21:42:16 UTC 2013
Modified Files: src/sys/arch/acorn32/acorn32: rpc_machdep.c src/sys/arch/acorn32/eb7500atx: eb7500atx_machdep.c src/sys/arch/netwinder/netwinder: netwinder_machdep.c src/sys/arch/zaurus/zaurus: machdep.c Log Message: Fix more <arm/locore.h> lossage To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/arch/acorn32/acorn32/rpc_machdep.c cvs rdiff -u -r1.25 -r1.26 src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c cvs rdiff -u -r1.80 -r1.81 \ src/sys/arch/netwinder/netwinder/netwinder_machdep.c cvs rdiff -u -r1.34 -r1.35 src/sys/arch/zaurus/zaurus/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/acorn32/acorn32/rpc_machdep.c diff -u src/sys/arch/acorn32/acorn32/rpc_machdep.c:1.86 src/sys/arch/acorn32/acorn32/rpc_machdep.c:1.87 --- src/sys/arch/acorn32/acorn32/rpc_machdep.c:1.86 Sat Sep 22 00:33:36 2012 +++ src/sys/arch/acorn32/acorn32/rpc_machdep.c Sun Aug 18 21:42:16 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: rpc_machdep.c,v 1.86 2012/09/22 00:33:36 matt Exp $ */ +/* $NetBSD: rpc_machdep.c,v 1.87 2013/08/18 21:42:16 matt Exp $ */ /* * Copyright (c) 2000-2002 Reinoud Zandijk. @@ -55,7 +55,7 @@ #include <sys/param.h> -__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.86 2012/09/22 00:33:36 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.87 2013/08/18 21:42:16 matt Exp $"); #include <sys/systm.h> #include <sys/kernel.h> @@ -66,39 +66,38 @@ __KERNEL_RCSID(0, "$NetBSD: rpc_machdep. #include <sys/exec_aout.h> #include <sys/ksyms.h> #include <sys/bus.h> +#include <sys/cpu.h> +#include <sys/intr.h> +#include <sys/device.h> #include <dev/cons.h> +#include <dev/ic/pckbcvar.h> + +#include <dev/i2c/i2cvar.h> +#include <dev/i2c/pcf8583var.h> + #include <machine/db_machdep.h> #include <ddb/db_sym.h> #include <ddb/db_extern.h> #include <uvm/uvm.h> -#include <machine/signal.h> -#include <machine/frame.h> -#include <machine/bootconfig.h> -#include <machine/cpu.h> -#include <machine/io.h> -#include <machine/intr.h> -#include <arm/cpuconf.h> +#include <arm/locore.h> +#include <arm/undefined.h> #include <arm/arm32/katelib.h> #include <arm/arm32/machdep.h> #include <arm/arm32/pmap.h> -#include <arm/undefined.h> + #include <machine/rtc.h> +#include <machine/signal.h> +#include <machine/bootconfig.h> +#include <machine/io.h> #include <arm/iomd/vidc.h> #include <arm/iomd/iomdreg.h> #include <arm/iomd/iomdvar.h> - #include <arm/iomd/vidcvideo.h> - -#include <sys/device.h> -#include <dev/ic/pckbcvar.h> - -#include <dev/i2c/i2cvar.h> -#include <dev/i2c/pcf8583var.h> #include <arm/iomd/iomdiicvar.h> static i2c_tag_t acorn32_i2c_tag; Index: src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c diff -u src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.25 src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.26 --- src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.25 Sat Sep 22 00:33:37 2012 +++ src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c Sun Aug 18 21:42:16 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: eb7500atx_machdep.c,v 1.25 2012/09/22 00:33:37 matt Exp $ */ +/* $NetBSD: eb7500atx_machdep.c,v 1.26 2013/08/18 21:42:16 matt Exp $ */ /* * Copyright (c) 2000-2002 Reinoud Zandijk. @@ -55,7 +55,7 @@ #include <sys/param.h> -__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.25 2012/09/22 00:33:37 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.26 2013/08/18 21:42:16 matt Exp $"); #include <sys/systm.h> #include <sys/kernel.h> @@ -66,38 +66,37 @@ __KERNEL_RCSID(0, "$NetBSD: eb7500atx_ma #include <sys/exec_aout.h> #include <sys/ksyms.h> #include <sys/bus.h> +#include <sys/cpu.h> +#include <sys/intr.h> +#include <sys/device.h> #include <dev/cons.h> +#include <dev/ic/pckbcvar.h> + +#include <dev/i2c/i2cvar.h> +#include <dev/i2c/pcf8583var.h> + #include <machine/db_machdep.h> #include <ddb/db_sym.h> #include <ddb/db_extern.h> #include <uvm/uvm.h> +#include <arm/locore.h> +#include <arm/undefined.h> + #include <machine/signal.h> -#include <machine/frame.h> #include <machine/bootconfig.h> -#include <machine/cpu.h> #include <machine/io.h> -#include <machine/intr.h> -#include <arm/cpuconf.h> #include <arm/arm32/katelib.h> #include <arm/arm32/machdep.h> -#include <arm/undefined.h> #include <machine/rtc.h> #include <arm/iomd/vidc.h> #include <arm/iomd/iomdreg.h> #include <arm/iomd/iomdvar.h> - #include <arm/iomd/vidcvideo.h> - -#include <sys/device.h> -#include <dev/ic/pckbcvar.h> - -#include <dev/i2c/i2cvar.h> -#include <dev/i2c/pcf8583var.h> #include <arm/iomd/iomdiicvar.h> /* static i2c_tag_t acorn32_i2c_tag;*/ Index: src/sys/arch/netwinder/netwinder/netwinder_machdep.c diff -u src/sys/arch/netwinder/netwinder/netwinder_machdep.c:1.80 src/sys/arch/netwinder/netwinder/netwinder_machdep.c:1.81 --- src/sys/arch/netwinder/netwinder/netwinder_machdep.c:1.80 Sat Oct 13 17:58:55 2012 +++ src/sys/arch/netwinder/netwinder/netwinder_machdep.c Sun Aug 18 21:42:16 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: netwinder_machdep.c,v 1.80 2012/10/13 17:58:55 jdc Exp $ */ +/* $NetBSD: netwinder_machdep.c,v 1.81 2013/08/18 21:42:16 matt Exp $ */ /* * Copyright (c) 1997,1998 Mark Brinicombe. @@ -40,11 +40,20 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: netwinder_machdep.c,v 1.80 2012/10/13 17:58:55 jdc Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netwinder_machdep.c,v 1.81 2013/08/18 21:42:16 matt Exp $"); #include "opt_ddb.h" #include "opt_pmap_debug.h" +#define _ARM32_BUS_DMA_PRIVATE + +#include "isa.h" +#include "isadma.h" +#include "igsfb.h" +#include "pckbc.h" +#include "com.h" +#include "ksyms.h" + #include <sys/param.h> #include <sys/device.h> #include <sys/systm.h> @@ -55,53 +64,46 @@ __KERNEL_RCSID(0, "$NetBSD: netwinder_ma #include <sys/reboot.h> #include <sys/termios.h> #include <sys/ksyms.h> +#include <sys/bus.h> +#include <sys/cpu.h> +#include <sys/intr.h> #include <uvm/uvm_extern.h> #include <dev/cons.h> -#include <machine/db_machdep.h> -#include <ddb/db_sym.h> -#include <ddb/db_extern.h> - -#include <arm/arm32/machdep.h> - -#include <machine/bootconfig.h> -#define _ARM32_BUS_DMA_PRIVATE -#include <sys/bus.h> -#include <machine/cpu.h> -#include <machine/frame.h> -#include <machine/intr.h> -#include <arm/undefined.h> - -#include <machine/netwinder_boot.h> -#include <arm/footbridge/dc21285mem.h> -#include <arm/footbridge/dc21285reg.h> - -#include "isa.h" -#include "isadma.h" #if NISA > 0 #include <dev/isa/isareg.h> #include <dev/isa/isavar.h> #endif -#include "igsfb.h" #if NIGSFB > 0 #include <dev/pci/pcivar.h> #include <dev/pci/igsfb_pcivar.h> #endif -#include "pckbc.h" #if NPCKBC > 0 #include <dev/ic/i8042reg.h> #include <dev/ic/pckbcvar.h> #endif -#include "com.h" #include <dev/ic/comreg.h> #include <dev/ic/comvar.h> -#include "ksyms.h" +#include <machine/db_machdep.h> +#include <ddb/db_sym.h> +#include <ddb/db_extern.h> + +#include <arm/arm32/machdep.h> + +#include <machine/bootconfig.h> +#include <arm/locore.h> +#include <arm/undefined.h> + +#include <machine/netwinder_boot.h> +#include <arm/footbridge/dc21285mem.h> +#include <arm/footbridge/dc21285reg.h> + static bus_space_handle_t isa_base = (bus_space_handle_t) DC21285_PCI_IO_VBASE; Index: src/sys/arch/zaurus/zaurus/machdep.c diff -u src/sys/arch/zaurus/zaurus/machdep.c:1.34 src/sys/arch/zaurus/zaurus/machdep.c:1.35 --- src/sys/arch/zaurus/zaurus/machdep.c:1.34 Sat Sep 22 00:33:42 2012 +++ src/sys/arch/zaurus/zaurus/machdep.c Sun Aug 18 21:42:16 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.34 2012/09/22 00:33:42 matt Exp $ */ +/* $NetBSD: machdep.c,v 1.35 2013/08/18 21:42:16 matt Exp $ */ /* $OpenBSD: zaurus_machdep.c,v 1.25 2006/06/20 18:24:04 todd Exp $ */ /* @@ -107,7 +107,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.34 2012/09/22 00:33:42 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.35 2013/08/18 21:42:16 matt Exp $"); #include "opt_ddb.h" #include "opt_kgdb.h" @@ -132,13 +132,16 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v #include <sys/reboot.h> #include <sys/termios.h> #include <sys/boot_flag.h> +#include <sys/cpu.h> +#include <sys/conf.h> +#include <sys/queue.h> +#include <sys/bus.h> #include <uvm/uvm_extern.h> #include <dev/cons.h> -#include <sys/conf.h> -#include <sys/queue.h> -#include <sys/bus.h> + +#include <dev/ic/comreg.h> #include <machine/db_machdep.h> #include <ddb/db_sym.h> @@ -149,12 +152,11 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v #include <machine/bootconfig.h> #include <machine/bootinfo.h> -#include <machine/cpu.h> -#include <machine/frame.h> #ifdef KLOADER #include <machine/kloader.h> #endif +#include <arm/locore.h> #include <arm/undefined.h> #include <arm/arm32/machdep.h> @@ -172,8 +174,6 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v #include <zaurus/dev/zlcdvar.h> #include <zaurus/dev/w100lcdvar.h> -#include <dev/ic/comreg.h> - #if 0 /* XXX */ #include "apm.h" #endif /* XXX */