/branches/tracing/uspace/app/sctrace/sctrace.c |
---|
14,8 → 14,10 |
#include <udebug.h> |
#include <async.h> |
// Temporary: service and method names |
#include "proto.h" |
#include <ipc/services.h> |
#include "../../srv/vfs/vfs.h" |
#include "syscalls.h" |
#include "ipcp.h" |
377,13 → 379,18 |
static void main_init(void) |
{ |
proto_t *p; |
oper_t *o; |
next_thread_id = 1; |
proto_init(); |
p = malloc(sizeof(proto_t)); |
p->name = "vfs"; |
o = malloc(sizeof(oper_t)); |
o->name = "mount"; |
p = proto_new("vfs"); |
proto_add_oper(p, VFS_MOUNT, o); |
proto_register(SERVICE_VFS, p); |
} |