_bus.h revision 145300
150276Speter/*- 250276Speter * Copyright (c) 2005 M. Warner Losh. 3166124Srafan * All rights reserved. 450276Speter * 550276Speter * Redistribution and use in source and binary forms, with or without 650276Speter * modification, are permitted provided that the following conditions 750276Speter * are met: 850276Speter * 1. Redistributions of source code must retain the above copyright 950276Speter * notice, this list of conditions, and the following disclaimer, 1050276Speter * without modification, immediately at the beginning of the file. 1150276Speter * 2. Redistributions in binary form must reproduce the above copyright 1250276Speter * notice, this list of conditions and the following disclaimer in 1350276Speter * the documentation and/or other materials provided with the 1450276Speter * distribution. 1550276Speter * 1650276Speter * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1750276Speter * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1850276Speter * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1950276Speter * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 2050276Speter * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2150276Speter * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2250276Speter * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2350276Speter * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2450276Speter * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2550276Speter * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2650276Speter * SUCH DAMAGE. 2750276Speter * 2850276Speter * $FreeBSD: head/sys/pc98/include/_bus.h 145300 2005-04-19 21:07:00Z imp $ 2950276Speter */ 30166124Srafan 3150276Speter#ifndef PC98_INCLUDE__BUS_H 3250276Speter#define PC98_INCLUDE__BUS_H 3350276Speter 3450276Speter/* 3550276Speter * Bus address and size types 3650276Speter */ 3750276Spetertypedef u_int bus_addr_t; 3850276Spetertypedef u_int bus_size_t; 3950276Speter 4050276Spetertypedef struct bus_space_tag *bus_space_tag_t; 4150276Spetertypedef struct bus_space_handle *bus_space_handle_t; 4250276Speter 4350276Speter#endif /* PC98_INCLUDE__BUS_H */ 44166124Srafan