Changeset 19b28b0 in mainline for uspace/lib/libc/generic/console.c
- Timestamp:
- 2009-03-02T17:31:05Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8026731
- Parents:
- 97c9da8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/console.c
r97c9da8 r19b28b0 40 40 void console_clear(void) 41 41 { 42 int cons_phone = get_cons _phone();42 int cons_phone = get_console_phone(); 43 43 async_msg_0(cons_phone, CONSOLE_CLEAR); 44 44 } … … 46 46 void console_goto(int row, int col) 47 47 { 48 int cons_phone = get_cons _phone();48 int cons_phone = get_console_phone(); 49 49 async_msg_2(cons_phone, CONSOLE_GOTO, row, col); 50 50 } … … 52 52 void console_flush(void) 53 53 { 54 int cons_phone = get_cons _phone();54 int cons_phone = get_console_phone(); 55 55 async_msg_0(cons_phone, CONSOLE_FLUSH); 56 56 } … … 58 58 int console_get_size(int *rows, int *cols) 59 59 { 60 int cons_phone = get_cons _phone();60 int cons_phone = get_console_phone(); 61 61 ipcarg_t r, c; 62 62 int rc; … … 72 72 void console_set_style(int style) 73 73 { 74 int cons_phone = get_cons _phone();74 int cons_phone = get_console_phone(); 75 75 async_msg_1(cons_phone, CONSOLE_SET_STYLE, style); 76 76 } … … 78 78 void console_set_color(int fg_color, int bg_color, int flags) 79 79 { 80 int cons_phone = get_cons _phone();80 int cons_phone = get_console_phone(); 81 81 async_msg_3(cons_phone, CONSOLE_SET_COLOR, fg_color, bg_color, flags); 82 82 } … … 84 84 void console_set_rgb_color(int fg_color, int bg_color) 85 85 { 86 int cons_phone = get_cons _phone();86 int cons_phone = get_console_phone(); 87 87 async_msg_2(cons_phone, CONSOLE_SET_RGB_COLOR, fg_color, bg_color); 88 88 } … … 90 90 void console_cursor_visibility(int show) 91 91 { 92 int cons_phone = get_cons _phone();92 int cons_phone = get_console_phone(); 93 93 async_msg_1(cons_phone, CONSOLE_CURSOR_VISIBILITY, show != 0); 94 94 }
Note:
See TracChangeset
for help on using the changeset viewer.