Rev 3674 | Rev 4341 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3674 | Rev 4338 | ||
|---|---|---|---|
| Line 47... | Line 47... | ||
| 47 | 47 | ||
| 48 | // Temporary: service and method names |
48 | // Temporary: service and method names |
| 49 | #include "proto.h" |
49 | #include "proto.h" |
| 50 | #include <ipc/services.h> |
50 | #include <ipc/services.h> |
| 51 | #include "../../srv/vfs/vfs.h" |
51 | #include "../../srv/vfs/vfs.h" |
| 52 | #include "../../srv/console/console.h" |
52 | #include <ipc/console.h> |
| 53 | 53 | ||
| 54 | #include "syscalls.h" |
54 | #include "syscalls.h" |
| 55 | #include "ipcp.h" |
55 | #include "ipcp.h" |
| 56 | #include "errors.h" |
56 | #include "errors.h" |
| 57 | #include "trace.h" |
57 | #include "trace.h" |
| Line 664... | Line 664... | ||
| 664 | o = oper_new("getsize", 0, arg_def, V_INTEGER, 2, resp_def); |
664 | o = oper_new("getsize", 0, arg_def, V_INTEGER, 2, resp_def); |
| 665 | proto_add_oper(p, CONSOLE_GETSIZE, o); |
665 | proto_add_oper(p, CONSOLE_GETSIZE, o); |
| 666 | o = oper_new("flush", 0, arg_def, V_VOID, 0, resp_def); |
666 | o = oper_new("flush", 0, arg_def, V_VOID, 0, resp_def); |
| 667 | proto_add_oper(p, CONSOLE_FLUSH, o); |
667 | proto_add_oper(p, CONSOLE_FLUSH, o); |
| 668 | 668 | ||
| 669 | arg_def[0] = V_INTEGER; arg_def[1] = V_INTEGER; |
669 | arg_def[0] = V_INTEGER; |
| 670 | o = oper_new("set_style", 2, arg_def, V_INTEGER, 0, resp_def); |
670 | o = oper_new("set_style", 1, arg_def, V_INTEGER, 0, resp_def); |
| 671 | proto_add_oper(p, CONSOLE_SET_STYLE, o); |
671 | proto_add_oper(p, CONSOLE_SET_STYLE, o); |
| - | 672 | arg_def[0] = V_INTEGER; arg_def[1] = V_INTEGER; arg_def[2] = V_INTEGER; |
|
| - | 673 | o = oper_new("set_color", 3, arg_def, V_INTEGER, 0, resp_def); |
|
| - | 674 | proto_add_oper(p, CONSOLE_SET_COLOR, o); |
|
| - | 675 | arg_def[0] = V_INTEGER; arg_def[1] = V_INTEGER; |
|
| - | 676 | o = oper_new("set_rgb_color", 2, arg_def, V_INTEGER, 0, resp_def); |
|
| - | 677 | proto_add_oper(p, CONSOLE_SET_RGB_COLOR, o); |
|
| 672 | o = oper_new("cursor_visibility", 1, arg_def, V_VOID, 0, resp_def); |
678 | o = oper_new("cursor_visibility", 1, arg_def, V_VOID, 0, resp_def); |
| 673 | proto_add_oper(p, CONSOLE_CURSOR_VISIBILITY, o); |
679 | proto_add_oper(p, CONSOLE_CURSOR_VISIBILITY, o); |
| 674 | 680 | ||
| 675 | proto_console = p; |
681 | proto_console = p; |
| 676 | proto_register(SERVICE_CONSOLE, p); |
682 | proto_register(SERVICE_CONSOLE, p); |