Uninitialized vector entry?
[minix3.git] / lib / other / _sprofile.c
blob7ae532a77ecea5aa15ef1506a77076e8757255bb
1 #include <lib.h>
3 #define sprofile _sprofile
5 PUBLIC int sprofile(int action, int size, int freq, char *ctl_ptr, int *mem_ptr)
7 message m;
9 m.PROF_ACTION = action;
10 m.PROF_MEM_SIZE = size;
11 m.PROF_FREQ = freq;
12 m.PROF_CTL_PTR = (void *) ctl_ptr;
13 m.PROF_MEM_PTR = (void *) mem_ptr;
15 return _syscall(MM, SPROF, &m);