summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2025-06-05kernel: vm: Map at `va + page_off'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-04kernel: xhci: Fix scratchpad page countIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-03kernel: video: Add /ctl/fb0/attrIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-03kernel: vm: Allow NULL `addr' for cdev mappingsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-03kernel: device: Harden cdev mmap() bounds checksIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-03kernel: syscall: Add SYS_mmap and SYS_munmapIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-03kernel: vm: Prepare for user mmap() interfaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-02kernel: vm: Add initial shared mapping supportIan Moffett
Add initial shared mapping support allowing device files to be mapped out into memory. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-02kernel: fbdev: Add /dev/fb0 char deviceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-02kernel: vm: Add initial device pager implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-02kernel: vfs: Store device major/minor in vnodeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-02kernel: device: Add mmap() hook for cdevswIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-01kernel/aarch64: pmap: Add dirty bit + cache stubsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-01kernel/amd64: pmap: Add PTE dirty bit handlingIan Moffett
Add support for managing the page table entry dirty bit. This will allow vm(9) to know when to page-out data to backing store, among other things. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-01kernel: xhci: Ensure of PCI bus mastering and MMIOIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-01kernel/amd64: Add support for TLB shootdownsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-01kernel/amd64: Only use HALT_VECTORIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-01kernel/amd64: Reserve IDT vec 0x22 for TLB IPIsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-01kernel/amd64: mp: Add BSP to `ci_list'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-01kernel/amd64: cdefs: Add __invlpg() asm wrapperIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-06-01kernel/amd64: mp: Keep track of CPUs by indexIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-31kernel: spawn: Fix fmt argIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-31kernel: spawn: Add support for SPAWN_WAIT flagIan Moffett
Add SPAWN_WAIT flag that causes spawn() to wait until the child process completes. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-31kernel/amd64: proc: Support kicking kernel threadsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-31kernel: exec: Initially disable intr in execve()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-31kernel: sched: Implement better sched_yield()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-31kernel: proc: Add proc_reap() for zombies, etcIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-31kernel: sched: Enable interrupts in sched_enter()Ian Moffett
Ensure interrupts will go through once sched_enter() is called. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-31kernel: proc: Add PROC_SLEEP to pause threadsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-31kernel: sched: Add sched_switch_to()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-31kernel: proc: `spawn_data' -> `data'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-31kernel: spawn: Add missing includeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-31kernel: descrip: Lock filedes during r/w operationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-30kernel: drivers: Add missing whitespaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-29kernel: syslog: Add kernel message bufferIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-29kernel: descrip: Increment fd offset per read()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-29kernel: devfs: Do not dynfree() dnp during reclaimIan Moffett
Devfs entries should be persistent throughout system operation and closing a file descriptor results in the vnode being released and its respective reclaim hook being called. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-29kernel: uacpi: Implement kernel nsec funcIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-29kernel/amd64: hpet: Add hpet_time_nsec()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-29kernel: Schedule drivers after AP bootstrapIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-29kernel: ahci: Defer ahci_init()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-28kernel: drivers: Add DRIVER_DEFER() macroIan Moffett
- Add DRIVER_DEFER() macro to schedule initialization for lower priority drivers - Expose `proc0' to the rest of the kernel Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-28kernel: syslog: Handle userspace kmsg loggingIan Moffett
- Add USER_KMSG option to configure if kernel messages should be logged in user contexts - Add syslog_silence() to silence kernel messages in user contexts if USER_KMSG is "yes" Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-28kernel: proc: Store kernel thread flag in `proc'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-28kconf: GENERIC: Add additional documentationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-28kernel: exit: Ensure curtd is NULL if killedIan Moffett
If the current process is killed, make sure that we set the pointer to the currently running process to NULL. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-28kernel: exit: Handle killings of kernel threadsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-28kernel/amd64: trap: Log page fault flagsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-27kernel: disklabel: Improve clarityIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-27kernel: Add initial installer implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>