Add bus_space_vaddr().

This commit is contained in:
eeh 2002-03-21 00:30:41 +00:00
parent 6fccd7ab03
commit 0cb6a3a2a5
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus.h,v 1.28 2002/03/11 16:06:42 pk Exp $ */
/* $NetBSD: bus.h,v 1.29 2002/03/21 00:30:41 eeh Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@ -297,6 +297,8 @@ void bus_space_free __P((bus_space_tag_t t, bus_space_handle_t bsh,
bus_size_t size));
#endif
#define bus_space_vaddr(t, h) ((void *)(h))
/* flags for bus space map functions */
#define BUS_SPACE_MAP_CACHEABLE 0x0001
#define BUS_SPACE_MAP_LINEAR 0x0002