summaryrefslogtreecommitdiff
path: root/src/sys/os/os_proc.c
AgeCommit message (Collapse)Author
3 dayskern: syscall: Add initial SYS_spawn syscallIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: proc: Add initial spawn functionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskern: proc: Don't acquire maplist lock during initIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskern: Add initial signals workIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskern: proc: Protect mapping list with spinlockIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskernel: filedesc: Allocate standard streamsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-20kern: proc: Add address checking routineIan Moffett
Add routine to check if an address is valid within a process's address space. More work will need to be done with this but this introduces a great starting point Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-19kern: proc: Keep track of mapped areas with rangesIan Moffett
This commit adds a virtual memory range queue to the process descriptor in order to keep track of mapped pages and free their respective frames upon program exit. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-17kern/amd64: Implement syscall domains and windowsIan Moffett
A syscall domain in the L5 kernel is a fixed list of "syscall windows", each syscall window represents a specific platform and/or syscall model. A platform latch within each domain determines which window / platform should be visible. Since syscall domains are per-process, these changes are local to their respective processes. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-17kern/amd64: proc: Add proc_kill() routineIan Moffett
Add a new function to kill processes and clean them up. They will then be marked as EXITING and it is up to the parent to do the rest. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-16kern: proc: Add initial proc init + PCB codeIan Moffett
This commit introduces the initial logic for putting process descriptors in an initialized state. This commit also introduces the process control block definition. Signed-off-by: Ian Moffett <ian@osmora.org>