twizzler-operating-system / twizzler

The Twizzler Operating System
BSD 3-Clause "New" or "Revised" License
66 stars 13 forks source link

System Calls for aarch64 #141

Closed PandaZ3D closed 11 months ago

PandaZ3D commented 11 months ago

Support for system calls is implemented in this PR. We have defined the syscall calling convention based on our understanding of the 64-bit ARM PCS in the twizzler-abi crate, and the receiving end in the kernel. We are able to successfully jump to and from user space. The kernel can now run code in user space and that code can execute syscalls (like writing to the kernel console). Support for full-fledged user programs (i.e. ELF files) will be implemented in the future.

Summary