summaryrefslogtreecommitdiff
path: root/libhurd-mm/as.h
diff options
context:
space:
mode:
authorneal <neal>2008-05-28 14:56:43 +0000
committerneal <neal>2008-05-28 14:56:43 +0000
commit423bc1f0a791c8f2c0f1ea0cb0da79b140949424 (patch)
tree3397f516f56368cb1fff458a47d8cfe43b0e06c0 /libhurd-mm/as.h
parentfeeaf023e4049d05eebf4b4629ce801eed5a522b (diff)
viengoos/
2008-05-28 Neal H. Walfield <neal@gnu.org> * cap-lookup.c (slot_lookup_rel): Don't take parameter type. Pass -1 to lookup in its place. * server.c (server_loop): Update use of slot_lookup_rel to be consistent with new API. * t-as.c (try): Likewise. (test): Likewise. libhurd-mm/ 2008-05-28 Neal H. Walfield <neal@gnu.org> * as.h (slot_lookup): Remove parameter type. Update users. * as.c (as_init): Update user of slot_lookup_rel to be consistent with new API. (as_init): Likewise. (slot_lookup): Likewise. Remove parameter type. ruth/ 2008-05-28 Neal H. Walfield <neal@gnu.org> * ruth.c (main): Update use of slot_lookup to be consistent with new API.
Diffstat (limited to 'libhurd-mm/as.h')
-rw-r--r--libhurd-mm/as.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/libhurd-mm/as.h b/libhurd-mm/as.h
index 3c3fdbc..c408a14 100644
--- a/libhurd-mm/as.h
+++ b/libhurd-mm/as.h
@@ -150,12 +150,10 @@ extern struct cap cap_lookup (activity_t activity,
/* Return the capability slot at ADDR or, if an object, the slot
referencing the object.
- TYPE is the required type. If the type is incompatible
- (cap_rcappage => cap_cappage and cap_rpage => cap_page), bails. If
- TYPE is -1, then any type is acceptable. May cause paging. If
- non-NULL, returns whether the slot is writable in *WRITABLE. */
-extern struct cap *slot_lookup (activity_t activity,
- addr_t addr, enum cap_type type,
+ May cause paging. If WRITABLE is non-NULL, returns whether the
+ slot is writable in *WRITABLE (it is not writable if it was
+ accessed via a read-only cappage). */
+extern struct cap *slot_lookup (activity_t activity, addr_t addr,
bool *writable);
/* Return the value of the capability designating the object at ADDR.