summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/include/bus.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/bus.h b/sys/arch/powerpc/include/bus.h
index 52988bd9a6c..12c39ff87db 100644
--- a/sys/arch/powerpc/include/bus.h
+++ b/sys/arch/powerpc/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.2 1998/01/20 18:40:24 niklas Exp $ */
+/* $OpenBSD: bus.h,v 1.3 1998/08/25 07:43:40 pefo Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom. All rights reserved.
@@ -67,6 +67,9 @@ extern struct p4e_bus_space p4e_isa_io, p4e_isa_mem;
#define bus_space_unmap(t, bsh, size)
+#define bus_space_addr(bshp, offs) \
+ ((vm_offset_t)((bshp) + (offs)))
+
#define bus_space_read(n,m) \
static __inline CAT3(u_int,m,_t) \
CAT(bus_space_read_,n)(bus_space_tag_t bst, bus_space_handle_t bsh, \