Ignore:
File:
1 edited

Legend:

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

    r899bdfd ra635535  
    11/*
    2  * Copyright (c) 2024 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * Copyright (c) 2006 Josef Cejka
    44 * Copyright (c) 2006 Jakub Vana
     
    3636
    3737#include <as.h>
    38 #include <dbgcon.h>
    3938#include <libc.h>
    4039#include <async.h>
     
    7877bool console_kcon(void)
    7978{
    80         return dbgcon_enable();
     79        return __SYSCALL0(SYS_DEBUG_CONSOLE);
    8180}
    8281
     
    193192                event->ev.key.mods = ipc_get_arg4(call);
    194193                event->ev.key.c = ipc_get_arg5(call);
    195                 return EOK;
     194                break;
    196195        case CEV_POS:
    197196                event->ev.pos.pos_id = ipc_get_arg2(call) >> 16;
     
    200199                event->ev.pos.hpos = ipc_get_arg4(call);
    201200                event->ev.pos.vpos = ipc_get_arg5(call);
    202                 return EOK;
    203         case CEV_RESIZE:
    204                 return EOK;
    205         }
    206 
    207         return EIO;
     201                break;
     202        default:
     203                return EIO;
     204        }
     205
     206        return EOK;
    208207}
    209208
Note: See TracChangeset for help on using the changeset viewer.