xref: /freebsd/sys/amd64/include/_bus.h (revision 525fe93dc7487a1e63a90f6a2b956abc601963c1)
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