minix/lib/libsys/sys_profbuf.c
Lionel Sambuc 8644f25feb Message type for SYS_PROFBUF.
Change-Id: I10c1e878b0e3ff9bfc52709cc87dace632fa3e4f
2014-07-28 17:06:27 +02:00

18 lines
549 B
C

#include "syslib.h"
/*===========================================================================*
* sys_profbuf *
*===========================================================================*/
int sys_profbuf(ctl_ptr, mem_ptr)
void *ctl_ptr; /* pointer to control structure */
void *mem_ptr; /* pointer to profiling table */
{
message m;
m.m_lsys_krn_sys_profbuf.ctl_ptr = (vir_bytes)ctl_ptr;
m.m_lsys_krn_sys_profbuf.mem_ptr = (vir_bytes)mem_ptr;
return(_kernel_call(SYS_PROFBUF, &m));
}