phunix/minix/kernel/system/do_stime.c
Lionel Sambuc 433d6423c3 New sources layout
Change-Id: Ic716f336b7071063997cf5b4dae6d50e0b4631e9
2014-07-31 16:00:30 +02:00

20 lines
519 B
C

/* The kernel call implemented in this file:
* m_type: SYS_STIME
*
* The parameters for this kernel call are:
* m_lsys_krn_sys_stime.boot_time
*/
#include "kernel/system.h"
#include <minix/endpoint.h>
/*===========================================================================*
* do_stime *
*===========================================================================*/
int do_stime(struct proc * caller, message * m_ptr)
{
boottime = m_ptr->m_lsys_krn_sys_stime.boot_time;
return(OK);
}