Changeset 48f7e47 in mainline


Ignore:
Timestamp:
2019-11-19T09:06:05Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
959ef5d
Parents:
32dde7e8
git-author:
Jiri Svoboda <jiri@…> (2019-11-18 18:52:33)
git-committer:
Jiri Svoboda <jiri@…> (2019-11-19 09:06:05)
Message:

Port terminal application directly to display service

This is probably not the last stage, but it might be handy to have a working
terminal if the GUI is broken while it is being migrated.

Location:
uspace
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/meson.build

    r32dde7e8 r48f7e47  
    7676        'sysinst',
    7777        'taskdump',
     78        'terminal',
    7879        'tester',
    7980        'testread',
  • uspace/lib/ipcgfx/src/client.c

    r32dde7e8 r48f7e47  
    6262};
    6363
    64 #include <stdio.h>
    65 
    6664/** Set color on IPC GC.
    6765 *
     
    8078        errno_t rc;
    8179
    82         printf("ipc_gc_set_color\n");
    8380        gfx_color_get_rgb_i16(color, &r, &g, &b);
    8481
     
    103100        errno_t rc;
    104101
    105         printf("ipc_gc_fill_rect\n");
    106102        exch = async_exchange_begin(ipcgc->sess);
    107103        rc = async_req_4_0(exch, GC_FILL_RECT, rect->p0.x, rect->p0.y,
     
    206202        errno_t rc;
    207203
    208         printf("ipc_gc_bitmap_destroy\n");
    209 
    210204        exch = async_exchange_begin(ipcbm->ipcgc->sess);
    211205        rc = async_req_1_0(exch, GC_BITMAP_DESTROY, ipcbm->bmp_id);
  • uspace/lib/ipcgfx/src/server.c

    r32dde7e8 r48f7e47  
    262262                switch (method) {
    263263                case GC_SET_RGB_COLOR:
    264                         printf("gc_conn: set_rgb_color\n");
    265264                        gc_set_rgb_color_srv(&srvgc, &call);
    266                         printf("gc_conn: done set_rgb_color\n");
    267265                        break;
    268266                case GC_FILL_RECT:
    269                         printf("gc_conn: fill_rect_srv\n");
    270267                        gc_fill_rect_srv(&srvgc, &call);
    271                         printf("gc_conn: done fill_rect_srv\n");
    272268                        break;
    273269                case GC_BITMAP_CREATE:
    274                         printf("gc_conn: bitmap_create_srv\n");
    275270                        gc_bitmap_create_srv(&srvgc, &call);
    276                         printf("gc_conn: done bitmap_create_srv\n");
    277271                        break;
    278272                case GC_BITMAP_DESTROY:
    279                         printf("gc_conn: bitmap_destroy_srv\n");
    280273                        gc_bitmap_destroy_srv(&srvgc, &call);
    281                         printf("gc_conn: done bitmap_destroy_srv\n");
    282274                        break;
    283275                case GC_BITMAP_RENDER:
    284                         printf("gc_conn: bitmap_render_srv\n");
    285276                        gc_bitmap_render_srv(&srvgc, &call);
    286                         printf("gc_conn: done bitmap_render_srv\n");
    287277                        break;
    288278                default:
    289                         printf("gc_conn: answer einval\n");
    290279                        async_answer_0(&call, EINVAL);
    291                         printf("gc_conn: done answer einval\n");
     280                        break;
    292281                }
    293282        }
     
    305294        while (link != NULL) {
    306295                bmp = list_get_instance(link, ipc_gc_srv_bitmap_t, lbitmaps);
    307                 printf("gc_bitmap_lookup: %lu==%lu?\n", bmp->bmp_id, bmp_id);
    308296                if (bmp->bmp_id == bmp_id)
    309297                        return bmp;
Note: See TracChangeset for help on using the changeset viewer.