xref: /freebsd/sys/arm64/include/_bus.h (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
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 _MACHINE__BUS_H_
14 #define	_MACHINE__BUS_H_
15 
16 /*
17  * Addresses (in bus space).
18  */
19 typedef u_long bus_addr_t;
20 typedef u_long bus_size_t;
21 
22 /*
23  * Access methods for bus space.
24  */
25 typedef u_long bus_space_handle_t;
26 typedef struct bus_space *bus_space_tag_t;
27 
28 #endif /* !_MACHINE__BUS_H_ */
29