Uninitialized vector entry?
[minix3.git] / lib / syslib / sys_trace.c
blobe7b75c4d620adac046d9236c454273e326bbd414
1 #include "syslib.h"
3 PUBLIC int sys_trace(req, proc_nr, addr, data_p)
4 int req, proc_nr;
5 long addr, *data_p;
7 message m;
8 int r;
10 m.CTL_ENDPT = proc_nr;
11 m.CTL_REQUEST = req;
12 m.CTL_ADDRESS = addr;
13 if (data_p) m.CTL_DATA = *data_p;
14 r = _taskcall(SYSTASK, SYS_TRACE, &m);
15 if (data_p) *data_p = m.CTL_DATA;
16 return(r);