Changeset eb522e8 in mainline for contrib/arch/uspace/srv/console/console.adl
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/arch/uspace/srv/console/console.adl
r9e2e715 reb522e8 1 1 interface console extends service { 2 2 /* Read characters from console */ 3 ipcarg_t read(out_copy stream data);3 sysarg_t read(out_copy stream data); 4 4 5 5 /* Write characters to console */ 6 ipcarg_t write(in_copy stream data);6 sysarg_t write(in_copy stream data); 7 7 8 8 /* Get last event from event queue */ 9 ipcarg_t get_event(out ipcarg_t type, out ipcarg_t key, out ipcarg_t mods, out ipcarg_t char);9 sysarg_t get_event(out sysarg_t type, out sysarg_t key, out sysarg_t mods, out sysarg_t char); 10 10 11 11 /* Flush output buffer */ 12 ipcarg_t sync(void);12 sysarg_t sync(void); 13 13 14 14 /* Clear console */ 15 ipcarg_t clear(void);15 sysarg_t clear(void); 16 16 17 17 /* Move cursor to given position */ 18 ipcarg_t goto(in ipcarg_t col, in ipcarg_t row);18 sysarg_t goto(in sysarg_t col, in sysarg_t row); 19 19 20 20 /* Get console dimensions (in character cells) */ 21 ipcarg_t get_size(out ipcarg_t cols, in ipcarg_t rows);21 sysarg_t get_size(out sysarg_t cols, in sysarg_t rows); 22 22 23 23 /* Get color capabilities */ 24 ipcarg_t get_color_cap(void);24 sysarg_t get_color_cap(void); 25 25 26 26 /* Set abstract text style */ 27 ipcarg_t set_style(in ipcarg_t style);27 sysarg_t set_style(in sysarg_t style); 28 28 29 29 /* Set EGA-based text color */ 30 ipcarg_t set_color(in ipcarg_t fb_color, in ipcarg_t bg_color, in ipcarg_t attr);30 sysarg_t set_color(in sysarg_t fb_color, in sysarg_t bg_color, in sysarg_t attr); 31 31 32 32 /* Set RGB-based text color */ 33 ipcarg_t set_rgb_color(in ipcarg_t fb_color, in ipcarg_t bg_color);33 sysarg_t set_rgb_color(in sysarg_t fb_color, in sysarg_t bg_color); 34 34 35 35 /* Set cursor visibility */ 36 ipcarg_t cursor_visibility(in ipcarg_t visible);36 sysarg_t cursor_visibility(in sysarg_t visible); 37 37 38 38 /* Switch to kernel debugging console (if available) */ 39 ipcarg_t kcon_enable(void);39 sysarg_t kcon_enable(void); 40 40 protocol: 41 41 [console.bp]
Note:
See TracChangeset
for help on using the changeset viewer.