Changeset ebb1489 in mainline for uspace/lib/console/src/console.c
- Timestamp:
- 2024-10-13T08:23:40Z (8 weeks ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/console/src/console.c
r2a0c827c rebb1489 1 1 /* 2 * Copyright (c) 202 1Jiri Svoboda2 * Copyright (c) 2024 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> 38 39 #include <libc.h> 39 40 #include <async.h> … … 77 78 bool console_kcon(void) 78 79 { 79 return __SYSCALL0(SYS_DEBUG_CONSOLE);80 return dbgcon_enable(); 80 81 } 81 82 … … 192 193 event->ev.key.mods = ipc_get_arg4(call); 193 194 event->ev.key.c = ipc_get_arg5(call); 194 break;195 return EOK; 195 196 case CEV_POS: 196 197 event->ev.pos.pos_id = ipc_get_arg2(call) >> 16; … … 199 200 event->ev.pos.hpos = ipc_get_arg4(call); 200 201 event->ev.pos.vpos = ipc_get_arg5(call); 201 break;202 default:203 return E IO;204 } 205 206 return E OK;202 return EOK; 203 case CEV_RESIZE: 204 return EOK; 205 } 206 207 return EIO; 207 208 } 208 209
Note:
See TracChangeset
for help on using the changeset viewer.