summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2004-07-01 16:22:10 +0000
committerWarner Losh <imp@FreeBSD.org>2004-07-01 16:22:10 +0000
commitda35daffaf7cc1bdd156c7a22c464356ff499b6e (patch)
tree55394b1ceedd24cc053633fbb5d0abd9b1ece3ac
parentdeb965481802d8aa1fbd55c499e42bb42b2e5553 (diff)
Notes
-rw-r--r--sys/kern/subr_rman.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c
index 5eb4bc22d5dd9..62b576d41169f 100644
--- a/sys/kern/subr_rman.c
+++ b/sys/kern/subr_rman.c
@@ -680,6 +680,18 @@ rman_set_rid(struct resource *r, int rid)
r->r_rid = rid;
}
+void
+rman_set_start(struct resource *r, u_long start)
+{
+ r->r_start = start;
+}
+
+void
+rman_set_end(struct resource *r, u_long end)
+{
+ r->r_end = end;
+}
+
int
rman_get_rid(struct resource *r)
{