Syscalls
Here are syscalls designed for achieving functionalities in the AIOS kernel.
Scheduler
set_id, get_id, set_status, get_status, set_priority, get_priority
LLM core(s)
llm_generate
Memory Manager
mem_alloc, mem_read, mem_write, mem_clear
Storage Manager
sto_create, sto_read, sto_write, sto_retrieve, sto_clear
Tool Manager
tool_run
Context Manager
gen_snapshot, gen_restore, check_restore, clear_restore
Access Manager
/
To implement system calls, a dedicated Syscall
class is designed that extends the functionality of the threading.Thread
object in Python. This class serves as a foundational abstraction, encapsulating the behavior and execution of individual system calls. By inheriting from threading.Thread
and overrides the run
methods to ensure that the syscalls can be executed concurrently.
Last updated