1 /*- 2 * Copyright (c) 2005 The FreeBSD Foundation. 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 * 6 * Derived in part from NetBSD's bus.h files by (alphabetically): 7 * Christopher G. Demetriou 8 * Charles M. Hannum 9 * Jason Thorpe 10 * The NetBSD Foundation. 11 */ 12 13 #ifndef POWERPC_INCLUDE__BUS_H 14 #define POWERPC_INCLUDE__BUS_H 15 16 #include <vm/vm_param.h> 17 18 /* 19 * Bus address and size types 20 */ 21 typedef vm_paddr_t bus_addr_t; 22 typedef vm_size_t bus_size_t; 23 24 /* 25 * Access methods for bus resources and address space. 26 */ 27 typedef struct bus_space *bus_space_tag_t; 28 typedef vm_offset_t bus_space_handle_t; 29 30 #endif /* POWERPC_INCLUDE__BUS_H */ 31