bus_space_mmap(), same as atari port. untested, as it is unused.
This commit is contained in:
parent
334bc46aa5
commit
bb245959f9
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bus_space.h,v 1.7 2001/05/12 22:35:29 chs Exp $ */
|
||||
/* $NetBSD: bus_space.h,v 1.8 2002/06/11 05:17:30 deberg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -116,6 +116,16 @@ typedef u_long bus_space_handle_t;
|
|||
|
||||
#define bus_space_free(t, h, s)
|
||||
|
||||
/*
|
||||
* paddr_t bus_space_mmap __P((bus_space_tag_t t, bus_addr_t base,
|
||||
* off_t offset, int prot, int flags));
|
||||
*
|
||||
* Mmap an area of bus space.
|
||||
*/
|
||||
|
||||
#define bus_space_mmap(t, addr, off, prot, flags) \
|
||||
m68k_btop((addr) + (off))
|
||||
|
||||
/*
|
||||
* u_intN_t bus_space_read_N __P((bus_space_tag_t tag,
|
||||
* bus_space_handle_t bsh, bus_size_t offset));
|
||||
|
|
Loading…
Reference in New Issue