Skip to content

Kernel Syscall Rework #42

@fido2020

Description

@fido2020

Pretty much every syscall needs to be rewritten to some extent.

  1. Use syscall instruction instead of int
  2. Ensure userspace addresses are safely accessed
  3. Separate out architecture specific code for future support for other architectures such as arm64 or riscv
  4. Separate the syscalls into separate files not just for readability but so the compiler does not need to recompile thousands of lines of code every time a syscall or one of the many headers is touched
  5. Consider distinguishing between posix/linux-like syscalls and lemon-specific syscalls
  6. Consider allowing userspace to read various parts of kernel memory to avoid entering the kernel for example system uptime, process ID, thread ID

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions