walnux/include
Michal Lenc 360e938fa6 sched: add support for adjtime() interface
This commit adds Linux like adjtime() interface that is used to correct
the system time clock if it varies from real value. The adjustment is
done by slight adjustment of clock period and therefore the adjustment
is without time jumps (both forward and backwards)

The implementation is enabled by CONFIG_CLOCK_ADJTIME and separated from
CONFIG_CLOCK_TIMEKEEPING functions. Options CONFIG_CLOCK_ADJTIME_SLEWLIMIT
and CONFIG_CLOCK_ADJTIME_PERIOD can be used to control the adjustment
speed.

Interfaces up_get_timer_period() and up_adj_timer_period() has to be
defined by architecture level support.

This is not a POSIX interface but derives from 4.3BSD, System V.
It is also supported for Linux compatibility.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-04-25 14:37:50 -03:00
..
arpa Net thread-safe ntoa functions 2022-08-02 21:04:19 +08:00
crypto crypto:support crypto can handle streaming data 2023-01-17 01:19:38 +08:00
cxx libc: Implement quick_exit and at_quick_exit 2023-01-25 14:31:37 +02:00
net net/route.h: add RTF_XX flags and rt_dev member 2023-01-29 14:29:52 +08:00
netinet netinet: in.h: add support for Nimlang compatibility. 2023-02-13 09:28:52 +08:00
netpacket netlink: add RTM_NEWADDR, RTM_DELADDR and RTM_GETADDR 2023-04-22 01:35:18 +08:00
nuttx sched: add support for adjtime() interface 2023-04-25 14:37:50 -03:00
ssp
sys sched: add support for adjtime() interface 2023-04-25 14:37:50 -03:00
.gitignore Add Embedded Template Library (ETL) support 2022-08-05 09:38:48 +08:00
aio.h fs: Undefine CONFIG_FS_LARGEFILE if compiler doesn't support long long 2023-03-02 09:37:58 +01:00
alloca.h
assert.h assert.h: Replace NULL with 0 to avoid including stddef.h 2023-03-24 13:13:43 -06:00
byteswap.h
ctype.h
debug.h nuttx: add some missing FAR 2022-12-21 10:56:45 +08:00
dirent.h fs: Undefine CONFIG_FS_LARGEFILE if compiler doesn't support long long 2023-03-02 09:37:58 +01:00
dlfcn.h
dsp.h Typo fixes. 2023-02-17 11:17:11 -03:00
dspb16.h
elf.h
elf32.h
elf64.h
endian.h libc: Add sys/endian.h to improve the compatiblity with bionic libc 2023-01-15 12:26:15 -03:00
err.h nuttx: add some missing FAR 2022-12-21 10:56:45 +08:00
errno.h Update errno to match asm-generic 2022-10-28 02:19:26 +08:00
execinfo.h execinfo.h: include nuttx/sched.h instead sched.h 2023-02-23 14:24:32 +08:00
fcntl.h include/fcntl.h: fix spacing issues 2023-04-22 01:26:42 +08:00
fixedmath.h
fnmatch.h
ftw.h fs: Undefine CONFIG_FS_LARGEFILE if compiler doesn't support long long 2023-03-02 09:37:58 +01:00
getopt.h
glob.h
grp.h
hex2bin.h libc/hex2bin: Remove the unused declaration 2022-12-05 10:42:22 +01:00
ifaddrs.h
inttypes.h fs: Undefine CONFIG_FS_LARGEFILE if compiler doesn't support long long 2023-03-02 09:37:58 +01:00
iso646.h
langinfo.h
libgen.h
libintl.h compiler.h: Add _ between format|printf|syslog|scanf|strftime and like 2022-12-21 01:05:19 +02:00
limits.h Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
locale.h
lzf.h
malloc.h adjust the contents of memdump and meminfo 2023-01-17 16:48:30 +08:00
mqueue.h
netdb.h libc/netdb: add proto.c 2022-12-10 02:36:24 +08:00
nl_types.h
nxflat.h
obstack.h compiler.h: Add _ between format|printf|syslog|scanf|strftime and like 2022-12-21 01:05:19 +02:00
poll.h
pthread.h libc/pthread: Implement pthread_condattr_[set|get]pshared 2023-01-24 13:53:02 -03:00
pty.h drivers/serial: Always support c_oflag, c_iflag and c_lflag in termios 2023-03-19 14:54:59 -06:00
pwd.h libc/passwd: add pw_gecos field(userinfo) 2022-12-30 00:21:15 +08:00
resolv.h
sched.h sched: Map SCHED_OTHER to SCHED_FIFO or SCHED_RR 2023-01-30 03:01:03 +02:00
semaphore.h add holder for mutex 2023-01-31 12:08:05 +09:00
signal.h signal: add SIGSYS 2023-03-28 11:24:35 -06:00
spawn.h sched/spawn: Rename task_spawnattr_[get|set]stack[size|addr] to posix_spawnattr_[get|set]stack[size|addr] 2022-11-01 09:51:18 +09:00
stdbool.h
stddef.h
stdint.h include/stdint.h: add sig_atomic_t limits 2022-10-02 22:30:54 +08:00
stdio.h libc/stdio: Implement lib_get_stream 2023-03-02 09:56:57 +01:00
stdlib.h syscall/libc: add more syscall/libc symbols into csv file 2023-03-31 21:56:50 +09:00
stdnoreturn.h
string.h libc/lib_rawmemchr.c:Add rawmemchr methon. 2023-02-24 04:06:04 +08:00
strings.h libc/lib_bzero:Add bzero prototype. 2023-02-25 08:07:07 +02:00
syscall.h syscall: export UP_WRAPSYM/UP_REALSYM macro 2022-12-30 22:13:34 +08:00
syslog.h compiler.h: Add _ between format|printf|syslog|scanf|strftime and like 2022-12-21 01:05:19 +02:00
termios.h
threads.h sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
time.h Make 64-bit time_t unsigned 2023-02-27 23:55:52 +08:00
unistd.h fs: Undefine CONFIG_FS_LARGEFILE if compiler doesn't support long long 2023-03-02 09:37:58 +01:00
utime.h
uuid.h
wchar.h
wctype.h libc: Remove the unnecessary include from wchar and wctype 2022-07-27 10:55:37 +03:00