summaryrefslogtreecommitdiff
path: root/sys/include
AgeCommit message (Collapse)Author
2024-04-10kernel: proc: Add lock to 'proc' structureIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: fs: Add devfsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: Add dev_tIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-09kernel: vfs_mount: Fix mount codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-09kernel: mount: Make MNT_RDONLY 0x00000001Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-09kernel/amd64: Add backtrace support for panic()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-08kernel: nvme: Move defines to nvmevar.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-08kernel: nvme: Add drive read/write supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-08kernel: Add device descriptorsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-06kernel: mmio: Make 'addr' volatileIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-05kernel: xhci: Add xhci_init_evring()Ian Moffett
Add event ring init routine Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-05kernel: xhci: Fix xhci_evring_segment structureIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-05kernel: xhci: Add TRB typesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-05kernel: xhci: Set XHCI_TRB_SIZE to 16Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-03kernel: usb: Fix command ring TRB handlingIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-03kernel: usb: Add initial xHCI driver codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-01kernel: cdefs: Fix __COMBINE macrosIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-01kernel: nvme: Update nvmevar.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-31kernel: mount: Make MNT_RDONLY zeroIan Moffett
If no flags are specified (0), it would be undefined if MNT_RDONLY weren't zero Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-31kernel: lib: Add snprintf() and vsnprintf()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-30kernel: nvme: Keep track of namespacesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-28kernel: nvme: Add initial NVMe driver codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-28kernel: Add driver subsystemIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-28kernel: pci: Add command register helpersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-28kernel: pci: Add pci_writel()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-28kernel: vm_dynalloc: Add dynalloc_memalign()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-27kernel: Implement lseek()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-27kernel: vfs: Add getattr vopIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: Use 'sio_txn' for file I/OIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: Add system I/O descriptorIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: Add initial read() implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: Add sys_close()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: Add initial open() implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: vfs: Add PATH_MAX defineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: Add invalid_uaddr() helperIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: Add copyinstr() routineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-25kernel: filedesc: Return status in fd_alloc()Ian Moffett
It is better for fd_alloc() to return the status and have one of the arguments point to an output than have fd_alloc() return the allocated file descriptor just like that. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-20kernel: Require len in vcons_putstr()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-20kernel: dev: Add PCI driverIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-19kernel: syscall: Add sys_write()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-19kernel: vnode: Add write() vopIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-19kernel: syslog: Make syslog_screen externIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-19kernel: vcons: Add vcons_putstr() routineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-19kernel: vnode: Update commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-19kernel: syscall: Fix syscall orderIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-18kernel: Add copyin() and copyout() routinesIan Moffett
This commit adds two new functions, copyin() and copyout() for kernel to userspace access and vice versa. These functions ensure the userspace address being accessed actually belongs to the process running by performing address range checks, thereby preventing bad addresses being passed to syscalls. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-17kernel: loader: Keep track of program addr rangeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-17kernel: vm: Add vm_range structureIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-16kernel,libc: syscall: Improve syscall codeIan Moffett
- Remove the SYS_debug syscall - First syscall starts at 1 Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-16kernel: syscall: Remove syscall_args.retIan Moffett
It is better to just return a value within the syscall handler and have that passed down to __syscall() like that Signed-off-by: Ian Moffett <ian@osmora.org>