Changeset 0c6984e in mainline
- Timestamp:
- 2006-06-02T17:33:44Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1b4e74
- Parents:
- e1c4849
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
console/console.c
re1c4849 r0c6984e 182 182 if (c == '0') { 183 183 /* switch to kernel console*/ 184 sync_send_2(fb_info.phone, FB_CURSOR_VISIBILITY, 0, 0, NULL, NULL);184 nsend_call(fb_info.phone, FB_CURSOR_VISIBILITY, 0); 185 185 nsend_call_2(fb_info.phone, FB_SET_STYLE, DEFAULT_FOREGROUND_COLOR, DEFAULT_BACKGROUND_COLOR); 186 186 nsend_call(fb_info.phone, FB_CLEAR, 0); … … 291 291 292 292 break; 293 293 294 case CONSOLE_GETSIZE: 294 295 arg1 = fb_info.cols; 295 296 arg2 = fb_info.rows; 296 297 break; 297 298 case CONSOLE_FLUSH: 299 sync_send_2(fb_info.phone, FB_FLUSH, 0, 0, NULL, NULL); 300 break; 298 301 case CONSOLE_GETCHAR: 299 302 if (keybuffer_empty(&(connections[consnum].keybuffer))) { -
console/console.h
re1c4849 r0c6984e 37 37 #define CONSOLE_GOTO 1029 38 38 #define CONSOLE_GETSIZE 1030 39 #define CONSOLE_FLUSH 1031 39 40 40 41 #endif -
libc/include/ipc/fb.h
re1c4849 r0c6984e 19 19 #define FB_GET_RESOLUTION 1035 20 20 #define FB_DRAW_TEXT_DATA 1036 21 #define FB_FLUSH 1037 21 22 22 23 #endif
Note:
See TracChangeset
for help on using the changeset viewer.