Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-01 | kernel: vm_map: Refactor mmap() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-01 | kernel: vm_vnode: Ref the virtual memory object | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-01 | kernel: vm_map: Ensure mmap len is always aligned | Ian Moffett | |
Physical memory pages to be allocated is 'len / GRANULE'. Previously, if 'len' was less than the machine page-size, the amount of pages to allocate would be 0 causing the map to fail. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-30 | kernel: vm: Refactor map.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-30 | kernel: panic: Try to stop other processors | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-30 | kernel/amd64: machdep: Add cpu_halt_others() | Ian Moffett | |
Halts all other processors except self Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-28 | kernel/amd64: ioapic: Fix declarations | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-28 | kernel/amd64: ioapic: Add ioapic_set_vec() | Ian Moffett | |
Add helper to set vector in a redirection table entry Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-28 | kernel: devfs: Fix incorrect offset and buf size | Kaimakan71 | |
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-28 | kernel: vfs: Pass source vnode to vfsops.init() | Kaimakan71 | |
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-27 | kernel: vfs: Implement sys_mount() | Kaimakan71 | |
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-27 | kernel: kern_exec: Fix argp resize logic | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-27 | kernel: kern_exec: Fixup cleanup in execv() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: kern_exec: Close file descriptor | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: Add support for execv() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: sched: Expose sched_init_stack() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel/amd64: frame: Add additional helpers | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: sched: Move sched stack macros to sched.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: cdefs: Add __likely() and __unlikely() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel/amd64: syscall: Allow RIP/RSP to be reset | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: filedesc: Implement SEEK_END | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: sched: Move sys_exit() from kern_syscall.c | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: Implement basic loader_unload() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: filedesc: Acquire mutex in read() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: filedesc: Acquire mutex in write() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: filedesc: Use mutex instead of spinlock | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: Add support for mutex locks | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: sched: Add support for early preemption | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: filedesc: Ensure write() fd is correct | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-25 | kernel: sched: Use exec_args for argp, envp, etc | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-25 | kernel: vm_map: Refactor mmap() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-25 | kernel: vm_map: Fix mmap() clobbering mem space | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-25 | kernel: termios: Include stdint.h if not kernel | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-25 | kernel: vm_map: Cleanup on failure in mmap() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-25 | kernel: vm_map: Check for allocation failure | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-25 | kernel: vm_map: Refactor mmap() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-24 | kernel: fbdev: Move ioctl stuff to sys/fbdev.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-24 | kernel: signal: Include sys/proc.h only in kernel | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-24 | kernel: fbdev: Add framebuffer ioctl | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-24 | kernel: Add ioctl support | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-24 | kernel: device: Replace DEVICE_ALLOC() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-22 | kernel: auxv: Add AT_PAGESIZE | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-22 | kernel: vm_map: Fix anon map bug | Ian 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-21 | kernel: sched: Ensure td is removed from queue | Ian Moffett | |
Upon sched_exit(), the thread should not be in the queue Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-21 | kernel: sched: Create idle thread | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-20 | kernel: vm: Add initial demand paging support | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-20 | kernel: vm: Add vm_object refcount | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-19 | kernel: vm: Document vm_object fields | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-18 | kernel: vm_map: Handle oflag in shared maps | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-18 | kernel: filedesc: Handle multiple oflag bits | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> |