summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-02kernel/amd64: Add missing copyrightIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-01kernel: exec: Add execve()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-01kernel/amd64: proc: Add stack init func for execIan Moffett
Add stack initialization code for exec functions. This new code initializes values on the stack, including argc, argv, and the auxiliary vector. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-30kernel/amd64: proc: Add setregs()Ian Moffett
This function will be useful for things like exec in order to setup registers which are machine dependent. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-30kernel: sched: Add exit1()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-30kernel: sched: Mark sched_enter() as __deadIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-30kernel: cdefs: Add __deadIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-30kernel/amd64: pmap: Add pmap_destroy_vas()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-29kernel/amd64: lapic: Improve accuracy of commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-29kernel/amd64: lapic: Add support for IPIsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-29kernel: elf: Cleanup error handlingIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-29kernel/amd64: proc: Update outdated commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-29kernel: elf: Fix memory leakIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-29kernel: elf: nd.vp -> vpIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-28kernel: fork: Ensure 'newproc' is zeroedIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-28kernel: elf: Add ELF64 loaderIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-28kernel: Add sys/elf.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-28kernel: vfs: Add vnode refcountIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-28kernel: vfs: Don't destroy vnode if errorIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-28kernel/amd64: Focus md_td_init() to fork MD codeIan Moffett
Rename md_td_init() to md_fork() and change up what it does to keep things as simple as possible. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-28kernel/amd64: Make splraise() return previous IPLIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-28kernel/amd64: Convert kernel stack base to vaddrIan Moffett
This fixes an issue where the TSS kernel stack base is a physical address instead of being a virtual address like it's supposed to. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-25kernel: initramfs: Implement getattr vopIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-25kernel: vfs: Add getattr vopIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-25kernel: vfs: Keep style consistentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-25kernel: initramfs: Fix dangling pointerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-25kernel: sched: Remove "TODO" from sched_switch()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-25build: Add 'cross' targetIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-25build: /bin/sh -> bin/bashIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-24Add README.mdIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-24Import hyra exptIan Moffett
2024-06-24Clean out for exptIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-23kernel: Init proc0Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-23kernel: Add fork1()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-23kernel/amd64: Add machdep thread init functionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-23kernel: sched: Add PCB and context switchingIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-23kernel/amd64: gdt: Add user CS/DS definesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-23kernel/amd64: pmap: Add function to create new VASIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-23kernel: vm: Add g_kvas for kernel VASIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-21kernel: cdefs: Fixup commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-20kernel/amd64: intr: Add splraise/splx supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-20kernel: queue: Add sys/queue.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-19kernel: Add initramfs and initial VFS codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-19kernel: lib: Add strncmp()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-19kernel: types: Add mode_tIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-13kernel: string: Add strcmp()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-13kernel/amd64: pmap: Fixup and improve consistencyIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-11kernel: Add sys/atomic.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-11kernel: types: Add off_tIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-10kernel: vm: Add initial code for MI layerIan Moffett
Add initial code for the machine independent virtual memory layer Signed-off-by: Ian Moffett <ian@osmora.org>