2007-08-07 14:20:31 +02:00
|
|
|
/* The kernel call implemented in this file:
|
|
|
|
* m_type: SYS_STIME
|
|
|
|
*
|
|
|
|
* The parameters for this kernel call are:
|
2014-05-22 15:30:51 +02:00
|
|
|
* m_lsys_krn_sys_stime.boot_time
|
2007-08-07 14:20:31 +02:00
|
|
|
*/
|
|
|
|
|
2010-04-02 00:22:33 +02:00
|
|
|
#include "kernel/system.h"
|
2007-08-07 14:20:31 +02:00
|
|
|
|
|
|
|
#include <minix/endpoint.h>
|
|
|
|
|
|
|
|
/*===========================================================================*
|
|
|
|
* do_stime *
|
|
|
|
*===========================================================================*/
|
2012-03-25 20:25:53 +02:00
|
|
|
int do_stime(struct proc * caller, message * m_ptr)
|
2007-08-07 14:20:31 +02:00
|
|
|
{
|
2014-05-22 15:30:51 +02:00
|
|
|
boottime = m_ptr->m_lsys_krn_sys_stime.boot_time;
|
2007-08-07 14:20:31 +02:00
|
|
|
return(OK);
|
|
|
|
}
|