Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/console/src/console.c

    ra635535 r899bdfd  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * Copyright (c) 2006 Josef Cejka
    44 * Copyright (c) 2006 Jakub Vana
     
    3636
    3737#include <as.h>
     38#include <dbgcon.h>
    3839#include <libc.h>
    3940#include <async.h>
     
    7778bool console_kcon(void)
    7879{
    79         return __SYSCALL0(SYS_DEBUG_CONSOLE);
     80        return dbgcon_enable();
    8081}
    8182
     
    192193                event->ev.key.mods = ipc_get_arg4(call);
    193194                event->ev.key.c = ipc_get_arg5(call);
    194                 break;
     195                return EOK;
    195196        case CEV_POS:
    196197                event->ev.pos.pos_id = ipc_get_arg2(call) >> 16;
     
    199200                event->ev.pos.hpos = ipc_get_arg4(call);
    200201                event->ev.pos.vpos = ipc_get_arg5(call);
    201                 break;
    202         default:
    203                 return EIO;
    204         }
    205 
    206         return EOK;
     202                return EOK;
     203        case CEV_RESIZE:
     204                return EOK;
     205        }
     206
     207        return EIO;
    207208}
    208209
Note: See TracChangeset for help on using the changeset viewer.