xref: /minix/minix/kernel/system/do_stime.c (revision 9f988b79)
1 /* The kernel call implemented in this file:
2  *   m_type:	SYS_STIME
3  *
4  * The parameters for this kernel call are:
5  *   m_lsys_krn_sys_stime.boot_time
6  */
7 
8 #include "kernel/system.h"
9 
10 #include <minix/endpoint.h>
11 
12 /*===========================================================================*
13  *				do_stime				     *
14  *===========================================================================*/
15 int do_stime(struct proc * caller, message * m_ptr)
16 {
17   set_boottime(m_ptr->m_lsys_krn_sys_stime.boot_time);
18   return(OK);
19 }
20