Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2881 → Rev 2882

/branches/tracing/uspace/app/sctrace/sctrace.c
18,6 → 18,7
#include "proto.h"
#include <ipc/services.h>
#include "../../srv/vfs/vfs.h"
#include "../../srv/console/console.h"
 
#include "syscalls.h"
#include "ipcp.h"
35,6 → 36,7
 
void thread_trace_start(unsigned thread_hash);
 
static proto_t *proto_console;
 
int task_connect(int taskid)
{
350,6 → 352,7
printf("Connected to task %d\n", taskid);
 
ipcp_init();
ipcp_connection_set(1, 0, proto_console);
 
rc = get_thread_list();
if (rc < 0) {
392,6 → 395,14
proto_add_oper(p, VFS_MOUNT, o);
 
proto_register(SERVICE_VFS, p);
 
p = proto_new("console");
o = malloc(sizeof(oper_t));
o->name = "putchar";
proto_add_oper(p, CONSOLE_PUTCHAR, o);
 
proto_console = p;
proto_register(SERVICE_CONSOLE, p);
}
 
int main(void)