2006-10-30 16:53:38 +01:00
|
|
|
#include "syslib.h"
|
|
|
|
|
|
|
|
/*===========================================================================*
|
|
|
|
* sys_profbuf *
|
|
|
|
*===========================================================================*/
|
2012-03-25 20:25:53 +02:00
|
|
|
int sys_profbuf(ctl_ptr, mem_ptr)
|
2006-10-30 16:53:38 +01:00
|
|
|
void *ctl_ptr; /* pointer to control structure */
|
|
|
|
void *mem_ptr; /* pointer to profiling table */
|
|
|
|
{
|
|
|
|
message m;
|
|
|
|
|
2014-07-25 19:53:10 +02:00
|
|
|
m.m_lsys_krn_sys_profbuf.ctl_ptr = (vir_bytes)ctl_ptr;
|
|
|
|
m.m_lsys_krn_sys_profbuf.mem_ptr = (vir_bytes)mem_ptr;
|
2006-10-30 16:53:38 +01:00
|
|
|
|
2010-02-09 16:20:09 +01:00
|
|
|
return(_kernel_call(SYS_PROFBUF, &m));
|
2006-10-30 16:53:38 +01:00
|
|
|
}
|
|
|
|
|