summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-25build: Add user linker scriptIan Moffett
This ensures the memory layout is in a proper state Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-25kernel: vm: Make vmobj ref start at zeroIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-24kernel: vm: Make pmap_create_vas() return intIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-24kernel/amd64: pmap: Fix check for listed CPUsIan Moffett
Only perform a TLB shootdown if the number of cores listed is greater than one. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-24kernel: cpu: Add cpu_count() for reading 'ncpu'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-24init: mshell: Remove useless length checkIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel/amd64: trap: Handle cleanup before signalIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel: sched: Fix PID assignmentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel/amd64: Log messages during user faultsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel: syslog: Add kernel message bufferIan Moffett
This commit introduces the kernel message buffer and makes system messages no longer be written to the TTY after kernel init. The kernel message buffer can be read from /proc/kmsg Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel/amd64: mp: APICTMR -> LAPIC-TMRIan Moffett
"LAPIC-TMR" seems cleaner than "APICTMR" Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel/amd64: pmap: Add support for TLB shootdownsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel: intr: name -> sourceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel/amd64: lapic: Add IPI_SHORTHAND_NONEIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel/amd64: pmap: Add pmap_init()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel: intr: Fix garbage outputIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel: intr: Remove useless includeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23init: mshell: Allow reading from /proc/interruptsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel/amd64: isa: Add i8042 IRQ statIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel/amd64: mp: Add local timer statIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel: procfs: Add support for /proc/interruptsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel/amd64: mp: Don't allocate seperate ciIan Moffett
The machdep layer already handles this Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23init: mshell: Don't use newline in print_file()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel: procfs: Write newline after outputIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23init: Add 'kversion' and 'memstat' commandsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel: fs: Add procfs supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel: vm: Add alloc and avl statsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23init: mshell: Handle empty commandsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel: vm: Keep track of vmobj countIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel: vm: Add memory statsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-22init: Add maintenance shellIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-21kernel: devfs: Add support for close hookIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-21kernel: filedesc: Fix fd_from_fdnum()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-21kernel: vfs: Add support for close VOPIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-21kernel: sched: Fix commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-21kernel: Initial sched rewriteIan Moffett
- Introduce dynamic scheduling policy - Introduce MLFQ scheduling - Clean up a lot of code Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-20kernel: tty: Remove useless commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-20kernel: tty: Improve hook naming consistencyIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19kernel: tty: Improve comment in tty_dev_read()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19kernel: tty: Define TTY open hookIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19kernel: dev: Define stub open hooksIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19kernel: vfs: Add support for open hookIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19kernel: vfs: Cleanup sys/vfs.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19libc: Add SYS_reboot defineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19kernel: Add reboot() and reboot syscallIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19libc: termios: Add missing `op` argIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19libc: vsnprintf: Add '%d' supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19libc: Add auxv_entry()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19libc: Add termios.h with basic functionsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19kernel: tty: Implement tty_ioctl()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>