summaryrefslogtreecommitdiff
path: root/sys/include
AgeCommit message (Collapse)Author
3 dayssys: Make proper sys/types.h + add clang nostdincexptIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayssys: limits: Add CHAR_BITIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: vm: Add munmap() implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: systm: Include assert.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: systm: Add __sigraise() helperIan Moffett
Adds routine to raise a signal on the fly for the current calling thread. Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: vm: Add initial mmap() implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskernel: panic: Add hcf() and bas()Ian Moffett
hcf(): Halt and catch fire (used for debugging mostly) bas(): Burn and sizzle - internal usage Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskernel: cdefs: Introduce __cold and __dead_coldIan Moffett
The __cold macro is used for code paths that are rarley taken while the __dead_cold macro is used for __cold routines that never return. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-03-14kernel: vm: Add initial anonymous pager sourceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-03-09kernel: pager: Make vm_vnops externIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-03-07kernel: cdefs: Add __barrier() defineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-28kernel: termios: Remove duplicate ISTRIPIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-28kernel: termios: c_cc is of type cc_tIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-28kernel: driver: Remove trailing newlineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: Add POSIX termios.h headerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: cons: Add lock around root consoleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: dev: Add /dev/consoleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: vfs: Add support for write()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-21kernel: Update kernel log styleIan Moffett
Kernel logs must now all be lowercase for consistency. A new style called Peripheral Description Notation (PDN) has also been introduced to describe devices. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-20kernel: ahci: Add AHCI spinwait timeoutIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-20kernel: ahci: __BIT() -> BIT()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-20kernel/amd64: isa: Add initial i8237 driver implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-19kernel/amd64: bus: Add bus resource interfaceIan Moffett
This commit introduces a bus resource abstraction. A bus resource encapsulates bus specific information and semantics. Along with abstracting away bus specific details and providing an overall smoother interface, this additionally provides flexibility, access control and security by keeping track of permissions and allowing things to be turned on or off. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-18kernel: ahci: Add necessary AHCI related headersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-18kernel: param: Add bit MASK() macroIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-16project: Update copyright date to 2025Ian Moffett
Was supposed to happen on Jan 1, sorry! Happy late new year! Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15kernel: pci: Optimize PCI bus scanningQuinn Stephens
Uses recursive bus/bridge scanning, skips nonexistent devices, and only scans for multiple functions on multifunction devices. This may result in PCI scanning being up to 100x as fast. Signed-off-by: Quinn Stephens <quinn@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org>
2025-01-27kernel: pci: Add missing pci_msix_eoi() prototypeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-01-27kernel: param: Add IN_RANGE macroIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-01-08kernel: xhci: Add TRB definitionsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-01-08kernel: xhci: Add xHC interrupt managementIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-20kernel/amd64: backtrace() -> md_backtrace()Ian Moffett
Maintain naming consistency between public machine-dependent and machine-independent functions. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-20kernel: xhci: Add initial xhci/usb3 driver implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-20kernel: param: Add ptr helpersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-20kernel/amd64: Add panic backtraceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-20kernel: cdefs: Add __weak macroIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-17kernel/amd64: pci: Allow mapping of 64 bit BARsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-16kernel: synch: Move spinlock_usleep()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-15kernel: vm: Add objects, page struct and pagersIan Moffett
This commit expands the virtual memory subsystem by providing the initial implementation of virtual memory objects, pager descriptors and pagers. This change currently implemenents a minimal vnode pager. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-15kernel: synch: Add spinlock with timeoutIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-15kernel: lib: Add atoi()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-15kernel: Add __nothing def to cdefs.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-15kernel: Add __unused attribute to cdefs.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-15kernel: Add offsetof in cdefs.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-15kernel: Add tree.h and tree_subr.c portIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-07kernel: vcache: Add impl of "local" vcachesIan Moffett
This commit implements local vcaches and lazy vcache migration (LZVM) for on the fly vcache type switching. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-07kernel: vcache: Improve vcache add/pull interfaceIan Moffett
Require internal add/pull routines to be passed a pointer to the vcache to be operated on. This makes it easier to support for per-process vcaches and LZVM. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-11-13kernel: vfs: Add vnode cache implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-11-12kernel: syscall: Add SYS_sysctl syscallIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-11-11kernel: sysctl: Add initial sysctl implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>