Designing effective syscalls
Posted: Mon Mar 25, 2013 9:04 am
I'm slowly working my way towards user space, and at this point, I'm trying to plot out a good structure for my syscalls.
So far, my design covers
There other little thing that's bugging me relates to drivers and the VFS.
Implementing Newlib's required syscalls creates a structure (at least, that's what I ended up with)
Where Newlib requests file information and operations from the kernel space.
However, I intent to put device drivers and the VFS into userspace.
Inter-process communication is a way of going about doing this, but I'm wondering if there's a better approach.
In fact, if there's any good reading material for this field, that would be best.
So far, my design covers
- Creating, handling and interacting with pipes
- Requesting system information (free memory, total system memory, etc.)
- Mapping and unmapping pages
- Process and thread handling (Including requesting global information for process count, etc.)
- Syscalls required by Newlib
There other little thing that's bugging me relates to drivers and the VFS.
Implementing Newlib's required syscalls creates a structure (at least, that's what I ended up with)
Where Newlib requests file information and operations from the kernel space.
However, I intent to put device drivers and the VFS into userspace.
Inter-process communication is a way of going about doing this, but I'm wondering if there's a better approach.
In fact, if there's any good reading material for this field, that would be best.