diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-05-22 19:25:41 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-05-22 19:25:41 +0200 |
commit | e03567399f762998a4a0b4227adf86a38009c712 (patch) | |
tree | 51fa18ed20c80f648a1bfdae9ba96570139dc9e1 /ipc | |
parent | 4934e7c3735dbd25953c922a1327a875f47046a4 (diff) |
ipc: drop size parameter from `ipc_space_create'
* ipc/ipc_space.c (ipc_space_create): Drop size parameter.
* ipc/ipc_space.h (ipc_space_create): Adopt declaration, fix comment.
* kern/ipc_tt.c (ipc_task_init): Adopt accordingly.
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_space.c | 1 | ||||
-rw-r--r-- | ipc/ipc_space.h | 11 |
2 files changed, 1 insertions, 11 deletions
diff --git a/ipc/ipc_space.c b/ipc/ipc_space.c index ea3cb3b..894cf58 100644 --- a/ipc/ipc_space.c +++ b/ipc/ipc_space.c @@ -99,7 +99,6 @@ struct ipc_entry zero_entry; kern_return_t ipc_space_create( - ipc_table_size_t initial, ipc_space_t *spacep) { ipc_space_t space; diff --git a/ipc/ipc_space.h b/ipc/ipc_space.h index 58fe47c..bbfee46 100644 --- a/ipc/ipc_space.h +++ b/ipc/ipc_space.h @@ -54,15 +54,6 @@ * Every task has a space of IPC capabilities. * IPC operations like send and receive use this space. * IPC kernel calls manipulate the space of the target task. - * - * Every space has a non-NULL is_table with is_table_size entries. - * A space may have a NULL is_tree. is_tree_small records the - * number of entries in the tree that, if the table were to grow - * to the next larger size, would move from the tree to the table. - * - * is_growing marks when the table is in the process of growing. - * When the table is growing, it can't be freed or grown by another - * thread, because of krealloc/kmem_realloc's requirements. */ typedef unsigned int ipc_space_refs_t; @@ -133,7 +124,7 @@ extern void ipc_space_release(struct ipc_space *space); #define is_reference(is) ipc_space_reference(is) #define is_release(is) ipc_space_release(is) -kern_return_t ipc_space_create(ipc_table_size_t, ipc_space_t *); +kern_return_t ipc_space_create(ipc_space_t *); kern_return_t ipc_space_create_special(struct ipc_space **); void ipc_space_destroy(struct ipc_space *); |