aboutsummaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/_bus.h
blob: bf6372ac6aea6f076c725796a23260061e82637f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*-
 * Copyright (c) 2005 The FreeBSD Foundation.
 *
 * SPDX-License-Identifier: BSD-2-Clause
 *
 * Derived in part from NetBSD's bus.h files by (alphabetically):
 *	Christopher G. Demetriou
 *	Charles M. Hannum
 *	Jason Thorpe
 *	The NetBSD Foundation.
 */

#ifndef POWERPC_INCLUDE__BUS_H
#define POWERPC_INCLUDE__BUS_H

#include <vm/vm_param.h>

/*
 * Bus address and size types
 */
typedef vm_paddr_t bus_addr_t;
typedef vm_size_t bus_size_t;

/*
 * Access methods for bus resources and address space.
 */
typedef struct bus_space *bus_space_tag_t;
typedef vm_offset_t bus_space_handle_t;

#endif /* POWERPC_INCLUDE__BUS_H */