1*bf158e33Sskrll /* $NetBSD: bus.h,v 1.3 2019/09/23 16:17:55 skrll Exp $ */ 261ec97e1Stsutsui 361ec97e1Stsutsui /* 461ec97e1Stsutsui * XXX: A dummy <machine/bus.h> for MI <sys/bus.h>. 561ec97e1Stsutsui */ 661ec97e1Stsutsui 761ec97e1Stsutsui #ifndef _MACHINE_BUS_H_ 861ec97e1Stsutsui #define _MACHINE_BUS_H_ 961ec97e1Stsutsui 1061ec97e1Stsutsui typedef paddr_t bus_addr_t; 1161ec97e1Stsutsui typedef psize_t bus_size_t; 1261ec97e1Stsutsui 13*bf158e33Sskrll #define PRIxBUSADDR PRIxPADDR 14*bf158e33Sskrll #define PRIxBUSSIZE PRIxPSIZE 15*bf158e33Sskrll #define PRIuBUSSIZE PRIuPSIZE 16*bf158e33Sskrll 1761ec97e1Stsutsui typedef int bus_space_tag_t; 1861ec97e1Stsutsui typedef int bus_space_handle_t; 1961ec97e1Stsutsui 20*bf158e33Sskrll #define PRIxBSH "x" 21*bf158e33Sskrll 22485e133aStsutsui /* 23485e133aStsutsui * There is no bus_dma(9)'fied bus drivers on this port. 24485e133aStsutsui */ 25485e133aStsutsui #define __HAVE_NO_BUS_DMA 26485e133aStsutsui 2761ec97e1Stsutsui #endif /* _MACHINE_BUS_H_ */ 28