diff options
author | obrien <obrien@FreeBSD.org> | 2001-09-05 01:22:14 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-09-05 01:22:14 +0000 |
commit | 40da6b02e6f93a023ffa59f81d5dbb34506aac5c (patch) | |
tree | 7cbec49c33a6bd349dea1e778d4435d41eaf1a0c /sys/sys/rman.h | |
parent | 138bfe8027cddec05e361c97fe764f0a9603bc70 (diff) | |
download | FreeBSD-src-40da6b02e6f93a023ffa59f81d5dbb34506aac5c.zip FreeBSD-src-40da6b02e6f93a023ffa59f81d5dbb34506aac5c.tar.gz |
style(9) the structure definitions.
Diffstat (limited to 'sys/sys/rman.h')
-rw-r--r-- | sys/sys/rman.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/rman.h b/sys/sys/rman.h index aca15ef..ed01d4e 100644 --- a/sys/sys/rman.h +++ b/sys/sys/rman.h @@ -91,7 +91,7 @@ struct u_rman { * addresses on IA32 hardware. */ TAILQ_HEAD(resource_head, resource); -struct resource { +struct resource { TAILQ_ENTRY(resource) r_link; LIST_ENTRY(resource) r_sharelink; LIST_HEAD(, resource) *r_sharehead; @@ -105,7 +105,7 @@ struct resource { struct rman *r_rm; /* resource manager from whence this came */ }; -struct rman { +struct rman { struct resource_head rm_list; struct mtx *rm_mtx; /* mutex used to protect rm_list */ TAILQ_ENTRY(rman) rm_link; /* link in list of all rmans */ @@ -123,7 +123,7 @@ int rman_fini(struct rman *rm); int rman_init(struct rman *rm); int rman_manage_region(struct rman *rm, u_long start, u_long end); int rman_release_resource(struct resource *r); -struct resource *rman_reserve_resource(struct rman *rm, u_long start, +struct resource *rman_reserve_resource(struct rman *rm, u_long start, u_long end, u_long count, u_int flags, struct device *dev); uint32_t rman_make_alignment_flags(uint32_t size); |