xref: /minix3/minix/kernel/system/do_stime.c (revision d91f738bd8d93aa6befa2a8d07581040607a512a)
1433d6423SLionel Sambuc /* The kernel call implemented in this file:
2433d6423SLionel Sambuc  *   m_type:	SYS_STIME
3433d6423SLionel Sambuc  *
4433d6423SLionel Sambuc  * The parameters for this kernel call are:
5433d6423SLionel Sambuc  *   m_lsys_krn_sys_stime.boot_time
6433d6423SLionel Sambuc  */
7433d6423SLionel Sambuc 
8433d6423SLionel Sambuc #include "kernel/system.h"
9433d6423SLionel Sambuc 
10433d6423SLionel Sambuc #include <minix/endpoint.h>
11433d6423SLionel Sambuc 
12433d6423SLionel Sambuc /*===========================================================================*
13433d6423SLionel Sambuc  *				do_stime				     *
14433d6423SLionel Sambuc  *===========================================================================*/
do_stime(struct proc * caller,message * m_ptr)15433d6423SLionel Sambuc int do_stime(struct proc * caller, message * m_ptr)
16433d6423SLionel Sambuc {
17*d91f738bSDavid van Moolenbroek   set_boottime(m_ptr->m_lsys_krn_sys_stime.boot_time);
18433d6423SLionel Sambuc   return(OK);
19433d6423SLionel Sambuc }
20