1292407Sbr/*-
2292407Sbr * Copyright (c) 2005 M. Warner Losh.
3292407Sbr * All rights reserved.
4292407Sbr *
5292407Sbr * Redistribution and use in source and binary forms, with or without
6292407Sbr * modification, are permitted provided that the following conditions
7292407Sbr * are met:
8292407Sbr * 1. Redistributions of source code must retain the above copyright
9292407Sbr *    notice, this list of conditions, and the following disclaimer,
10292407Sbr *    without modification, immediately at the beginning of the file.
11292407Sbr * 2. Redistributions in binary form must reproduce the above copyright
12292407Sbr *    notice, this list of conditions and the following disclaimer in
13292407Sbr *    the documentation and/or other materials provided with the
14292407Sbr *    distribution.
15292407Sbr *
16292407Sbr * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17292407Sbr * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18292407Sbr * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19292407Sbr * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
20292407Sbr * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21292407Sbr * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22292407Sbr * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23292407Sbr * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24292407Sbr * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25292407Sbr * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26292407Sbr * SUCH DAMAGE.
27292407Sbr *
28292407Sbr * $FreeBSD$
29292407Sbr */
30292407Sbr
31292407Sbr#ifndef _MACHINE__BUS_H_
32292407Sbr#define	_MACHINE__BUS_H_
33292407Sbr
34292407Sbr/*
35292407Sbr * Addresses (in bus space).
36292407Sbr */
37292407Sbrtypedef u_long bus_addr_t;
38292407Sbrtypedef u_long bus_size_t;
39292407Sbr
40292407Sbr/*
41292407Sbr * Access methods for bus space.
42292407Sbr */
43292407Sbrtypedef u_long bus_space_handle_t;
44292407Sbrtypedef struct bus_space *bus_space_tag_t;
45292407Sbr
46292407Sbr#endif /* !_MACHINE__BUS_H_ */
47