106db52b6SWarner Losh /*- 2*49025a11SWarner Losh * Copyright (c) 2005 The FreeBSD Foundation. 3*49025a11SWarner Losh * 44d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 5c49761ddSPedro F. Giffuni * 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. 1106db52b6SWarner Losh */ 1206db52b6SWarner Losh 1306db52b6SWarner Losh #ifndef AMD64_INCLUDE__BUS_H 1406db52b6SWarner Losh #define AMD64_INCLUDE__BUS_H 1506db52b6SWarner Losh 1606db52b6SWarner Losh /* 1706db52b6SWarner Losh * Bus address and size types 1806db52b6SWarner Losh */ 1906db52b6SWarner Losh typedef uint64_t bus_addr_t; 2006db52b6SWarner Losh typedef uint64_t bus_size_t; 2106db52b6SWarner Losh 2206db52b6SWarner Losh /* 2306db52b6SWarner Losh * Access methods for bus resources and address space. 2406db52b6SWarner Losh */ 2506db52b6SWarner Losh typedef uint64_t bus_space_tag_t; 2606db52b6SWarner Losh typedef uint64_t bus_space_handle_t; 2706db52b6SWarner Losh 2806db52b6SWarner Losh #endif /* AMD64_INCLUDE__BUS_H */ 29