summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-15kernel: initramfs: Fix vtype logic bugIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15kernel: vfs: Fix typo in commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15kernel: initramfs: Fix indentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15libc: stddef: Handle NULL for C++Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15libc: exit: Use _NoreturnIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15libc: Fix styleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15libc: Add missing unistd.h headerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14kernel: sched: Remove useless declarationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14build: Remove cross_file.txtIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14libc: Remove crt-srcIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14kernel: sched: Rework sched_init()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14libc: Initial hyra libc commitIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14build: Update .gitignoreIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14build: Update usr.sbin MakefilesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14build: LDSO -> override LDSOIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14kernel: Add support for syscallsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14build: Cleanup Makefile.in user flagsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14kernel: sched: Add exit routineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14kernel/amd64: pmap: Add pmap_free_vas()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14kernel: sched: Keep track of stack and privilegeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-14kernel: vm: Add routine to get kernel vasIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-13man: arch(9): Document processor_free_pcb()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-13kernel/amd64: machdep: Add processor_free_pcb()Ian Moffett
Add routine to deallocate resources within the process control block. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-13kernel/amd64: machdep: Check for NULL instead of 0Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-13man: arch(9): Document process control blockIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-13man: pmap(9): Fix formattingIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-13man: pmap(9): Update prot define namesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
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: proc: Add Process Control Block structureIan Moffett
This is to be implemented per arch and has arch specific thread information. For example, on the AMD64 port, this can contain things like an x87 FPU save area Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-13kernel/amd64: machdep: Remove extra whitespaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-13kernel/amd64: trap: Update panic messageIan Moffett
We have a scheduler now, this old message does not make sense. So it is replaced. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-13kernel/amd64: cpu: Add fxsave/fxrstor helpersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-13kernel/amd64: spectre: Log only onceIan Moffett
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-13kernel/amd64: machdep: Fix typoIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-11kernel/amd64: machdep: Enable SSE/SSE2 per coreIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-11kernel/amd64: Add control register r/w helpersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-10kernel: loader: CleanupIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-10kernel/amd64: trap: Add stack-segment fault ISRIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-09kernel: vm_map: Account for address misalignmentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-08kernel: fs: Fix logic bug in initramfs codeIan Moffett
Return NULL if hdr is NULL, Before, if the file is not found, 0x200 would be returned instead of NULL. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-08build: Move mlibc fetching into bootstrap scriptIan 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-07build: Create init stubIan 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-03-07build: Build mlibc + add distclean targetIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-07lib: Add mlibcIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-07build: cross: Add c++ and lto to enabled languagesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-07kernel/amd64: trap: Parse TRAP_PAGEFLT error codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>