diff options
| author | skrll <skrll@NetBSD.org> | 2019-09-23 16:17:54 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2019-09-23 16:17:54 +0000 |
| commit | 8a06b90dbe165294efa06ce9eea50d949dfcb2ed (patch) | |
| tree | 01d5ef1d1f9c7b77e55a341fb4d2ad984ae69dd0 /sys/arch/cesfic/include | |
| parent | 33ee31d962ee13c00f9c0b86245ab5a32a5981f8 (diff) | |
Provide PRIxBUSADDR, PRIxBUSSIZE, PRIuBUSSIZE, and PRIxBSH for all arches
to follow arm and (generic) mips.
Reviewed by christos.
Diffstat (limited to 'sys/arch/cesfic/include')
| -rw-r--r-- | sys/arch/cesfic/include/bus.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/cesfic/include/bus.h b/sys/arch/cesfic/include/bus.h index 57a4a11abe4..7bfb70f04b7 100644 --- a/sys/arch/cesfic/include/bus.h +++ b/sys/arch/cesfic/include/bus.h @@ -1,4 +1,4 @@ -/* $NetBSD: bus.h,v 1.2 2012/05/07 18:16:38 tsutsui Exp $ */ +/* $NetBSD: bus.h,v 1.3 2019/09/23 16:17:55 skrll Exp $ */ /* * XXX: A dummy <machine/bus.h> for MI <sys/bus.h>. @@ -10,9 +10,15 @@ typedef paddr_t bus_addr_t; typedef psize_t bus_size_t; +#define PRIxBUSADDR PRIxPADDR +#define PRIxBUSSIZE PRIxPSIZE +#define PRIuBUSSIZE PRIuPSIZE + typedef int bus_space_tag_t; typedef int bus_space_handle_t; +#define PRIxBSH "x" + /* * There is no bus_dma(9)'fied bus drivers on this port. */ |
