mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 05:41:57 +00:00
- syscall.h now contains those APIs needed to support invoking calls from user code. Some stuff moved out of main kernel.h. - syscall_handler.h now contains directives useful for implementing system call handler functions. This header is not pulled in by kernel.h and is intended to be used by C files implementing kernel system calls and driver subsystem APIs. - syscall_list.h now contains the #defines for system call IDs. This list is expected to grow quite large so it is put in its own header. This is now an enumerated type instead of defines to make things easier as we introduce system calls over the new few months. In the fullness of time when we desire to have a fixed userspace/kernel ABI, this can always be converted to defines. Some new code added: - _SYSCALL_MEMORY() macro added to check memory regions passed up from userspace in handler functions - _syscall_invoke{7...10}() inline functions declare for invoking system calls with more than 6 arguments. 10 was chosen as the limit as that corresponds to the largest arg list we currently have which is for k_thread_create() Other changes - auto-generated K_SYSCALL_DECLARE* macros documented - _k_syscall_table in userspace.c is not a placeholder. There's no strong need to generate it and doing so would require the introduction of a third build phase. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.. | ||
arch | ||
bluetooth | ||
crypto | ||
debug | ||
dfu | ||
display | ||
drivers | ||
dt-bindings | ||
fs | ||
linker | ||
logging | ||
misc | ||
net | ||
shell | ||
toolchain | ||
usb | ||
zephyr | ||
adc.h | ||
aio_comparator.h | ||
atomic.h | ||
cache.h | ||
clock_control.h | ||
console.h | ||
counter.h | ||
crc16.h | ||
device.h | ||
disk_access.h | ||
dma.h | ||
eth.h | ||
flash.h | ||
fs.h | ||
gpio.h | ||
i2c.h | ||
i2s.h | ||
init.h | ||
ipm.h | ||
irq_offload.h | ||
irq.h | ||
kernel_version.h | ||
kernel.h | ||
pinmux.h | ||
power.h | ||
pthread.h | ||
pwm.h | ||
random.h | ||
rtc.h | ||
sensor.h | ||
shared_irq.h | ||
spi_legacy.h | ||
spi.h | ||
sw_isr_table.h | ||
sys_clock.h | ||
sys_io.h | ||
syscall_list.h | ||
syscall.h | ||
toolchain.h | ||
uart.h | ||
watchdog.h | ||
zephyr.h |