Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-03-10 | kernel: loader: Cleanup | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-10 | kernel/amd64: trap: Add stack-segment fault ISR | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-09 | kernel: vm_map: Account for address misalignment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-08 | kernel: fs: Fix logic bug in initramfs code | Ian 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-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-03-07 | kernel/amd64: trap: Parse TRAP_PAGEFLT error code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-07 | kernel: loader: Only load user programs | Ian 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-07 | kernel: Require VAS arg in vm + loader refactor | Ian 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-06 | kernel/amd64: Remove switch.S | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-06 | kernel: kern_loader: Add AT_* defines | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: vm_map: Add vm_map_destroy() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: vm_map: Remove misalignment checks | Ian Moffett | |
This commit removes misalignment checks and aligns VA and PA automatically Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: mount: Update sys/mount.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: vfs: Add wrappers over VFS operations | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: initramfs: Add support with VFS + USTAR | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: vfs_init: Add root vnode | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: vfs_mount: Allocate vnode per mountpoint | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel/amd64: vfs_subr: Add path parsing helper | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: vfs_subr: Add '.' to valid path chars | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: vfs: Update vnode structure | Ian 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-01 | kernel: vfs: Remove useless structure | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: vfs: Return -1 on vfs_hash_path() failure | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: vfs_init: Make "filesystems" static | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: vfs: Simplify mounting logic | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-01 | kernel: vfs: Fix logic bug in vfs_hash_path() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: frame: Add missing include | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: trap: Simplify trap_print() logic | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: machdep: Add wrappers over CLI/STI | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: pmap: Add user pte flag | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: pmap: Add routine to switch vas | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: pmap: Fix calculation of indices | Ian Moffett | |
This commit fixes a very stupid mistake in the pmap module for AMD64 Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: pmap: Allocate new pmap if needed | Ian Moffett | |
This commit also removes the unnecessary usage of "volatile" Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel: vm: vm_get_bsp_ctx() -> vm_get_ctx() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel: vm: Add more documentation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: tss: Allocate stack for RSP0 | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel: vfs_subr: Update comment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-28 | kernel: vfs_cache: Fix type bug | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-28 | kernel: vfs: Move mountlist_entry to vfs_cache.c | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-28 | kernel: vfs: Do not leak memory | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-28 | kernel: vfs: Add more documentation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-28 | kernel: Add ksyms.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-28 | kernel: Add initial VFS implementation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-28 | kernel: errno: Update errno.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel: Add initial ELF loader implementation | Ian Moffett | |
This is the initial ELF loader implementation, this will obviously need some fixups and refactoring in the future but it works as of now. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel: pmap: Use PROT_ instead of PMAP_ prefix | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel: Add elf.h | Ian Moffett | |
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: Add strcmp() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel/amd64: pmap: Add support for creating VAS | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> |