Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Use uintptr_t for bus_size_t, bus_a...
details: https://anonhg.NetBSD.org/src/rev/14919c14005e
branches: trunk
changeset: 327134:14919c14005e
user: matt <matt%NetBSD.org@localhost>
date: Fri Feb 28 05:28:40 2014 +0000
description:
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.
diffstat:
sys/arch/powerpc/include/bus_defs.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r bd9cd81d8bf7 -r 14919c14005e sys/arch/powerpc/include/bus_defs.h
--- a/sys/arch/powerpc/include/bus_defs.h Fri Feb 28 05:27:38 2014 +0000
+++ b/sys/arch/powerpc/include/bus_defs.h Fri Feb 28 05:28:40 2014 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index