_bus.h revision 272461
1132720Skan/*-
2132720Skan * Copyright (c) 2005 M. Warner Losh.
3169691Skan * All rights reserved.
4132720Skan *
5132720Skan * Redistribution and use in source and binary forms, with or without
6132720Skan * modification, are permitted provided that the following conditions
7132720Skan * are met:
8132720Skan * 1. Redistributions of source code must retain the above copyright
9132720Skan *    notice, this list of conditions, and the following disclaimer,
10132720Skan *    without modification, immediately at the beginning of the file.
11132720Skan * 2. Redistributions in binary form must reproduce the above copyright
12132720Skan *    notice, this list of conditions and the following disclaimer in
13132720Skan *    the documentation and/or other materials provided with the
14132720Skan *    distribution.
15132720Skan *
16132720Skan * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17132720Skan * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18132720Skan * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19169691Skan * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
20132720Skan * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21132720Skan * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22132720Skan * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23132720Skan * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24132720Skan * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25132720Skan * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26132720Skan * SUCH DAMAGE.
27132720Skan *
28132720Skan * $FreeBSD: releng/10.1/sys/arm/include/_bus.h 176589 2008-02-26 11:45:32Z rwatson $
29132720Skan */
30132720Skan
31169691Skan#ifndef ARM_INCLUDE__BUS_H
32169691Skan#define ARM_INCLUDE__BUS_H
33169691Skan
34169691Skan/*
35169691Skan * Addresses (in bus space).
36169691Skan */
37169691Skantypedef u_long bus_addr_t;
38169691Skantypedef u_long bus_size_t;
39169691Skan
40169691Skan/*
41169691Skan * Access methods for bus space.
42169691Skan */
43169691Skantypedef struct bus_space *bus_space_tag_t;
44169691Skantypedef u_long bus_space_handle_t;
45169691Skan
46169691Skan#endif /* ARM_INCLUDE__BUS_H */
47169691Skan