minix/minix/lib/libsys/sef_gcov.c
Lionel Sambuc 433d6423c3 New sources layout
Change-Id: Ic716f336b7071063997cf5b4dae6d50e0b4631e9
2014-07-31 16:00:30 +02:00

29 lines
780 B
C

#include "syslib.h"
#include <assert.h>
#include <minix/sysutil.h>
#include <minix/gcov.h>
static sef_cb_gcov_t sef_cb_gcov = do_gcov_flush_impl;
/*===========================================================================*
* do_sef_gcov_request *
*===========================================================================*/
int do_sef_gcov_request(message *m_ptr)
{
if(!sef_cb_gcov)
return ENOSYS;
sef_cb_gcov(m_ptr);
return OK;
}
/*===========================================================================*
* sef_setcb_gcov *
*===========================================================================*/
void sef_setcb_gcov(sef_cb_gcov_t cb)
{
sef_cb_gcov = cb;
}