From e03567399f762998a4a0b4227adf86a38009c712 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 22 May 2015 19:25:41 +0200 Subject: 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. --- ipc/ipc_space.c | 1 - ipc/ipc_space.h | 11 +---------- 2 files changed, 1 insertion(+), 11 deletions(-) (limited to 'ipc') 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 *); -- cgit v1.2.3