Module Name: src
Committed By: matt
Date: Fri Feb 28 05:28:40 UTC 2014
Modified Files:
src/sys/arch/powerpc/include: bus_defs.h
Log Message:
Use uintptr_t for bus_size_t, bus_addr_t, bus_space_handler_t since uint32_t
doesn't really work too 64-bit platforms.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/powerpc/include/bus_defs.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/powerpc/include/bus_defs.h
diff -u src/sys/arch/powerpc/include/bus_defs.h:1.1 src/sys/arch/powerpc/include/bus_defs.h:1.2
--- src/sys/arch/powerpc/include/bus_defs.h:1.1 Fri Jul 1 17:10:00 2011
+++ src/sys/arch/powerpc/include/bus_defs.h Fri Feb 28 05:28:40 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_defs.h,v 1.1 2011/07/01 17:10:00 dyoung Exp $ */
+/* $NetBSD: bus_defs.h,v 1.2 2014/02/28 05:28:40 matt Exp $ */
/* $OpenBSD: bus.h,v 1.1 1997/10/13 10:53:42 pefo Exp $ */
/*-
@@ -107,11 +107,11 @@
/*
* Bus access types.
*/
-typedef uint32_t bus_addr_t;
-typedef uint32_t bus_size_t;
+typedef uintptr_t bus_addr_t;
+typedef uintptr_t bus_size_t;
#ifndef __HAVE_LOCAL_BUS_SPACE
-typedef uint32_t bus_space_handle_t;
+typedef uintptr_t bus_space_handle_t;
typedef const struct powerpc_bus_space *bus_space_tag_t;
struct extent;