1281494Sandrew/*- 2281494Sandrew * Copyright (c) 2005 M. Warner Losh. 3281494Sandrew * All rights reserved. 4281494Sandrew * 5281494Sandrew * Redistribution and use in source and binary forms, with or without 6281494Sandrew * modification, are permitted provided that the following conditions 7281494Sandrew * are met: 8281494Sandrew * 1. Redistributions of source code must retain the above copyright 9281494Sandrew * notice, this list of conditions, and the following disclaimer, 10281494Sandrew * without modification, immediately at the beginning of the file. 11281494Sandrew * 2. Redistributions in binary form must reproduce the above copyright 12281494Sandrew * notice, this list of conditions and the following disclaimer in 13281494Sandrew * the documentation and/or other materials provided with the 14281494Sandrew * distribution. 15281494Sandrew * 16281494Sandrew * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17281494Sandrew * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18281494Sandrew * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19281494Sandrew * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 20281494Sandrew * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21281494Sandrew * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22281494Sandrew * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23281494Sandrew * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24281494Sandrew * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25281494Sandrew * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26281494Sandrew * SUCH DAMAGE. 27281494Sandrew * 28281494Sandrew * $FreeBSD$ 29281494Sandrew */ 30281494Sandrew 31281494Sandrew#ifndef _MACHINE__BUS_H_ 32281494Sandrew#define _MACHINE__BUS_H_ 33281494Sandrew 34281494Sandrew/* 35281494Sandrew * Addresses (in bus space). 36281494Sandrew */ 37281494Sandrewtypedef u_long bus_addr_t; 38281494Sandrewtypedef u_long bus_size_t; 39281494Sandrew 40281494Sandrew/* 41281494Sandrew * Access methods for bus space. 42281494Sandrew */ 43281494Sandrewtypedef u_long bus_space_handle_t; 44281494Sandrewtypedef struct bus_space *bus_space_tag_t; 45281494Sandrew 46281494Sandrew#endif /* !_MACHINE__BUS_H_ */ 47