summaryrefslogtreecommitdiff
path: root/viengoos/as.h
diff options
context:
space:
mode:
authorneal <neal>2008-02-11 10:36:42 +0000
committerneal <neal>2008-02-11 10:36:42 +0000
commit61fcdaf55511c039abc5df856b7dce2514f84dc2 (patch)
tree6bc4eb079e81f057d3ed949a4618ae438d6ab80a /viengoos/as.h
parentc2a63ec3d68cbce07d31216621593ab48b4832d1 (diff)
viengoos/
2008-02-11 Neal H. Walfield <neal@gnu.org> * as.h (as_insert): Change return type to struct cap *. * as.c (as_insert): Change return type to struct cap *. Return SLOT. libhurd-mm/ 2008-02-11 Neal H. Walfield <neal@gnu.org> * as.h (as_insert): Change return type to struct cap *. (as_insert_custom): Likewise.
Diffstat (limited to 'viengoos/as.h')
-rw-r--r--viengoos/as.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/viengoos/as.h b/viengoos/as.h
index 34f34bc..f4b0080 100644
--- a/viengoos/as.h
+++ b/viengoos/as.h
@@ -148,10 +148,11 @@ typedef struct as_insert_rt allocate_object_callback_t (enum cap_type type,
address space. ALLOC_OBJECT is a callback to allocate an object of
type TYPE at address ADDR. The callback should NOT insert the
allocated object into the addresss space. */
-extern void as_insert (activity_t activity,
- addr_t target_as, struct cap *t_as_cap, addr_t target,
- addr_t source_as, struct cap c_cap, addr_t source,
- allocate_object_callback_t alloc);
+extern struct cap *as_insert
+ (activity_t activity,
+ addr_t target_as, struct cap *t_as_cap, addr_t target,
+ addr_t source_as, struct cap c_cap, addr_t source,
+ allocate_object_callback_t alloc);
/* Ensure that the slot designated by ADDR in the address space root
at AS is accessible by allocating any required page tables. Return