Module Name:    src
Committed By:   cliff
Date:           Sun Nov 15 23:09:18 UTC 2009

Modified Files:
        src/sys/arch/mips/include [matt-nb5-mips64]: bus_space.h

Log Message:
- need to be able to handle >32 bit bus addrs in N32 kernel
- bus_addr_t is now paddr_t
- bus_size_t is now psize_t
- bus_space_handle_t is now  intptr_t
- this will impact other MIPS ports, TBD


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.18.1 src/sys/arch/mips/include/bus_space.h

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/mips/include/bus_space.h
diff -u src/sys/arch/mips/include/bus_space.h:1.4 src/sys/arch/mips/include/bus_space.h:1.4.18.1
--- src/sys/arch/mips/include/bus_space.h:1.4	Mon Apr 28 20:23:28 2008
+++ src/sys/arch/mips/include/bus_space.h	Sun Nov 15 23:09:18 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: bus_space.h,v 1.4 2008/04/28 20:23:28 martin Exp $	*/
+/*	$NetBSD: bus_space.h,v 1.4.18.1 2009/11/15 23:09:18 cliff Exp $	*/
 
 /*-
  * Copyright (c) 1997, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -107,14 +107,14 @@
 /*
  * Addresses (in bus space).
  */
-typedef u_long bus_addr_t;
-typedef u_long bus_size_t;
+typedef paddr_t bus_addr_t;
+typedef psize_t bus_size_t;
 
 /*
  * Access methods for bus space.
  */
 typedef struct mips_bus_space *bus_space_tag_t;
-typedef u_long bus_space_handle_t;
+typedef intptr_t bus_space_handle_t;
 
 struct mips_bus_space {
 	/* cookie */

Reply via email to