Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbmips/malta Don't need to include <sys/malloc.h>, ...



details:   https://anonhg.NetBSD.org/src/rev/13b9969d7fb6
branches:  trunk
changeset: 533988:13b9969d7fb6
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Jul 12 00:27:18 2002 +0000

description:
Don't need to include <sys/malloc.h>, <machine/locore.h> or
<uvm/uvm_extern.h> here.

diffstat:

 sys/arch/evbmips/malta/malta_bus_io.c  |  15 ++++++---------
 sys/arch/evbmips/malta/malta_bus_mem.c |   7 +------
 2 files changed, 7 insertions(+), 15 deletions(-)

diffs (56 lines):

diff -r 2b8bde02fd1f -r 13b9969d7fb6 sys/arch/evbmips/malta/malta_bus_io.c
--- a/sys/arch/evbmips/malta/malta_bus_io.c     Fri Jul 12 00:23:04 2002 +0000
+++ b/sys/arch/evbmips/malta/malta_bus_io.c     Fri Jul 12 00:27:18 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: malta_bus_io.c,v 1.2 2002/03/23 14:33:35 simonb Exp $  */
+/*     $NetBSD: malta_bus_io.c,v 1.3 2002/07/12 00:27:18 simonb Exp $  */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -41,9 +41,6 @@
  */
 
 #include <sys/param.h>
-#include <sys/malloc.h>
-
-#include <machine/locore.h>
 
 #include <evbmips/malta/maltareg.h>
 #include <evbmips/malta/maltavar.h>
@@ -55,10 +52,10 @@
 #define        CHIP_EXTENT(v)          (((struct malta_config *)(v))->mc_io_ex)
 
 /* IO region 1 */
-#define        CHIP_W1_BUS_START(v)            0x00000000UL
-#define        CHIP_W1_BUS_END(v)              MALTA_PCIMEM3_SIZE
-#define        CHIP_W1_SYS_START(v)            ((u_long)MALTA_PCIMEM3_BASE)
-#define        CHIP_W1_SYS_END(v)              ((u_long)MALTA_PCIMEM3_BASE + \
-                                        CHIP_W1_BUS_END(v))
+#define        CHIP_W1_BUS_START(v)    0x00000000UL
+#define        CHIP_W1_BUS_END(v)      MALTA_PCIMEM3_SIZE
+#define        CHIP_W1_SYS_START(v)    ((u_long)MALTA_PCIMEM3_BASE)
+#define        CHIP_W1_SYS_END(v)      ((u_long)MALTA_PCIMEM3_BASE + \
+                                       CHIP_W1_BUS_END(v))
 
 #include <mips/mips/bus_space_alignstride_chipdep.c>
diff -r 2b8bde02fd1f -r 13b9969d7fb6 sys/arch/evbmips/malta/malta_bus_mem.c
--- a/sys/arch/evbmips/malta/malta_bus_mem.c    Fri Jul 12 00:23:04 2002 +0000
+++ b/sys/arch/evbmips/malta/malta_bus_mem.c    Fri Jul 12 00:27:18 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: malta_bus_mem.c,v 1.3 2002/04/09 03:40:17 simonb Exp $ */
+/*     $NetBSD: malta_bus_mem.c,v 1.4 2002/07/12 00:27:19 simonb Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -41,11 +41,6 @@
  */
 
 #include <sys/param.h>
-#include <sys/malloc.h>
-
-#include <uvm/uvm_extern.h>
-
-#include <machine/locore.h>
 
 #include <evbmips/malta/maltareg.h>
 #include <evbmips/malta/maltavar.h>



Home | Main Index | Thread Index | Old Index