Changeset fc0de8c in mainline for kernel/generic/src/ipc
- Timestamp:
- 2019-10-14T15:30:30Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 46a8c3cd
- Parents:
- f1cd4b0
- git-author:
- Jakub Jermar <jakub@…> (2019-10-14 15:27:34)
- git-committer:
- Jakub Jermar <jakub@…> (2019-10-14 15:30:30)
- Location:
- kernel/generic/src/ipc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
rf1cd4b0 rfc0de8c 100 100 } 101 101 102 statickobject_ops_t call_kobject_ops = {102 kobject_ops_t call_kobject_ops = { 103 103 .destroy = call_destroy 104 104 }; … … 127 127 128 128 _ipc_call_init(call); 129 kobject_initialize(kobj, KOBJECT_TYPE_CALL, call , &call_kobject_ops);129 kobject_initialize(kobj, KOBJECT_TYPE_CALL, call); 130 130 call->kobject = kobj; 131 131 -
kernel/generic/src/ipc/ipcrsc.c
rf1cd4b0 rfc0de8c 52 52 } 53 53 54 statickobject_ops_t phone_kobject_ops = {54 kobject_ops_t phone_kobject_ops = { 55 55 .destroy = phone_destroy 56 56 }; … … 94 94 phone->hangup_call = hcall; 95 95 96 kobject_initialize(kobj, KOBJECT_TYPE_PHONE, phone, 97 &phone_kobject_ops); 96 kobject_initialize(kobj, KOBJECT_TYPE_PHONE, phone); 98 97 phone->kobject = kobj; 99 98 -
kernel/generic/src/ipc/irq.c
rf1cd4b0 rfc0de8c 306 306 } 307 307 308 statickobject_ops_t irq_kobject_ops = {308 kobject_ops_t irq_kobject_ops = { 309 309 .destroy = irq_destroy 310 310 }; … … 385 385 irq_spinlock_unlock(&irq_uspace_hash_table_lock, true); 386 386 387 kobject_initialize(kobject, KOBJECT_TYPE_IRQ, irq , &irq_kobject_ops);387 kobject_initialize(kobject, KOBJECT_TYPE_IRQ, irq); 388 388 cap_publish(TASK, handle, kobject); 389 389
Note:
See TracChangeset
for help on using the changeset viewer.