_bus.h revision 256281
1314125Sdelphij/*-
2238405Sjkim * Copyright (c) 2005 M. Warner Losh.
3238405Sjkim * All rights reserved.
4238405Sjkim *
5238405Sjkim * Redistribution and use in source and binary forms, with or without
6238405Sjkim * modification, are permitted provided that the following conditions
7238405Sjkim * are met:
8238405Sjkim * 1. Redistributions of source code must retain the above copyright
9238405Sjkim *    notice, this list of conditions, and the following disclaimer,
10238405Sjkim *    without modification, immediately at the beginning of the file.
11238405Sjkim * 2. Redistributions in binary form must reproduce the above copyright
12238405Sjkim *    notice, this list of conditions and the following disclaimer in
13238405Sjkim *    the documentation and/or other materials provided with the
14238405Sjkim *    distribution.
15238405Sjkim *
16238405Sjkim * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17238405Sjkim * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18238405Sjkim * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19238405Sjkim * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
20238405Sjkim * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21238405Sjkim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22238405Sjkim * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23238405Sjkim * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24238405Sjkim * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25238405Sjkim * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26238405Sjkim * SUCH DAMAGE.
27238405Sjkim *
28238405Sjkim * $FreeBSD: stable/10/sys/ia64/include/_bus.h 145253 2005-04-18 21:45:34Z imp $
29238405Sjkim */
30238405Sjkim
31238405Sjkim#ifndef IA64_INCLUDE__BUS_H
32238405Sjkim#define IA64_INCLUDE__BUS_H
33238405Sjkim
34238405Sjkim/*
35238405Sjkim * Bus address and size types
36238405Sjkim */
37238405Sjkimtypedef u_long bus_addr_t;
38238405Sjkimtypedef u_long bus_size_t;
39238405Sjkim
40238405Sjkim/*
41276861Sjkim * Access methods for bus resources and address space.
42276861Sjkim */
43238405Sjkimtypedef	int bus_space_tag_t;
44238405Sjkimtypedef	u_long bus_space_handle_t;
45238405Sjkim
46238405Sjkim#endif /* IA64_INCLUDE__BUS_H */
47238405Sjkim