PERFORCE change 71490 for review
John-Mark Gurney
jmg at FreeBSD.org
Mon Feb 21 12:10:02 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=71490
Change 71490 by jmg at jmg_carbon on 2005/02/21 20:09:14
expand the debuging printf's for rman a bit more...
MFP4 after: 1 week
Affected files ...
.. //depot/projects/arm/src/sys/kern/subr_rman.c#2 edit
Differences ...
==== //depot/projects/arm/src/sys/kern/subr_rman.c#2 (text+ko) ====
@@ -191,9 +191,10 @@
rv = 0;
- DPRINTF(("rman_reserve_resource: <%s> request: [%#lx, %#lx], length "
- "%#lx, flags %u, device %s\n", rm->rm_descr, start, end, count,
- flags, dev == NULL ? "<null>" : device_get_nameunit(dev)));
+ DPRINTF(("rman_reserve_resource_bound: <%s> request: [%#lx, %#lx], "
+ "length %#lx, bound: %#lx, flags %u, device %s\n", rm->rm_descr,
+ start, end, count, bound, flags,
+ dev == NULL ? "<null>" : device_get_nameunit(dev)));
want_activate = (flags & RF_ACTIVE);
flags &= ~RF_ACTIVE;
@@ -599,6 +600,8 @@
int rv;
struct rman *rm = r->r_rm;
+ DPRINTF(("rman_release_resource: [%#lx, %#lx], flags: %d\n",
+ r->r_start, r->r_end, r->r_flags));
mtx_lock(rm->rm_mtx);
rv = int_rman_release_resource(rm, r);
mtx_unlock(rm->rm_mtx);
More information about the p4-projects
mailing list