Changeset fafb8e5 in mainline for uspace/lib/graph/graph.c


Ignore:
Timestamp:
2019-02-06T13:25:12Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
95a47b0
Parents:
eb13ef8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:10:59)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
Message:

Mechanically lowercase IPC_SET_*/IPC_GET_*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/graph/graph.c

    reb13ef8 rfafb8e5  
    243243static void vs_claim(visualizer_t *vs, ipc_call_t *icall)
    244244{
    245         vs->client_side_handle = IPC_GET_ARG1(icall);
     245        vs->client_side_handle = ipc_get_arg1(icall);
    246246        errno_t rc = vs->ops.claim(vs);
    247247        async_answer_0(icall, rc);
     
    283283
    284284        fibril_mutex_lock(&vs->mode_mtx);
    285         link_t *link = list_nth(&vs->modes, IPC_GET_ARG1(icall));
     285        link_t *link = list_nth(&vs->modes, ipc_get_arg1(icall));
    286286
    287287        if (link != NULL) {
     
    360360        }
    361361
    362         sysarg_t mode_idx = IPC_GET_ARG1(icall);
     362        sysarg_t mode_idx = ipc_get_arg1(icall);
    363363
    364364        fibril_mutex_lock(&vs->mode_mtx);
     
    397397
    398398        /* Retrieve mode index and version. */
    399         sysarg_t mode_idx = IPC_GET_ARG1(icall);
    400         sysarg_t mode_version = IPC_GET_ARG2(icall);
     399        sysarg_t mode_idx = ipc_get_arg1(icall);
     400        sysarg_t mode_version = ipc_get_arg2(icall);
    401401
    402402        /* Find mode in the list. */
     
    470470static void vs_update_damaged_region(visualizer_t *vs, ipc_call_t *icall)
    471471{
    472         sysarg_t x_offset = (IPC_GET_ARG5(icall) >> 16);
    473         sysarg_t y_offset = (IPC_GET_ARG5(icall) & 0x0000ffff);
     472        sysarg_t x_offset = (ipc_get_arg5(icall) >> 16);
     473        sysarg_t y_offset = (ipc_get_arg5(icall) & 0x0000ffff);
    474474
    475475        errno_t rc = vs->ops.handle_damage(vs,
    476             IPC_GET_ARG1(icall), IPC_GET_ARG2(icall),
    477             IPC_GET_ARG3(icall), IPC_GET_ARG4(icall),
     476            ipc_get_arg1(icall), ipc_get_arg2(icall),
     477            ipc_get_arg3(icall), ipc_get_arg4(icall),
    478478            x_offset, y_offset);
    479479        async_answer_0(icall, rc);
     
    516516                async_get_call(&call);
    517517
    518                 if (!IPC_GET_IMETHOD(&call)) {
     518                if (!ipc_get_imethod(&call)) {
    519519                        async_answer_0(&call, EOK);
    520520                        break;
    521521                }
    522522
    523                 switch (IPC_GET_IMETHOD(&call)) {
     523                switch (ipc_get_imethod(&call)) {
    524524                case VISUALIZER_CLAIM:
    525525                        vs_claim(vs, &call);
     
    576576                async_get_call(&call);
    577577
    578                 if (!IPC_GET_IMETHOD(&call)) {
     578                if (!ipc_get_imethod(&call)) {
    579579                        async_answer_0(&call, EOK);
    580580                        break;
    581581                }
    582582
    583                 switch (IPC_GET_IMETHOD(&call)) {
     583                switch (ipc_get_imethod(&call)) {
    584584                default:
    585585                        async_answer_0(&call, EINVAL);
     
    595595{
    596596        /* Find the visualizer or renderer with the given service ID. */
    597         visualizer_t *vs = graph_get_visualizer(IPC_GET_ARG2(icall));
    598         renderer_t *rnd = graph_get_renderer(IPC_GET_ARG2(icall));
     597        visualizer_t *vs = graph_get_visualizer(ipc_get_arg2(icall));
     598        renderer_t *rnd = graph_get_renderer(ipc_get_arg2(icall));
    599599
    600600        if (vs != NULL)
Note: See TracChangeset for help on using the changeset viewer.