Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-12 | kernel: Remove extra newline | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-08-12 | kernel: Add initial support for signals | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-24 | kernel: device: Add read/write stubs | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-22 | kernel: sched: Implement MLFQ | AptRock327 | |
Implements the Multilevel Feedback Queue scheduling algorithm. Signed-off-by: AptRock327 <dominik032009@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-22 | kernel: vfs_syscalls: Add sys_read() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-22 | kernel: vfs_syscalls: Remove unused vars | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-22 | kernel: vfs_syscalls: Add sys_open() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-18 | kernel: exit: Drop loadmap entries with bad range | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-18 | kernel: Add copyin() and copyout() | Ian Moffett | |
Add copyin() and copyout() for copying from userspace to kernel space and vice versa. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-18 | kernel: elf: Keep track of program start and end | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-18 | kernel: elf: Fix loadmap indexing | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-17 | kernel: exit: Unload thread in exit1() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-17 | kernel: exec: Save program state within thread | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-17 | kernel: Call sched_enter() instead of cpu_reboot() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-16 | kernel: exec: Save base vaddr in exec_range | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-15 | kernel: fork: Pre-increment nthreads | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: Add support for devfs | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: Add device layer | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-11 | kernel: namei: Allow lookups farther than '/' | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-11 | kernel: vfs: Implement mountpoint naming | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-10 | kernel: Init drivers | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-09 | kernel: Call vm_init() before acpi_init() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-07 | kernel/amd64: Add serial debug logging | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-04 | kernel: init_main: Startup PID 1 | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-04 | kernel/amd64: Add syscall support + SYS_exit | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-02 | kernel: proc: Remove PROC_INEXEC flag | Ian Moffett | |
This commit removes handling of the PROC_INEXEC flag as md_td_kick() takes care of the transfer to user mode in a cleaner way. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-02 | kernel/amd64: Handle the user GS segment register | Ian Moffett | |
This commit introduces usage of swapgs to switch out the GS register with the user GS register. An md_td_kick() function is also introduced to start up user threads. The this_cpu() function uses the GS register to read the current CPU structure using a new "self" field. 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-06-30 | kernel: sched: Add exit1() | 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: 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: 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-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: sched: Remove "TODO" from sched_switch() | 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: sched: Add PCB and context switching | 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-08 | kernel/amd64: Prepare for scheduler | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-08 | kernel/amd64: Pass CPU info to cpu_startup() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-05 | kernel: init_main: Init virtual memory subsystem | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-04 | kernel: syslog: Print timestamp in kprintf() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-04 | kernel: Add initial ACPI code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-06-04 | kernel: Add panic() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> |