Ignore:
Timestamp:
2018-03-21T21:29:31Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3e242d2
Parents:
eadaeae8
Message:

Get rid of ipc_callid_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_usbhid.c

    readaeae8 r3be9d10  
    283283}
    284284
    285 static void remote_usbhid_get_event_length(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *);
    286 static void remote_usbhid_get_event(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *);
    287 static void remote_usbhid_get_report_descriptor_length(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *);
    288 static void remote_usbhid_get_report_descriptor(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *);
    289 // static void remote_usbhid_(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *);
     285static void remote_usbhid_get_event_length(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *);
     286static void remote_usbhid_get_event(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *);
     287static void remote_usbhid_get_report_descriptor_length(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *);
     288static void remote_usbhid_get_report_descriptor(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *);
     289// static void remote_usbhid_(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *);
    290290
    291291/** Remote USB HID interface operations. */
     
    309309
    310310void remote_usbhid_get_event_length(ddf_fun_t *fun, void *iface,
    311     ipc_callid_t callid, ipc_call_t *call)
     311    cap_call_handle_t callid, ipc_call_t *call)
    312312{
    313313        printf("remote_usbhid_get_event_length()\n");
     
    335335
    336336void remote_usbhid_get_event(ddf_fun_t *fun, void *iface,
    337     ipc_callid_t callid, ipc_call_t *call)
     337    cap_call_handle_t callid, ipc_call_t *call)
    338338{
    339339        usbhid_iface_t *hid_iface = (usbhid_iface_t *) iface;
     
    347347
    348348        size_t len;
    349         ipc_callid_t data_callid;
     349        cap_call_handle_t data_callid;
    350350        if (!async_data_read_receive(&data_callid, &len)) {
    351351                async_answer_0(callid, EPARTY);
     
    394394
    395395void remote_usbhid_get_report_descriptor_length(ddf_fun_t *fun, void *iface,
    396     ipc_callid_t callid, ipc_call_t *call)
     396    cap_call_handle_t callid, ipc_call_t *call)
    397397{
    398398        usbhid_iface_t *hid_iface = (usbhid_iface_t *) iface;
     
    408408
    409409void remote_usbhid_get_report_descriptor(ddf_fun_t *fun, void *iface,
    410     ipc_callid_t callid, ipc_call_t *call)
     410    cap_call_handle_t callid, ipc_call_t *call)
    411411{
    412412        usbhid_iface_t *hid_iface = (usbhid_iface_t *) iface;
     
    418418
    419419        size_t len;
    420         ipc_callid_t data_callid;
     420        cap_call_handle_t data_callid;
    421421        if (!async_data_read_receive(&data_callid, &len)) {
    422422                async_answer_0(callid, EINVAL);
Note: See TracChangeset for help on using the changeset viewer.