Rev 3618 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3618 | Rev 3742 | ||
|---|---|---|---|
| Line 36... | Line 36... | ||
| 36 | */ |
36 | */ |
| 37 | 37 | ||
| 38 | #ifndef FB_SERIAL_CONSOLE_H_ |
38 | #ifndef FB_SERIAL_CONSOLE_H_ |
| 39 | #define FB_SERIAL_CONSOLE_H_ |
39 | #define FB_SERIAL_CONSOLE_H_ |
| 40 | 40 | ||
| - | 41 | #include <ipc/ipc.h> |
|
| - | 42 | ||
| 41 | typedef void (*putc_function_t)(char); |
43 | typedef void (*putc_function_t)(char); |
| 42 | 44 | ||
| 43 | void serial_puts(char *str); |
45 | void serial_puts(char *str); |
| 44 | void serial_goto(const unsigned int row, const unsigned int col); |
46 | void serial_goto(const unsigned int row, const unsigned int col); |
| 45 | void serial_clrscr(void); |
47 | void serial_clrscr(void); |
| 46 | void serial_scroll(int i); |
48 | void serial_scroll(int i); |
| 47 | void serial_set_style(const unsigned int mode); |
49 | void serial_set_style(const unsigned int mode); |
| 48 | void serial_cursor_disable(void); |
50 | void serial_cursor_disable(void); |
| 49 | void serial_cursor_enable(void); |
51 | void serial_cursor_enable(void); |
| - | 52 | void serial_set_scroll_region(unsigned height); |
|
| 50 | void serial_console_init(putc_function_t putc_fn, uint32_t w, uint32_t h); |
53 | void serial_console_init(putc_function_t putc_fn, uint32_t w, uint32_t h); |
| - | 54 | void serial_client_connection(ipc_callid_t iid, ipc_call_t *icall); |
|
| - | 55 | ||
| 51 | 56 | ||
| 52 | #endif |
57 | #endif |