Home | History | Annotate | Line # | Download | only in include
      1  1.3    skrll /* $NetBSD: bus.h,v 1.3 2019/09/23 16:17:55 skrll Exp $ */
      2  1.1  tsutsui 
      3  1.1  tsutsui /*
      4  1.1  tsutsui  * XXX: A dummy <machine/bus.h> for MI <sys/bus.h>.
      5  1.1  tsutsui  */
      6  1.1  tsutsui 
      7  1.1  tsutsui #ifndef _MACHINE_BUS_H_
      8  1.1  tsutsui #define	_MACHINE_BUS_H_
      9  1.1  tsutsui 
     10  1.1  tsutsui typedef paddr_t	bus_addr_t;
     11  1.1  tsutsui typedef psize_t	bus_size_t;
     12  1.1  tsutsui 
     13  1.3    skrll #define PRIxBUSADDR	PRIxPADDR
     14  1.3    skrll #define PRIxBUSSIZE	PRIxPSIZE
     15  1.3    skrll #define PRIuBUSSIZE	PRIuPSIZE
     16  1.3    skrll 
     17  1.1  tsutsui typedef int     bus_space_tag_t;
     18  1.1  tsutsui typedef int     bus_space_handle_t;
     19  1.1  tsutsui 
     20  1.3    skrll #define PRIxBSH		"x"
     21  1.3    skrll 
     22  1.2  tsutsui /*
     23  1.2  tsutsui  * There is no bus_dma(9)'fied bus drivers on this port.
     24  1.2  tsutsui  */
     25  1.2  tsutsui #define __HAVE_NO_BUS_DMA
     26  1.2  tsutsui 
     27  1.1  tsutsui #endif /* _MACHINE_BUS_H_ */
     28