Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Add PRIxBUSADDR, etal
details: https://anonhg.NetBSD.org/src/rev/8878c1f15bda
branches: trunk
changeset: 784976:8878c1f15bda
user: matt <matt%NetBSD.org@localhost>
date: Sat Feb 16 06:49:59 2013 +0000
description:
Add PRIxBUSADDR, etal
diffstat:
sys/arch/arm/include/bus_defs.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 7efd5ce7cdcf -r 8878c1f15bda sys/arch/arm/include/bus_defs.h
--- a/sys/arch/arm/include/bus_defs.h Sat Feb 16 06:49:43 2013 +0000
+++ b/sys/arch/arm/include/bus_defs.h Sat Feb 16 06:49:59 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_defs.h,v 1.8 2013/01/27 19:00:08 matt Exp $ */
+/* $NetBSD: bus_defs.h,v 1.9 2013/02/16 06:49:59 matt Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -74,12 +74,18 @@
typedef u_long bus_addr_t;
typedef u_long bus_size_t;
+#define PRIxBUSADDR "lx"
+#define PRIxBUSSIZE "lx"
+#define PRIuBUSSIZE "lu"
+
/*
* Access methods for bus space.
*/
typedef struct bus_space *bus_space_tag_t;
typedef u_long bus_space_handle_t;
+#define PRIxBSH "lx"
+
/*
* int bus_space_map(bus_space_tag_t t, bus_addr_t addr,
* bus_size_t size, int flags, bus_space_handle_t *bshp);
Home |
Main Index |
Thread Index |
Old Index