xref: /freebsd/sys/arm64/include/_bus.h (revision 49025a1109ac5f8088d21788413f843dd730e217)
1e5acd89cSAndrew Turner /*-
2*49025a11SWarner Losh  * Copyright (c) 2005 The FreeBSD Foundation.
3e5acd89cSAndrew Turner  *
4*49025a11SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
5e5acd89cSAndrew Turner  *
6*49025a11SWarner Losh  * Derived in part from NetBSD's bus.h files by (alphabetically):
7*49025a11SWarner Losh  *	Christopher G. Demetriou
8*49025a11SWarner Losh  *	Charles M. Hannum
9*49025a11SWarner Losh  *	Jason Thorpe
10*49025a11SWarner Losh  *	The NetBSD Foundation.
11e5acd89cSAndrew Turner  */
12e5acd89cSAndrew Turner 
13e5acd89cSAndrew Turner #ifndef _MACHINE__BUS_H_
14e5acd89cSAndrew Turner #define	_MACHINE__BUS_H_
15e5acd89cSAndrew Turner 
16e5acd89cSAndrew Turner /*
17e5acd89cSAndrew Turner  * Addresses (in bus space).
18e5acd89cSAndrew Turner  */
19e5acd89cSAndrew Turner typedef u_long bus_addr_t;
20e5acd89cSAndrew Turner typedef u_long bus_size_t;
21e5acd89cSAndrew Turner 
22e5acd89cSAndrew Turner /*
23e5acd89cSAndrew Turner  * Access methods for bus space.
24e5acd89cSAndrew Turner  */
25e5acd89cSAndrew Turner typedef u_long bus_space_handle_t;
26e5acd89cSAndrew Turner typedef struct bus_space *bus_space_tag_t;
27e5acd89cSAndrew Turner 
28e5acd89cSAndrew Turner #endif /* !_MACHINE__BUS_H_ */
29