summaryrefslogtreecommitdiff
path: root/sys/include
AgeCommit message (Collapse)Author
2024-05-31kernel: ic: Add initial AHCI driver codeIan Moffett
This commit introduces the initial implementation of the AHCI driver for Hyra. Support for reading and writing drives still need to be implemented and devices haven't been exposed to userland yet. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-28kernel: queue: Add missing header guardIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-26kernel: Fixup logging to work with syslog changesIan Moffett
This commit removes the KINFO(), KERR(), ... macros Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-26kernel/amd64: Support fetching time since startupIan Moffett
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: cpu: Add cpu_count() for reading 'ncpu'Ian 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: 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: procfs: Add support for /proc/interruptsIan 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-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-21kernel: devfs: Add support for close hookIan 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: 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-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-19kernel: Add reboot() and reboot syscallIan 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>
2024-05-19build: Export sys/tty.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-18kernel: tty: Handle input processing betterIan Moffett
- Fix copying logic in tty_read() - Handle ICANON correctly - Add ECHO c_lflag bit - Add TTY_SOURCE_DEV and TTY_SOURCE_RAW defines Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-18kernel: tty: Add tty_putstr()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-18kernel: termios: Add ICANON flagIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-16kernel: sched: Move loader code away from schedIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-14kernel: machdep: Add machine_panic() + panic beepIan Moffett
machine_panic() handles things like backtracing, beeping the speaker and halting the processor. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-14kernel: isa: Add pcspkr supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-14kernel: i8254: Add channel 2 port defineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-14kernel: tty: Add tty_attach()Ian Moffett
This commit adds a new routine called tty_attach(). This routine allows a TTY to be registered with the system and have a device file associated with it. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-12kernel/amd64: isa: Add i8042 driverIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-12kernel: tty: Add initial TTY codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-12kernel: vcons: Don't touch termiosIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-07kernel: pci: Add macros for fetching BAR baseIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-02kernel: pci: Add more register definitionsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-30kernel: vm: Refactor map.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-30kernel/amd64: machdep: Add cpu_halt_others()Ian Moffett
Halts all other processors except self Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-28kernel/amd64: ioapic: Fix declarationsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-28kernel/amd64: ioapic: Add ioapic_set_vec()Ian Moffett
Add helper to set vector in a redirection table entry Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-28kernel: vfs: Pass source vnode to vfsops.init()Kaimakan71
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-27kernel: vfs: Implement sys_mount()Kaimakan71
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-26kernel: Add support for execv()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-26kernel: sched: Expose sched_init_stack()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-26kernel/amd64: frame: Add additional helpersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-26kernel: sched: Move sched stack macros to sched.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-26kernel: cdefs: Add __likely() and __unlikely()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-26kernel: sched: Move sys_exit() from kern_syscall.cIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>