106db52b6SWarner Losh /*- 206db52b6SWarner Losh * Copyright (c) 2005 M. Warner Losh. 306db52b6SWarner Losh * All rights reserved. 406db52b6SWarner Losh * 506db52b6SWarner Losh * Redistribution and use in source and binary forms, with or without 606db52b6SWarner Losh * modification, are permitted provided that the following conditions 706db52b6SWarner Losh * are met: 806db52b6SWarner Losh * 1. Redistributions of source code must retain the above copyright 906db52b6SWarner Losh * notice, this list of conditions, and the following disclaimer, 1006db52b6SWarner Losh * without modification, immediately at the beginning of the file. 1106db52b6SWarner Losh * 2. Redistributions in binary form must reproduce the above copyright 1206db52b6SWarner Losh * notice, this list of conditions and the following disclaimer in 1306db52b6SWarner Losh * the documentation and/or other materials provided with the 1406db52b6SWarner Losh * distribution. 1506db52b6SWarner Losh * 1606db52b6SWarner Losh * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1706db52b6SWarner Losh * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1806db52b6SWarner Losh * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1906db52b6SWarner Losh * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 2006db52b6SWarner Losh * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2106db52b6SWarner Losh * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2206db52b6SWarner Losh * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2306db52b6SWarner Losh * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2406db52b6SWarner Losh * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2506db52b6SWarner Losh * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2606db52b6SWarner Losh * SUCH DAMAGE. 2706db52b6SWarner Losh * 2806db52b6SWarner Losh * $FreeBSD$ 2906db52b6SWarner Losh */ 3006db52b6SWarner Losh 3106db52b6SWarner Losh #ifndef AMD64_INCLUDE__BUS_H 3206db52b6SWarner Losh #define AMD64_INCLUDE__BUS_H 3306db52b6SWarner Losh 3406db52b6SWarner Losh /* 3506db52b6SWarner Losh * Bus address and size types 3606db52b6SWarner Losh */ 3706db52b6SWarner Losh typedef uint64_t bus_addr_t; 3806db52b6SWarner Losh typedef uint64_t bus_size_t; 3906db52b6SWarner Losh 4006db52b6SWarner Losh /* 4106db52b6SWarner Losh * Access methods for bus resources and address space. 4206db52b6SWarner Losh */ 4306db52b6SWarner Losh typedef uint64_t bus_space_tag_t; 4406db52b6SWarner Losh typedef uint64_t bus_space_handle_t; 4506db52b6SWarner Losh 4606db52b6SWarner Losh #endif /* AMD64_INCLUDE__BUS_H */ 47