Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced Syscall implementation #49

Open
2 tasks
TCCQ opened this issue Apr 15, 2023 · 0 comments
Open
2 tasks

Advanced Syscall implementation #49

TCCQ opened this issue Apr 15, 2023 · 0 comments

Comments

@TCCQ
Copy link
Collaborator

TCCQ commented Apr 15, 2023

This issue tracks the state of syscalls in reedos. Specifically S mode calls from U mode. As of 16178fc , the skeleton is built, but more general work can be done, and specifical syscalls can be implemented as their dependencies are met.

  • U mode printf via UART
  • Dividing syscalls into broad catagories based on dependencies

Broadly we want to conform to the linux RISC-V syscalls. Likely we will not implement all of them, but we might as well match the number and semantics of those we do. That way we might have some hope of running things not specifically compiled for us, provided they are sufficiently minimal.

This does not preclude the possibility of adding our own syscalls. We have a whole 64 bits worth of call numbers and linux uses less than 500.

@ethandmd ethandmd added this to the Native Compilation milestone May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants