minix/kernel/system
Thomas Cort 516fec97d9 libc: add clock_settime() system call.
This also adds the sys_settime() kernel call which allows for the adjusting
of the clock named realtime in the kernel. The existing sys_stime()
function is still needed for a separate job (setting the boottime). The
boottime is set in the readclock driver. The sys_settime() interface is
meant to be flexible and will support both clock_settime() and adjtime()
when adjtime() is implemented later.

settimeofday() was adjusted to use the clock_settime() interface.

One side note discovered during testing: uptime(1) (part of the last(1)),
uses wtmp to determine boottime (not Minix's times(2)). This leads `uptime`
to report odd results when you set the time to a time prior to boottime.
This isn't a new bug introduced by my changes. It's been there for a while.
2013-04-04 15:04:54 +02:00
..
do_abort.c Remove ability to pass commands to bootloader 2012-11-22 19:16:17 +01:00
do_clear.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_copy.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
do_cprofile.c profiling related cleanup 2012-07-15 21:56:55 +02:00
do_devio.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_endksig.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_exec.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
do_exit.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_fork.c kernel: trap-dependent state restore, trace fixes 2013-01-08 15:47:37 +00:00
do_getinfo.c kernel: facility for user-visible memory 2012-07-28 20:57:38 +00:00
do_getksig.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_irqctl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_kill.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_mcontext.c Replace MACHINE/CHIP macros with compiler macros 2012-08-06 17:49:22 +02:00
do_memset.c kernel: handle pagefaults in vm_memset() 2012-09-26 02:17:59 +02:00
do_privctl.c rename struct mem_range to minix_mem_range 2012-08-15 15:17:25 +02:00
do_profbuf.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_runctl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_safecopy.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
do_safememset.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
do_schedctl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_schedule.c Kernel: use okendpt() to resolve stored endpoints 2012-08-15 08:50:30 +00:00
do_setalarm.c kernel: rename realtime to monotonic, add realtime 2013-04-04 15:04:52 +02:00
do_setgrant.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_settime.c libc: add clock_settime() system call. 2013-04-04 15:04:54 +02:00
do_sigreturn.c kernel: trap-dependent state restore, trace fixes 2013-01-08 15:47:37 +00:00
do_sigsend.c arm: protect state after signal handler 2013-02-05 17:25:38 +01:00
do_sprofile.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
do_statectl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_stime.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_sysctl.c Kernel: resolve Coverity warnings 2012-08-15 11:12:11 +00:00
do_times.c libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
do_trace.c kernel:enable trace on arm. 2013-02-17 08:40:38 +01:00
do_umap_remote.c Kernel: use okendpt() to resolve stored endpoints 2012-08-15 08:50:30 +00:00
do_umap.c drop from segments physcopy/vircopy invocations 2012-06-18 12:28:40 +00:00
do_update.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
do_vdevio.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_vmctl.c drop safemap code 2012-10-30 13:55:42 +01:00
do_vtimer.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_vumap.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
Makefile.inc libc: add clock_settime() system call. 2013-04-04 15:04:54 +02:00