Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-10-27 | kernel/amd64: acpi: Remove trailing newline | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-10-27 | kernel: devfs: Add getattr vop for device files | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-09-09 | kernel: vfs: Refactor fd related code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-09-03 | kernel: dev: Introduce DCDR framework | Ian Moffett | |
Added the Drive Cache Descriptor Ring (DCDR) framework to manage the caching of logical blocks for LBA-based storage mediums. This commit implements core components including data structures for Drive Cache Descriptors (DCDs) and Drive Cache Descriptor Rings (DCDRs). Other implemented features include: - DCD eviction policy based on least hit count - DCD invalidation - DCD lookups - Support for logical block coalescing Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-08-21 | kernel: vfs: Add sys_close() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-08-21 | kernel: Add ref count to filedesc | Ian Moffett | |
Keep track of how many threads are currently using the file descriptor. This will be useful when fork() is implemented. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-08-16 | kernel/amd64: trap: Handle user traps | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
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-08-12 | kernel/amd64: proc: Set curtd upon thread kick | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-29 | kernel/amd64: Don't try IPIs with null cpu_info | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
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 | 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 | 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-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-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> |