Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-02 | kernel/amd64: Add INTRENTRY() and TRAPENTRY() | Ian Moffett | |
Add macros that perform certain operations before invoking the actual handler. This will be useful in the future for more complicated operations that need to be done before the handler is ran. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-02 | kernel/amd64: Add missing copyright | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-01 | kernel: exec: Add execve() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-01 | kernel/amd64: proc: Add stack init func for exec | Ian 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-30 | kernel/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-30 | kernel: sched: Add exit1() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-30 | kernel: sched: Mark sched_enter() as __dead | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-30 | kernel: cdefs: Add __dead | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-30 | kernel/amd64: pmap: Add pmap_destroy_vas() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-29 | kernel/amd64: lapic: Improve accuracy of comment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-29 | kernel/amd64: lapic: Add support for IPIs | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-29 | kernel: elf: Cleanup error handling | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-29 | kernel/amd64: proc: Update outdated comment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-29 | kernel: elf: Fix memory leak | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-29 | kernel: elf: nd.vp -> vp | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-28 | kernel: fork: Ensure 'newproc' is zeroed | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-28 | kernel: elf: Add ELF64 loader | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-28 | kernel: Add sys/elf.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-28 | kernel: vfs: Add vnode refcount | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-28 | kernel: vfs: Don't destroy vnode if error | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-28 | kernel/amd64: Focus md_td_init() to fork MD code | Ian 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-28 | kernel/amd64: Make splraise() return previous IPL | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-28 | kernel/amd64: Convert kernel stack base to vaddr | Ian 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-25 | kernel: initramfs: Implement getattr vop | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-25 | kernel: vfs: Add getattr vop | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-25 | kernel: vfs: Keep style consistent | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-25 | kernel: initramfs: Fix dangling pointer | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-25 | kernel: sched: Remove "TODO" from sched_switch() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-25 | build: Add 'cross' target | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-25 | build: /bin/sh -> bin/bash | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-24 | Add README.md | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-24 | Import hyra expt | Ian Moffett | |
2024-06-24 | Clean out for expt | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-23 | kernel: Init proc0 | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-23 | kernel: Add fork1() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-23 | kernel/amd64: Add machdep thread init function | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-23 | kernel: sched: Add PCB and context switching | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-23 | kernel/amd64: gdt: Add user CS/DS defines | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-23 | kernel/amd64: pmap: Add function to create new VAS | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-23 | kernel: vm: Add g_kvas for kernel VAS | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-21 | kernel: cdefs: Fixup comment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-20 | kernel/amd64: intr: Add splraise/splx support | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-20 | kernel: queue: Add sys/queue.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-19 | kernel: Add initramfs and initial VFS code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-19 | kernel: lib: Add strncmp() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-19 | kernel: types: Add mode_t | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-13 | kernel: string: Add strcmp() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-13 | kernel/amd64: pmap: Fixup and improve consistency | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-11 | kernel: Add sys/atomic.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-11 | kernel: types: Add off_t | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> |