Changeset 3be9d10 in mainline for uspace/srv/hid/output/output.c


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/srv/hid/output/output.c

    readaeae8 r3be9d10  
    7878}
    7979
    80 static void srv_yield(ipc_callid_t iid, ipc_call_t *icall)
     80static void srv_yield(cap_call_handle_t iid, ipc_call_t *icall)
    8181{
    8282        errno_t ret = EOK;
     
    9393}
    9494
    95 static void srv_claim(ipc_callid_t iid, ipc_call_t *icall)
     95static void srv_claim(cap_call_handle_t iid, ipc_call_t *icall)
    9696{
    9797        errno_t ret = EOK;
     
    108108}
    109109
    110 static void srv_get_dimensions(ipc_callid_t iid, ipc_call_t *icall)
     110static void srv_get_dimensions(cap_call_handle_t iid, ipc_call_t *icall)
    111111{
    112112        sysarg_t cols = MAX_COLS;
     
    121121}
    122122
    123 static void srv_get_caps(ipc_callid_t iid, ipc_call_t *icall)
     123static void srv_get_caps(cap_call_handle_t iid, ipc_call_t *icall)
    124124{
    125125        console_caps_t caps = 0;
     
    134134}
    135135
    136 static frontbuf_t *resolve_frontbuf(sysarg_t handle, ipc_callid_t iid)
     136static frontbuf_t *resolve_frontbuf(sysarg_t handle, cap_call_handle_t iid)
    137137{
    138138        frontbuf_t *frontbuf = NULL;
     
    152152}
    153153
    154 static void srv_frontbuf_create(ipc_callid_t iid, ipc_call_t *icall)
     154static void srv_frontbuf_create(cap_call_handle_t iid, ipc_call_t *icall)
    155155{
    156156        frontbuf_t *frontbuf = (frontbuf_t *) malloc(sizeof(frontbuf_t));
     
    162162        link_initialize(&frontbuf->link);
    163163
    164         ipc_callid_t callid;
     164        cap_call_handle_t callid;
    165165        if (!async_share_out_receive(&callid, &frontbuf->size,
    166166            &frontbuf->flags)) {
     
    181181}
    182182
    183 static void srv_frontbuf_destroy(ipc_callid_t iid, ipc_call_t *icall)
     183static void srv_frontbuf_destroy(cap_call_handle_t iid, ipc_call_t *icall)
    184184{
    185185        frontbuf_t *frontbuf = resolve_frontbuf(IPC_GET_ARG1(*icall), iid);
     
    194194}
    195195
    196 static void srv_cursor_update(ipc_callid_t iid, ipc_call_t *icall)
     196static void srv_cursor_update(cap_call_handle_t iid, ipc_call_t *icall)
    197197{
    198198        frontbuf_t *frontbuf = resolve_frontbuf(IPC_GET_ARG1(*icall), iid);
     
    226226}
    227227
    228 static void srv_set_style(ipc_callid_t iid, ipc_call_t *icall)
     228static void srv_set_style(cap_call_handle_t iid, ipc_call_t *icall)
    229229{
    230230        list_foreach(outdevs, link, outdev_t, dev) {
     
    237237}
    238238
    239 static void srv_set_color(ipc_callid_t iid, ipc_call_t *icall)
     239static void srv_set_color(cap_call_handle_t iid, ipc_call_t *icall)
    240240{
    241241        list_foreach(outdevs, link, outdev_t, dev) {
     
    252252}
    253253
    254 static void srv_set_rgb_color(ipc_callid_t iid, ipc_call_t *icall)
     254static void srv_set_rgb_color(cap_call_handle_t iid, ipc_call_t *icall)
    255255{
    256256        list_foreach(outdevs, link, outdev_t, dev) {
     
    302302}
    303303
    304 static void srv_update(ipc_callid_t iid, ipc_call_t *icall)
     304static void srv_update(cap_call_handle_t iid, ipc_call_t *icall)
    305305{
    306306        frontbuf_t *frontbuf = resolve_frontbuf(IPC_GET_ARG1(*icall), iid);
     
    352352}
    353353
    354 static void srv_damage(ipc_callid_t iid, ipc_call_t *icall)
     354static void srv_damage(cap_call_handle_t iid, ipc_call_t *icall)
    355355{
    356356        frontbuf_t *frontbuf = resolve_frontbuf(IPC_GET_ARG1(*icall), iid);
     
    391391}
    392392
    393 static void client_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg)
     393static void client_connection(cap_call_handle_t iid, ipc_call_t *icall, void *arg)
    394394{
    395395        /* Accept the connection */
     
    398398        while (true) {
    399399                ipc_call_t call;
    400                 ipc_callid_t callid = async_get_call(&call);
     400                cap_call_handle_t callid = async_get_call(&call);
    401401
    402402                if (!IPC_GET_IMETHOD(call)) {
Note: See TracChangeset for help on using the changeset viewer.