diff options
author | neal <neal> | 2007-12-13 12:35:44 +0000 |
---|---|---|
committer | neal <neal> | 2007-12-13 12:35:44 +0000 |
commit | f0f036761800e5812d48fb44ea1ff25050b9f61b (patch) | |
tree | 16500b172f35b0782d9cbfd0beb31662ae10eaef /viengoos/rm.h | |
parent | cfd71a54a12a3203a48caed7558815ca7ea332d8 (diff) |
hurd/
2007-12-13 Neal H. Walfield <neal@gnu.org>
* rpc.h (RPCSTOREARG): Remove type_suffix argument. Update
callers.
(RPCSTOREARG): Make a__ a TYPE *, not a TYPE.
(RPCLOAD): Remove deref argument. Update callers.
(RPCLOADARG): Remove deref argument, don't apply it to ARG.
Update callers.
(RPC_GRAB): Rename from this...
(RPC_GRAB2): ... to this. Update callers.
(RPC_GRAB): New macro.
(RPC): Require that the formal out arguments take values not
references. Change the reply marshal function arguments to take
values, not references.
viengoos/
2007-12-13 Neal H. Walfield <neal@gnu.org>
* rm.h (cap_read): Change out arguments to the actual types and
not references.
(object_slot_read): Likewise.
* server.c (server_loop): Update calls to reply marshal functions
to pass values, not references.
Diffstat (limited to 'viengoos/rm.h')
-rw-r--r-- | viengoos/rm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/viengoos/rm.h b/viengoos/rm.h index 773e960..ba2cebd 100644 --- a/viengoos/rm.h +++ b/viengoos/rm.h @@ -158,7 +158,8 @@ RPC(cap_copy, 5, 0, addr_t, principal, addr_t, target, addr_t, source, /* Store the public bits of the capability CAP in *TYPE and *CAP_ADDR_TRANS. */ RPC(cap_read, 2, 2, addr_t, principal, addr_t, cap, - l4_word_t *, type, struct cap_addr_trans *, cap_addr_trans) + /* Out: */ + l4_word_t, type, struct cap_addr_trans, cap_addr_trans) /* Copy the capability from slot SLOT of the object OBJECT (relative to the start of the object's subpage) to slot TARGET. */ @@ -176,7 +177,8 @@ RPC(object_slot_copy_in, 6, 0, addr_t, principal, OBJECT in *TYPE and *CAP_ADDR. */ RPC(object_slot_read, 3, 2, addr_t, principal, addr_t, object, l4_word_t, slot, - l4_word_t *, type, struct cap_addr_trans *, cap_addr_trans) + /* Out: */ + l4_word_t, type, struct cap_addr_trans, cap_addr_trans) /* Cause the delivery of a pending event, if any. */ RPC(exception_collect, 1, 0, addr_t, principal) |