Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Move things around for <arm/arm32/machdep.h>
details: https://anonhg.NetBSD.org/src/rev/f668c370ca92
branches: trunk
changeset: 781349:f668c370ca92
user: matt <matt%NetBSD.org@localhost>
date: Sat Sep 01 14:48:05 2012 +0000
description:
Move things around for <arm/arm32/machdep.h>
diffstat:
sys/arch/arm/at91/at91bus.c | 22 +++++++++++-----------
sys/arch/arm/sa11x0/sa11x0_irqhandler.c | 11 ++++++-----
sys/arch/hpcarm/hpcarm/autoconf.c | 17 ++++++++++-------
3 files changed, 27 insertions(+), 23 deletions(-)
diffs (128 lines):
diff -r 252513552734 -r f668c370ca92 sys/arch/arm/at91/at91bus.c
--- a/sys/arch/arm/at91/at91bus.c Sat Sep 01 14:46:51 2012 +0000
+++ b/sys/arch/arm/at91/at91bus.c Sat Sep 01 14:48:05 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: at91bus.c,v 1.13 2012/07/30 23:35:27 matt Exp $ */
+/* $NetBSD: at91bus.c,v 1.14 2012/09/01 14:48:06 matt Exp $ */
/*
* Copyright (c) 2007 Embedtronics Oy
@@ -27,12 +27,21 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.13 2012/07/30 23:35:27 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.14 2012/09/01 14:48:06 matt Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
#include "opt_pmap_debug.h"
+/* Define various stack sizes in pages */
+#define IRQ_STACK_SIZE 8
+#define ABT_STACK_SIZE 8
+#ifdef IPKDB
+#define UND_STACK_SIZE 16
+#else
+#define UND_STACK_SIZE 8
+#endif
+
#include <sys/param.h>
#include <sys/device.h>
#include <sys/systm.h>
@@ -91,15 +100,6 @@
-/* Define various stack sizes in pages */
-#define IRQ_STACK_SIZE 8
-#define ABT_STACK_SIZE 8
-#ifdef IPKDB
-#define UND_STACK_SIZE 16
-#else
-#define UND_STACK_SIZE 8
-#endif
-
/* boot configuration: */
vm_offset_t physical_start;
vm_offset_t physical_freestart;
diff -r 252513552734 -r f668c370ca92 sys/arch/arm/sa11x0/sa11x0_irqhandler.c
--- a/sys/arch/arm/sa11x0/sa11x0_irqhandler.c Sat Sep 01 14:46:51 2012 +0000
+++ b/sys/arch/arm/sa11x0/sa11x0_irqhandler.c Sat Sep 01 14:48:05 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sa11x0_irqhandler.c,v 1.17 2010/12/20 00:25:29 matt Exp $ */
+/* $NetBSD: sa11x0_irqhandler.c,v 1.18 2012/09/01 14:48:05 matt Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sa11x0_irqhandler.c,v 1.17 2010/12/20 00:25:29 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sa11x0_irqhandler.c,v 1.18 2012/09/01 14:48:05 matt Exp $");
#include "opt_irqstats.h"
@@ -77,15 +77,16 @@
#include <sys/kernel.h>
#include <sys/systm.h>
#include <sys/syslog.h>
+#include <sys/cpu.h>
+#include <sys/intr.h>
#include <sys/malloc.h>
+#include <uvm/uvm_extern.h>
+
#include <arm/arm32/machdep.h>
#include <arm/sa11x0/sa11x0_reg.h>
#include <arm/sa11x0/sa11x0_var.h>
-#include <machine/intr.h>
-#include <machine/cpu.h>
-
irqhandler_t *irqhandlers[NIRQS];
u_int actual_mask;
diff -r 252513552734 -r f668c370ca92 sys/arch/hpcarm/hpcarm/autoconf.c
--- a/sys/arch/hpcarm/hpcarm/autoconf.c Sat Sep 01 14:46:51 2012 +0000
+++ b/sys/arch/hpcarm/hpcarm/autoconf.c Sat Sep 01 14:48:05 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.20 2012/07/29 18:05:43 mlelstv Exp $ */
+/* $NetBSD: autoconf.c,v 1.21 2012/09/01 14:48:05 matt Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -36,23 +36,26 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.20 2012/07/29 18:05:43 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.21 2012/09/01 14:48:05 matt Exp $");
#include "opt_md.h"
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/reboot.h>
+#include <sys/conf.h>
+#include <sys/device.h>
#include <sys/disklabel.h>
-#include <sys/device.h>
-#include <sys/conf.h>
+#include <sys/intr.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
+#include <sys/reboot.h>
+
+#include <uvm/uvm_extern.h>
+
+#include <arm/arm32/machdep.h>
#include <machine/bootconfig.h>
#include <machine/config_hook.h>
-#include <machine/intr.h>
-#include <arm/arm32/machdep.h>
#include "opt_cputypes.h"
#if defined(CPU_SA1100) || defined(CPU_SA1110)
Home |
Main Index |
Thread Index |
Old Index