xref: /freebsd/sys/amd64/include/_bus.h (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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 AMD64_INCLUDE__BUS_H
14 #define AMD64_INCLUDE__BUS_H
15 
16 /*
17  * Bus address and size types
18  */
19 typedef uint64_t bus_addr_t;
20 typedef uint64_t bus_size_t;
21 
22 /*
23  * Access methods for bus resources and address space.
24  */
25 typedef	uint64_t bus_space_tag_t;
26 typedef	uint64_t bus_space_handle_t;
27 
28 #endif /* AMD64_INCLUDE__BUS_H */
29