Changeset 4ca28512 in mainline for kernel/generic/src/ipc/ipc.c
- Timestamp:
- 2009-11-19T21:08:45Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c70ce74
- Parents:
- 35bb2e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r35bb2e7 r4ca28512 96 96 } 97 97 98 /** Initialize a statically allocated call structure.99 *100 * @param call Statically allocated kernel call structure to be101 * initialized.102 */103 void ipc_call_static_init(call_t *call)104 {105 _ipc_call_init(call);106 call->flags |= IPC_CALL_STATIC_ALLOC;107 }108 109 98 /** Deallocate a call structure. 110 99 * … … 113 102 void ipc_call_free(call_t *call) 114 103 { 115 ASSERT(!(call->flags & IPC_CALL_STATIC_ALLOC));116 104 /* Check to see if we have data in the IPC_M_DATA_SEND buffer. */ 117 105 if (call->buffer) … … 574 562 ASSERT((call->flags & IPC_CALL_ANSWERED) || 575 563 (call->flags & IPC_CALL_NOTIF)); 576 ASSERT(!(call->flags & IPC_CALL_STATIC_ALLOC));577 564 578 565 /*
Note:
See TracChangeset
for help on using the changeset viewer.