Defines the functions that handle various system calls, along with their numbers.
Author:
Juniper Beatitudes juniper@eyes-like-fire.org
Date:
2025-07-16
Type | Name |
---|---|
enum | bea_syscall_t
System call enumeration. |
Type | Name |
---|---|
void | bea_do_syscall
(void) System call interrupt handler, fetches reason and argument from R0 and R1 respectively, return value is in R0. |
bea_syscall_t
System call enumeration.
enum bea_syscall_t {
= 0,
BEA_SYSCALL_LOG ,
BEA_SYSCALL_DRIVER_RQ,
BEA_SYSCALL_SILENCE_RQ,
BEA_SYSCALL_YIELD,
BEA_SYSCALL_MALLOC,
BEA_SYSCALL_FREE,
BEA_SYSCALL_CALLOC,
BEA_SYSCALL_REALLOC,
BEA_SYSCALL_SPAWN,
BEA_SYSCALL_KILL
BEA_NUM_SYSCALLS};
bea_do_syscall
System call interrupt handler, fetches reason and argument from R0 and R1 respectively, return value is in R0.
void bea_do_syscall (
void
)