summaryrefslogtreecommitdiff
path: root/sys/include
AgeCommit message (Collapse)Author
42 hourskernel: net: Implement IEEE 802.3 + ARP requestsIan Moffett
Introduce IEEE 802.3 related headers such as ones containing the structure of an ethernet frame as well as its types. This commit additionally introduces ARP request logic. Signed-off-by: Ian Moffett <ian@osmora.org>
42 hourskernel: Add sys/endian.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
42 hourskernel: rtl: Expose NIC properly through if_var.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2 dayskernel: rtl: Implement packet TXIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: cons: Clear entire screen on demandIan Moffett
- Flush the entire output buffer - Wipe the whole screen with "bg" - The entire console will now be cleared when a "\033[H" sequence is encountered Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: spawn: Add argv + stub envp argumentsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel/amd64: Return stack top after stack initIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: pci: Add support for PCI ExpressIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: pci: Add 'cam_hook' structure for PCI I/OIan Moffett
This change improves flexibility and allows for easy future integration of the PCI Express Enhanced Configuration Access Mechanism (ECAM) Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: Deprecate kern_instl for /usr/sbin/installIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: syscall: Add SYS_lseekIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: filedesc: Add fd_seek() as kernel lseek()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: filedesc: Add _KERNEL guardIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: ahci: Fix issue of undetectable devicesIan Moffett
- Only check PxSCTL.SET within the port reset logic - Do not create device file for ATAPI devices (yet) Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: ahci: Improve port reset logicIan Moffett
- Set PxCMD.SUD if the HBA supports staggered spin-up to ensure the device will be detectable. - Wait for the device link to be established - Detect and log SATA link speed Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel/amd64: bus: Make MMIO_OFFSET same as HDDMIan Moffett
Drivers may be invoked even while other processes are start up and therefore their MMIO mappings must be shared. Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: cons: Make ANSI_BLUE a darker shadeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: vfs: Add SYS_access syscallIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 daysusr: libc: Add stat() in sys/stat.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: proc: Make per-process flags volatileIan Moffett
The per process flags field is a frequently modified/read field and MUST NOT give stale data. Be very sure that the compiler does not optimize away accesses. Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: cons: Add ANSI cursor pos reset sequenceIan Moffett
- Add support for the "\033[H" ANSI escape sequence to reset the cursor to the 'home' position Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel: phy: Rename rtl8139 driver to rt81xxIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel: Add sys/time.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskernel: cons: Add initial ANSI escape seq implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskernel: cons: Add color attribute helpersIan 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: 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: 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/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/amd64: Add support for TLB shootdownsIan 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: 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: proc: Add proc_reap() for zombies, etcIan Moffett
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-30kernel: drivers: Add missing whitespaceIan 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-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-28kernel: exit: Handle killings of kernel threadsIan 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>