Changeset 741a7af9 in mainline


Ignore:
Timestamp:
2009-02-01T14:22:07Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cbc8ac6
Parents:
5a5abf1
Message:

Slighly update protocol defs in tracer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/trace/trace.c

    r5a5abf1 r741a7af9  
    643643/*      o = oper_new("unmount", 0, arg_def);
    644644        proto_add_oper(p, VFS_UNMOUNT, o);*/
     645        o = oper_new("open", 2, arg_def, V_INT_ERRNO, 0, resp_def);
     646        proto_add_oper(p, VFS_OPEN, o);
     647        o = oper_new("close", 1, arg_def, V_ERRNO, 0, resp_def);
     648        proto_add_oper(p, VFS_CLOSE, o);
     649        o = oper_new("seek", 3, arg_def, V_ERRNO, 0, resp_def);
     650        proto_add_oper(p, VFS_SEEK, o);
     651        o = oper_new("mkdir", 1, arg_def, V_ERRNO, 0, resp_def);
     652        proto_add_oper(p, VFS_MKDIR, o);
     653        o = oper_new("unlink", 0, arg_def, V_ERRNO, 0, resp_def);
     654        proto_add_oper(p, VFS_UNLINK, o);
     655        o = oper_new("rename", 0, arg_def, V_ERRNO, 0, resp_def);
     656        proto_add_oper(p, VFS_RENAME, o);
    645657
    646658        proto_register(SERVICE_VFS, p);
     
    668680
    669681        arg_def[0] = V_INTEGER;
    670         o = oper_new("set_style", 1, arg_def, V_INTEGER, 0, resp_def);
     682        o = oper_new("set_style", 1, arg_def, V_VOID, 0, resp_def);
    671683        proto_add_oper(p, CONSOLE_SET_STYLE, o);
    672684        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);
     685        o = oper_new("set_color", 3, arg_def, V_VOID, 0, resp_def);
    674686        proto_add_oper(p, CONSOLE_SET_COLOR, o);
    675687        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);
     688        o = oper_new("set_rgb_color", 2, arg_def, V_VOID, 0, resp_def);
    677689        proto_add_oper(p, CONSOLE_SET_RGB_COLOR, o);
    678690        o = oper_new("cursor_visibility", 1, arg_def, V_VOID, 0, resp_def);
Note: See TracChangeset for help on using the changeset viewer.