Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/i386/include/_bus.h
39507 views
1
/*-
2
* Copyright (c) 2005 The FreeBSD Foundation.
3
*
4
* SPDX-License-Identifier: BSD-2-Clause
5
*
6
* Derived in part from NetBSD's bus.h files by (alphabetically):
7
* Christopher G. Demetriou
8
* Charles M. Hannum
9
* Jason Thorpe
10
* The NetBSD Foundation.
11
*/
12
13
#ifndef I386_INCLUDE__BUS_H
14
#define I386_INCLUDE__BUS_H
15
16
/*
17
* Bus address and size types
18
*/
19
#ifdef PAE
20
typedef uint64_t bus_addr_t;
21
#else
22
typedef uint32_t bus_addr_t;
23
#endif
24
typedef uint32_t bus_size_t;
25
26
/*
27
* Access methods for bus resources and address space.
28
*/
29
typedef int bus_space_tag_t;
30
typedef u_int bus_space_handle_t;
31
32
#endif /* I386_INCLUDE__BUS_H */
33
34