summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sched.c
AgeCommit message (Collapse)Author
2024-03-13kernel/amd64: machdep: Add context switch helperIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-13kernel/amd64: machdep: Add pcb init codeIan 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-13kernel: sched: Improve stack init codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-07kernel: sched: Add support for user threadsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-07kern: sched: Refactor queue and ctx switch codeQuinn Stephens
Signed-off-by: Quinn Stephens <quinn@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: sched: Fix mistake in context switch codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: sched: Fix broken preemptionsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: sched: Fix PID allocation logicIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: sched: Create schedvar.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-23kernel: Add initial scheduler implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-14kernel: 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-11kernel: sched: Add initial sched related codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>