Subversion Repositories HelenOS

Rev

Rev 3747 | Rev 3850 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3747 Rev 3767
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);