diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-09-27 20:47:31 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-09-27 20:47:31 +0000 |
commit | 835fa87053748b9bb07c597d4b8db023e2ce1731 (patch) | |
tree | 8857763a6acf2249bc4031db0d383ccf0bad87f2 /sys/arch/mvme68k/include | |
parent | 905dbd4384ef74bf579dbb407bd8cb2b9b4205ef (diff) |
Make bus_addr_t and bus_size_t u_long types, instead of either uint32_t or
uint64_t, depending upon the platform; this makes the declaration of these
types consistent accross all our supported platform, and we do not intend
to support a platform where bus_addr_t could be larger than the size of the
cpu register. Requested by deraadt@ during s2k11
Diffstat (limited to 'sys/arch/mvme68k/include')
-rw-r--r-- | sys/arch/mvme68k/include/bus.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/include/bus.h b/sys/arch/mvme68k/include/bus.h index 9e2d3e44229..d561c8a2c15 100644 --- a/sys/arch/mvme68k/include/bus.h +++ b/sys/arch/mvme68k/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.7 2011/03/23 16:54:36 pirofti Exp $ */ +/* $OpenBSD: bus.h,v 1.8 2011/09/27 20:47:30 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * @@ -38,10 +38,10 @@ #include <sys/types.h> -typedef u_int32_t bus_addr_t; -typedef u_int32_t bus_size_t; +typedef u_long bus_addr_t; +typedef u_long bus_size_t; -typedef u_int32_t bus_space_handle_t; +typedef u_long bus_space_handle_t; struct mvme68k_bus_space_tag { int (*bs_map)(bus_addr_t, bus_size_t, int, bus_space_handle_t *); |