minix/kernel/system/do_stime.c
Lionel Sambuc 9d1ed02a04 Message type for SYS_STIME
Change-Id: Ic4401e736bb66960e2ea4b30f5e1946dd93fd76e
2014-07-28 17:05:48 +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);
}