Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/include Implement bus_space_vaddr()
details: https://anonhg.NetBSD.org/src/rev/b56186c035bf
branches: trunk
changeset: 517175:b56186c035bf
user: gmcgarry <gmcgarry%NetBSD.org@localhost>
date: Thu Nov 08 06:32:02 2001 +0000
description:
Implement bus_space_vaddr()
diffstat:
sys/arch/hp300/include/bus.h | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r a873ec2f013e -r b56186c035bf sys/arch/hp300/include/bus.h
--- a/sys/arch/hp300/include/bus.h Thu Nov 08 06:29:24 2001 +0000
+++ b/sys/arch/hp300/include/bus.h Thu Nov 08 06:32:02 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.4 2000/01/25 22:13:20 drochner Exp $ */
+/* $NetBSD: bus.h,v 1.5 2001/11/08 06:32:02 gmcgarry Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -143,6 +143,15 @@
bus_size_t size));
/*
+ * void *bus_space_vaddr __P((bus_space_tag_t, bus_space_handle_t));
+ *
+ * Get the kernel virtual address for the mapped bus space.
+ * Only allowed for regions mapped with BUS_SPACE_MAP_LINEAR.
+ * (XXX not enforced)
+ */
+#define bus_space_vaddr(t, h) (h)
+
+/*
* int hp300_bus_space_probe __P((bus_space_tag_t t,
* bus_space_handle_t bsh, bus_size_t offset, int sz));
*
Home |
Main Index |
Thread Index |
Old Index