Changeset 5d94b16c in mainline for uspace/lib/c
- Timestamp:
- 2012-08-25T19:42:45Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4c84ada5, 5c702a8
- Parents:
- 070ad12
- Location:
- uspace/lib/c
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/Makefile
r070ad12 r5d94b16c 106 106 generic/io/vsnprintf.c \ 107 107 generic/io/printf_core.c \ 108 generic/io/con_srv.c \ 108 109 generic/io/console.c \ 109 110 generic/io/visualizer.c \ -
uspace/lib/c/generic/io/console.c
r070ad12 r5d94b16c 38 38 #include <async.h> 39 39 #include <errno.h> 40 #include <stdio.h>41 40 #include <malloc.h> 42 41 #include <vfs/vfs_sess.h> … … 126 125 { 127 126 async_exch_t *exch = async_exchange_begin(ctrl->output_sess); 128 async_req_1_0(exch, CONSOLE_ CURSOR_VISIBILITY, (show != false));127 async_req_1_0(exch, CONSOLE_SET_CURSOR_VISIBILITY, (show != false)); 129 128 async_exchange_end(exch); 130 129 } … … 151 150 { 152 151 async_exch_t *exch = async_exchange_begin(ctrl->output_sess); 153 async_req_2_0(exch, CONSOLE_ GOTO, col, row);152 async_req_2_0(exch, CONSOLE_SET_POS, col, row); 154 153 async_exchange_end(exch); 155 154 } -
uspace/lib/c/generic/io/output.c
r070ad12 r5d94b16c 37 37 #include <as.h> 38 38 #include <ipc/output.h> 39 #include <io/concaps.h> 39 40 #include <io/output.h> 40 41 -
uspace/lib/c/include/io/console.h
r070ad12 r5d94b16c 37 37 38 38 #include <sys/time.h> 39 #include <io/concaps.h> 39 40 #include <io/kbd_event.h> 40 41 #include <io/keycode.h> … … 42 43 #include <bool.h> 43 44 #include <stdio.h> 44 45 typedef enum {46 CONSOLE_CAP_NONE = 0,47 CONSOLE_CAP_STYLE = 1,48 CONSOLE_CAP_INDEXED = 2,49 CONSOLE_CAP_RGB = 450 } console_caps_t;51 45 52 46 /** Console control structure. */ -
uspace/lib/c/include/ipc/console.h
r070ad12 r5d94b16c 43 43 CONSOLE_GET_EVENT, 44 44 CONSOLE_GET_POS, 45 CONSOLE_ GOTO,45 CONSOLE_SET_POS, 46 46 CONSOLE_CLEAR, 47 47 CONSOLE_SET_STYLE, 48 48 CONSOLE_SET_COLOR, 49 49 CONSOLE_SET_RGB_COLOR, 50 CONSOLE_ CURSOR_VISIBILITY50 CONSOLE_SET_CURSOR_VISIBILITY 51 51 } console_request_t; 52 52
Note:
See TracChangeset
for help on using the changeset viewer.