Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-03-16 | kernel: sched: Cleanup context switch comments | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-15 | kernel: Add basic file descriptor support | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-15 | kernel: sched: Use this_td() to get thread | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-15 | kernel: sched: Add routine to get current thread | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-15 | kernel: vfs: Implement vfs_path_to_node() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-15 | kernel: vfs: Add fs capabilties | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-15 | kernel: vfs: Allow optional fs store within vnode | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-15 | kernel: initramfs: Fix vtype logic bug | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-15 | kernel: vfs: Fix typo in comment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-15 | kernel: initramfs: Fix indent | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel: sched: Remove useless declaration | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel: sched: Rework sched_init() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel: Add support for syscalls | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel: sched: Add exit routine | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel/amd64: pmap: Add pmap_free_vas() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel: sched: Keep track of stack and privilege | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel: vm: Add routine to get kernel vas | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/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-13 | kernel/amd64: machdep: Check for NULL instead of 0 | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: machdep: Add context switch helper | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: machdep: Add pcb init code | Ian 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-13 | kernel: proc: Add Process Control Block structure | Ian 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-13 | kernel/amd64: machdep: Remove extra whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: trap: Update panic message | Ian 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-13 | kernel/amd64: cpu: Add fxsave/fxrstor helpers | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: spectre: Log only once | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel: sched: Improve stack init code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: machdep: Fix typo | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-11 | kernel/amd64: machdep: Enable SSE/SSE2 per core | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-11 | kernel/amd64: Add control register r/w helpers | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
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> |