aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2024-03-07kernel: loader: Only load user programsIan Moffett
This commit ensures user programs are loaded only. This can be changed in the future if support for ELFs that will run in kernel space is added. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-07kernel: Require VAS arg in vm + loader refactorIan Moffett
This commit adds vas argument to VM mapping functions as well as changing how mapping is done in the loader. This commit also fixes weird error handling and parses needed PHDRs within the loader Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-06kernel/amd64: Remove switch.SIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-06kernel: kern_loader: Add AT_* definesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-03build: Use Hyra specific toolchainIan Moffett
Created patches for binutils and GCC tailored to Hyra Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-03build: tools: Update to binutils 2.42Quinn Stephens
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-03build: Use USTAR for initramfsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: vm_map: Add vm_map_destroy()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: vm_map: Remove misalignment checksIan Moffett
This commit removes misalignment checks and aligns VA and PA automatically Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: mount: Update sys/mount.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: vfs: Add wrappers over VFS operationsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: initramfs: Add support with VFS + USTARIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: vfs_init: Add root vnodeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: vfs_mount: Allocate vnode per mountpointIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel/amd64: vfs_subr: Add path parsing helperIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: vfs_subr: Add '.' to valid path charsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: vfs: Update vnode structureIan Moffett
Added vnode operations structure, removed some unused fields to clean up, and added new fields. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: vfs: Remove useless structureIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: vfs: Return -1 on vfs_hash_path() failureIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: vfs_init: Make "filesystems" staticIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: vfs: Simplify mounting logicIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-01kernel: vfs: Fix logic bug in vfs_hash_path()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-29kernel/amd64: frame: Add missing includeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-29kernel/amd64: trap: Simplify trap_print() logicIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-29kernel/amd64: machdep: Add wrappers over CLI/STIIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-29kernel/amd64: pmap: Add user pte flagIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-29kernel/amd64: pmap: Add routine to switch vasIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-29kernel/amd64: pmap: Fix calculation of indicesIan Moffett
This commit fixes a very stupid mistake in the pmap module for AMD64 Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-29kernel/amd64: pmap: Allocate new pmap if neededIan Moffett
This commit also removes the unnecessary usage of "volatile" Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-29kernel: vm: vm_get_bsp_ctx() -> vm_get_ctx()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-29kernel: vm: Add more documentationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-29kernel/amd64: tss: Allocate stack for RSP0Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-29kernel: vfs_subr: Update commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-28kernel: vfs_cache: Fix type bugIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-28kernel: vfs: Move mountlist_entry to vfs_cache.cIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-28kernel: vfs: Do not leak memoryIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-28kernel: vfs: Add more documentationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-28kernel: Add ksyms.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-28kernel: Add initial VFS implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-28kernel: errno: Update errno.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-27build: Fix linking of symbol tableIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-27build: Copy all of 'base/' into 'iso_root/'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26conf: Set initramfs as moduleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>