1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/picolibc_syscalls_default
Koen Zandberg b64f8a22a3 picolibc: Add default syscall implementations [v2]
picolibc: Use thread_getpid for getpid() in picolibc_syscalls_default

Instead of directly accessing the sched_active_pid variable (which
isn't defined in this context), use the existing wrapper function
to get that value.

Signed-off-by: Keith Packard <keithp@keithp.com>

---
v2:
	Squash a couple of fixes in

	* fixup! picolibc: Use thread_getpid for getpid() in
          picolibc_syscalls_default

	* squashme: Add `times` to picolibc syscalls

	* Add __noreturn__ attribute to _exit

	* Add VFS syscall wrappers. This provides the POSIX api used
          by picolibc stdio
2020-08-23 12:43:51 -07:00
..
Makefile picolibc: Add default syscall implementations [v2] 2020-08-23 12:43:51 -07:00
Makefile.include picolibc: Add default syscall implementations [v2] 2020-08-23 12:43:51 -07:00
syscalls.c picolibc: Add default syscall implementations [v2] 2020-08-23 12:43:51 -07:00