Ignore:
Timestamp:
2012-08-24T22:27:44Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
20282ef3
Parents:
13dbaa8c
Message:

Add two new sysipc_ops_t members:

  • request_forget()
  • answer_cleanup()

Call these members to perform cleanup at appropriate times.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ops/conctmeto.c

    r13dbaa8c rb1e6269  
    5454}
    5555
     56static void request_forget(call_t *call)
     57{
     58        phone_dealloc(call->priv);
     59}
     60
    5661static int answer_preprocess(call_t *answer, ipc_data_t *olddata)
    5762{
     
    7782sysipc_ops_t ipc_m_connect_me_to_ops = {
    7883        .request_preprocess = request_preprocess,
     84        .request_forget = request_forget,
    7985        .request_process = null_request_process,
     86        .answer_cleanup = null_answer_cleanup,
    8087        .answer_preprocess = answer_preprocess,
    8188        .answer_process = answer_process,
Note: See TracChangeset for help on using the changeset viewer.