Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-29 | kernel/amd64: cpu: Write cpu_info to IA32_GS_BASE | Ian Moffett | |
Instead of writing cpu_info to IA32_KERNEL_GS_BASE then using SWAPGS, write the cpu_info pointer directly to IA32_GS_BASE Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-29 | kernel/amd64: msr: Add IA32_GS_BASE MSR define | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-29 | kernel/amd64: Use only defines + handle err codes | Ian Moffett | |
- Use only defines in frame.h - Improve handling of trap error codes Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-29 | kernel/amd64: Facilitate IA32_FS_BASE reads/writes | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-24 | libc: Implement read() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-24 | kernel: nvme: Set write op to nowrite | 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-24 | kernel: device: Add write operation | 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 | sysheaders: limits: Add SSIZE_MAX | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-22 | libc: Add open() | 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-22 | sysheaders: Add sys/fcntl.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-22 | sysheaders: Add sys/limits.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-22 | sysheaders: cdefs: Add __BEGIN_DECLS/__END_DECLS | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-22 | build: Improve copying of headers | Ian Moffett | |
- Ensure headers are always copied - Ensure lib/libc/include/*.h are copied 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 | usr.sbin: Fix linker script | Ian Moffett | |
Fix issue with memory addresses of globals being zeroed 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-16 | kernel/amd64: trap: Set IPL_HIGH in trap_handler() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-16 | kernel/amd64: trap: Fix TRAPENTRY %CS offset | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-16 | kernel/amd64: mp: Lock only around cpu_startup() | 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-15 | kernel: proc: Add missing include | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-14 | kernel: nvme: Sleep before status check | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-14 | kernel: nvme: Remove command error check for now | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-14 | kernel: nvme: Use CAP.MQES for qsize | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-14 | kernel: nvme: Fix NVMe op definition | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-13 | kernel: nvme: Add nvme bdevsw + support for reads | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-13 | kernel: dev: Support bdevsw | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-13 | kernel: devfs: Allocate buffer for name field | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-13 | kernel: nvme: Set bar field in nvme_ctrl structure | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: nvme: Init namespaces TAILQ | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: nvme: Remove useless check | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: devfs: Add missing include | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: nvme: Setup I/O queues and namespaces | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: nvme: Handle cq_head and phase bit | 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-11 | kernel: pci: Fix cap offset handling | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> |