Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-26 | kernel: sched: Move sched stack macros to sched.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: sched: Move sys_exit() from kern_syscall.c | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: Implement basic loader_unload() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: sched: Add support for early preemption | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-25 | kernel: sched: Use exec_args for argp, envp, etc | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-22 | kernel: auxv: Add AT_PAGESIZE | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-21 | kernel: sched: Ensure td is removed from queue | Ian Moffett | |
Upon sched_exit(), the thread should not be in the queue Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-21 | kernel: sched: Create idle thread | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-16 | kernel: vm_map: Add mmap() and munmap() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: signals: Add initial signal implementation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: sched: Lock thread upon sched_exit() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-09 | kernel: sched: Remove useless whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-06 | kernel: sched: Load init by itself | Ian Moffett | |
This is temporary Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-04 | kernel: sched: Pass init auxv to dynld | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-25 | kernel: filedesc: Return status in fd_alloc() | Ian Moffett | |
It is better for fd_alloc() to return the status and have one of the arguments point to an output than have fd_alloc() return the allocated file descriptor just like that. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-21 | kernel: sched: Fix stack init code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-18 | kernel: sched: Fix PID assignment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-17 | kernel: loader: Keep track of program addr range | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-16 | kernel: sched: Cleanup context switch comments | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-15 | kernel: Add basic file descriptor support | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-15 | kernel: sched: Use this_td() to get thread | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-15 | kernel: sched: Add routine to get current thread | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel: sched: Remove useless declaration | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel: sched: Rework sched_init() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel: sched: Add exit routine | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel: sched: Keep track of stack and privilege | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: machdep: Add context switch helper | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: machdep: Add pcb init code | Ian Moffett | |
This commit adds a processor specific routine which sets up the Process Control Block for a thread Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel: sched: Improve stack init code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-07 | kernel: sched: Add support for user threads | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-07 | kern: sched: Refactor queue and ctx switch code | Quinn Stephens | |
Signed-off-by: Quinn Stephens <quinn@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel: sched: Fix mistake in context switch code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel: sched: Fix broken preemptions | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel: sched: Fix PID allocation logic | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel: sched: Create schedvar.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-23 | kernel: Add initial scheduler implementation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-14 | kernel: cpu: Add hint_spinwait() | Ian Moffett | |
This commit introduces a macro that must exist per architecture (even if it does nothing) to ensure it is machine independent. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-11 | kernel: sched: Add initial sched related code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> |