Changes in uspace/lib/console/src/console.c [899bdfd:a635535] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/console/src/console.c
r899bdfd ra635535 1 1 /* 2 * Copyright (c) 202 4Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * Copyright (c) 2006 Josef Cejka 4 4 * Copyright (c) 2006 Jakub Vana … … 36 36 37 37 #include <as.h> 38 #include <dbgcon.h>39 38 #include <libc.h> 40 39 #include <async.h> … … 78 77 bool console_kcon(void) 79 78 { 80 return dbgcon_enable();79 return __SYSCALL0(SYS_DEBUG_CONSOLE); 81 80 } 82 81 … … 193 192 event->ev.key.mods = ipc_get_arg4(call); 194 193 event->ev.key.c = ipc_get_arg5(call); 195 return EOK;194 break; 196 195 case CEV_POS: 197 196 event->ev.pos.pos_id = ipc_get_arg2(call) >> 16; … … 200 199 event->ev.pos.hpos = ipc_get_arg4(call); 201 200 event->ev.pos.vpos = ipc_get_arg5(call); 202 return EOK;203 case CEV_RESIZE:204 return E OK;205 } 206 207 return E IO;201 break; 202 default: 203 return EIO; 204 } 205 206 return EOK; 208 207 } 209 208
Note:
See TracChangeset
for help on using the changeset viewer.