summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2024-04-13kernel: signal: Fix deadlock in signal_handle()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-13kernel: filedesc: Increment offset per read()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: devfs: Remove extra whitespaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: devfs: Div roundup by blocksizeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: nvme: Create device fileIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: create_dev() -> device_create()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: Get rid of invalid_uaddr()Ian Moffett
Use signal_raise(NULL, SIGSEGV) instead Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel/amd64: trap: Send signals to threadIan Moffett
Send SIGSEGV, SIGFPE, etc to the thread instead of panicking if it is running in userland Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: signals: Add initial signal implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: sched: Lock thread upon sched_exit()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: proc: Add lock to 'proc' structureIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: devfs: Cleanup code and commentsIan 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-10kernel: filedesc: Check fd_desc before using itIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: filedesc: Cleanup whitespaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: filedesc: Fix memory leak in sys_read()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-09kernel: vfs_lookup: Try looking up in mountlistIan 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: vfs_subr: Don't require leading '/'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-09kernel: vfs_lookup: Start lookup at idx 1Ian 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: tss: Remove useless whitespaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-09kernel: sched: Remove useless whitespaceIan 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: Add more commentsIan 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: nvme: Return status of callIan 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-07kernel/amd64: syscall: Set IP in syscall_argsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-06kernel: Check copyin() statusIan 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-06kernel: sched: Load init by itselfIan Moffett
This is temporary Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-06kernel/amd64: lapic: Remove unused includesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-05kernel: xhci: Remove unused functionsIan 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-04kernel: xhci: Fix scratchpad buffer codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-04kernel: xhci: Improve documentationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-04kernel: xhci: Add link TRB at end of cmd ringIan Moffett
Make the command ring circular by pointing the xHC to the start once it reaches the end. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-04kernel: sched: Pass init auxv to dynldIan 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: xhci: Fix cycle bit handlingIan Moffett
Set cycle bit initially to 1, invert cycle bit after submitting command to command ring. Signed-off-by: Ian Moffett <industrial.reformer@gmail.com>
2024-04-03kernel: xhci: Remove redundant commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-03kernel: usb: Refactor xhci_init_hc()Ian 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>