Deleted Added
full compact
_bus.h (145253) _bus.h (174782)
1/*-
2 * Copyright (c) 2005 M. Warner Losh.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 2005 M. Warner Losh.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $FreeBSD: head/sys/powerpc/include/_bus.h 145253 2005-04-18 21:45:34Z imp $
28 * $FreeBSD: head/sys/powerpc/include/_bus.h 174782 2007-12-19 18:00:50Z marcel $
29 */
30
31#ifndef POWERPC_INCLUDE__BUS_H
32#define POWERPC_INCLUDE__BUS_H
33
34/*
35 * Bus address and size types
36 */
37typedef u_int32_t bus_addr_t;
38typedef u_int32_t bus_size_t;
39
40/*
41 * Access methods for bus resources and address space.
42 */
29 */
30
31#ifndef POWERPC_INCLUDE__BUS_H
32#define POWERPC_INCLUDE__BUS_H
33
34/*
35 * Bus address and size types
36 */
37typedef u_int32_t bus_addr_t;
38typedef u_int32_t bus_size_t;
39
40/*
41 * Access methods for bus resources and address space.
42 */
43typedef u_int32_t bus_space_tag_t;
43typedef struct bus_space *bus_space_tag_t;
44typedef u_int32_t bus_space_handle_t;
45
46#endif /* POWERPC_INCLUDE__BUS_H */
44typedef u_int32_t bus_space_handle_t;
45
46#endif /* POWERPC_INCLUDE__BUS_H */