Changeset 50cfa6c in mainline for uspace/lib/libc
- Timestamp:
- 2009-07-14T21:25:13Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bf5443d
- Parents:
- 7d88587
- Location:
- uspace/lib/libc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/io/console.c
r7d88587 r50cfa6c 70 70 } 71 71 72 int console_get_color_cap(int phone, int *ccap) 73 { 74 ipcarg_t ccap_tmp; 75 int rc; 76 77 rc = async_req_0_1(phone, CONSOLE_GET_COLOR_CAP, &ccap_tmp); 78 *ccap = ccap_tmp; 79 80 return rc; 81 } 82 72 83 void console_kcon_enable(int phone) 73 84 { -
uspace/lib/libc/include/io/console.h
r7d88587 r50cfa6c 44 44 } console_ev_type_t; 45 45 46 enum { 47 CONSOLE_CCAP_NONE = 0, 48 CONSOLE_CCAP_STYLE, 49 CONSOLE_CCAP_INDEXED, 50 CONSOLE_CCAP_RGB 51 }; 52 46 53 /** Console event structure. */ 47 54 typedef struct { … … 69 76 70 77 extern void console_cursor_visibility(int phone, bool show); 78 extern int console_get_color_cap(int phone, int *ccap); 71 79 extern void console_kcon_enable(int phone); 72 80 -
uspace/lib/libc/include/ipc/console.h
r7d88587 r50cfa6c 41 41 typedef enum { 42 42 CONSOLE_GET_SIZE = VFS_OUT_LAST, 43 CONSOLE_GET_COLOR_CAP, 43 44 CONSOLE_GET_EVENT, 44 45 CONSOLE_GOTO, -
uspace/lib/libc/include/ipc/fb.h
r7d88587 r50cfa6c 42 42 FB_CLEAR, 43 43 FB_GET_CSIZE, 44 FB_GET_COLOR_CAP, 44 45 FB_CURSOR_VISIBILITY, 45 46 FB_CURSOR_GOTO, … … 72 73 } fb_request_t; 73 74 75 enum { 76 FB_CCAP_NONE = 0, 77 FB_CCAP_STYLE, 78 FB_CCAP_INDEXED, 79 FB_CCAP_RGB 80 }; 81 74 82 #endif 75 83
Note:
See TracChangeset
for help on using the changeset viewer.