aboutsummaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2024-04-26kernel: filedesc: Ensure write() fd is correctIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-25kernel: sched: Use exec_args for argp, envp, etcIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-25kernel: vm_map: Refactor mmap()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-25kernel: vm_map: Fix mmap() clobbering mem spaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-25kernel: termios: Include stdint.h if not kernelIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-25kernel: vm_map: Cleanup on failure in mmap()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-25kernel: vm_map: Check for allocation failureIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-25kernel: vm_map: Refactor mmap()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-24kernel: fbdev: Move ioctl stuff to sys/fbdev.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-24kernel: signal: Include sys/proc.h only in kernelIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-24kernel: fbdev: Add framebuffer ioctlIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-24kernel: Add ioctl supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-24kernel: device: Replace DEVICE_ALLOC()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-22kernel: auxv: Add AT_PAGESIZEIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-22kernel: vm_map: Fix anon map bugIan Moffett
We should allocate physical memory before we map so the address returned isn't 0. We should also set the virtual memory object for the mapping. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-21kernel: sched: Ensure td is removed from queueIan Moffett
Upon sched_exit(), the thread should not be in the queue Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-21kernel: sched: Create idle threadIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-20kernel: vm: Add initial demand paging supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-20kernel: vm: Add vm_object refcountIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-19kernel: vm: Document vm_object fieldsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-18kernel: vm_map: Handle oflag in shared mapsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-18kernel: filedesc: Handle multiple oflag bitsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-18kernel: fbdev: Create fbdev device fileIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-18kernel: vm_map: Handle pager physical addressesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-18kernel: vm: Add device pagerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-18kernel: devfs: Add devfs_get_dev()Ian Moffett
Add helper to get a device descriptor from a vnode Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-18kernel: devfs: Rename devfs_add_blkdev()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-17kernel: vm_map: Handle pager errorsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-17kernel: vm_map: Add support for backing fileIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-17kernel: vm: Add vnode pagerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-17kernel: vfs_subr: Add vfs_write()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-17kernel: vm_map: Handle map-space 'map_count' fieldIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-17kernel: vm_map: Refactor kernel mmap()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-16kernel: vm_map: Allocate physmem for MAP_ANONYMOUSIan Moffett
Only allocate physical memory during an anonymous map request Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-16kernel: vm_map: Add mmap() and munmap()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-16kernel: vm_map: Add more detail to commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-13kernel: pci: Fix BAR assignmentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
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>