diff options
-rw-r--r-- | libpager/lock-object.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpager/lock-object.c b/libpager/lock-object.c index 21e2cfad..48298010 100644 --- a/libpager/lock-object.c +++ b/libpager/lock-object.c @@ -64,6 +64,11 @@ _pager_lock_object (struct pager *p, } } + /* XXX */ + if (sync) + printf ("Issuing lock request: p %#x; offset %#x; length %#x\n", + (int) p, offset, size); + memory_object_lock_request (p->memobjcntl, offset, size, should_return, should_flush, lock_value, sync ? p->port.port_right : MACH_PORT_NULL); |