aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-16libc: Add mmap() and munmap()Ian Moffett
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-10libc: Add open()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10libc: Add read()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10libc: Add open()Ian 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-09tools: meta-rip: 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-06init: Write some logsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-06init: Add copyrightIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-06libc: Add write()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>