Expand description
Sentry kernel low level syscall implementation
§Usage
This module is responsible for calling the kernel gate through the target architecture supervisor access opcode, in interaction with the corresponding arch backend.
There is no abstraction at this module’s level and should not be used directly, but instead with an upper interface such as shield
NOTE: This module may not be kept public forever
Functions§
- alarm
- Send a SIGALRM signal to the task after
timeout_msmilliseconds. - dma_
assign_ stream - assign a DMA stream to its corresponding hardware channel
- dma_
get_ stream_ info - get a DMA stream static (dts-related) information from the kernel, as a structured data through SVC_Exchange
- dma_
get_ stream_ status - get the status of a given DMA stream
- dma_
resume_ stream - resume a DMA stream
- dma_
start_ stream - start a DMA stream
- dma_
suspend_ stream - suspend a DMA stream
- dma_
unassign_ stream - unassign a DMA stream from its corresponding hardware channel
- exit
- Exits the current job
- get_
cycle - Get back the elapsed time since startup, in various units
- get_
device_ handle - Get global identifier for a given device label
- get_
dma_ stream_ handle - Get global identifier for a given DMA stream label
- get_
process_ handle - Get global identifier for a given process label
- get_
random - Get random seed from the Sentry kernel RNG backend
- get_
shm_ handle - Get global identifier for a given SHM label
- gpio_
configure - Configure a given GPIO for a device identified by its handle
- gpio_
get - Get the value of a given GPIO for a device identified by its handle
- gpio_
reset - Reset the value of a given GPIO for a device identified by its handle
- gpio_
set - Set the value of a given GPIO for a device identified by its handle
- gpio_
toggle - Toggle the value of a given GPIO for a device identified by its handle
- irq_
acknowledge - acknowledge at interrupt controller level the given interrupt
- irq_
disable - disable (mask) at interrupt controller level the given interrupt
- irq_
enable - enable (unmask) at interrupt controller level the given interrupt
- log
- Send a message from the current task’s ‘svc_exchange area’ through the UART.
- map_dev
- Map a device in the caller’s memory layout
- map_shm
- Map a shared memory in the caller’s memory layout
- pm_
manage - Configure the CPU’s sleep behaviour.
- pm_
set_ clock - Set a given explicit clock config
- sched_
yield - Release the processor before the end of the current quantum
- send_
ipc - Send events to another job identified by its handle
- send_
signal - Send signal to another job identified by its handle
- shm_
get_ infos - get the static information of a given DMA stream
- shm_
set_ credential - Set the credentials associated to a shared memory
- sleep
- Sleep for a given amount of time
- start
- Start another task identified by its label
- unmap_
dev - Unùap a previously mapped device
- unmap_
shm - Unmap a previously mapped shared memory
- wait_
for_ event - Wait for input event. Single active blocking syscall.