diff options
Diffstat (limited to 'sys/powerpc/include/_bus.h')
| -rw-r--r-- | sys/powerpc/include/_bus.h | 30 | 
1 files changed, 30 insertions, 0 deletions
| diff --git a/sys/powerpc/include/_bus.h b/sys/powerpc/include/_bus.h new file mode 100644 index 000000000000..bf6372ac6aea --- /dev/null +++ b/sys/powerpc/include/_bus.h @@ -0,0 +1,30 @@ +/*- + * Copyright (c) 2005 The FreeBSD Foundation. + * + * SPDX-License-Identifier: BSD-2-Clause + * + * Derived in part from NetBSD's bus.h files by (alphabetically): + *	Christopher G. Demetriou + *	Charles M. Hannum + *	Jason Thorpe + *	The NetBSD Foundation. + */ + +#ifndef POWERPC_INCLUDE__BUS_H +#define POWERPC_INCLUDE__BUS_H + +#include <vm/vm_param.h> + +/* + * Bus address and size types + */ +typedef vm_paddr_t bus_addr_t; +typedef vm_size_t bus_size_t; + +/* + * Access methods for bus resources and address space. + */ +typedef struct bus_space *bus_space_tag_t; +typedef vm_offset_t bus_space_handle_t; + +#endif /* POWERPC_INCLUDE__BUS_H */ | 
