sys: add generic timex driver

This is based on sys_linux.c and wrap_adjtimex.c. It's intended for all
systems that support the adjtimex() or ntp_adjtime() system call. The
driver functions can be replaced with extended system-specific versions
(e.g. to control the frequency with the tick field on Linux).
This commit is contained in:
Miroslav Lichvar
2015-09-15 15:03:37 +02:00
parent 5190539ce1
commit e735be59a7
3 changed files with 278 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ typedef enum {
LOGF_SysNetBSD,
LOGF_SysSolaris,
LOGF_SysSunOS,
LOGF_SysTimex,
LOGF_SysWinnt,
LOGF_TempComp,
LOGF_RtcLinux,