Changes in kernel/generic/include/ipc/ipc.h [455241b:31e15be] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ipc/ipc.h
r455241b r31e15be 74 74 /** User-defined label */ 75 75 sysarg_t label; 76 kobject_t kobject;76 kobject_t *kobject; 77 77 } phone_t; 78 78 … … 108 108 109 109 typedef struct call { 110 kobject_t kobject;110 kobject_t *kobject; 111 111 112 112 /** … … 169 169 170 170 extern slab_cache_t *phone_cache; 171 extern slab_cache_t *irq_cache;172 171 173 172 extern answerbox_t *ipc_box_0; 174 173 175 174 extern kobject_ops_t call_kobject_ops; 176 177 static inline phone_t *phone_from_kobject(kobject_t *kobject)178 {179 if (kobject)180 return ((void *) kobject) - offsetof(phone_t, kobject);181 else182 return NULL;183 }184 185 static inline call_t *call_from_kobject(kobject_t *kobject)186 {187 if (kobject)188 return ((void *) kobject) - offsetof(call_t, kobject);189 else190 return NULL;191 }192 175 193 176 extern void ipc_init(void);
Note:
See TracChangeset
for help on using the changeset viewer.