Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-07 | kernel: nvme: Use PCI_BAR_MEMBASE() to fetch base | Ian Moffett | |
Use PCI_BAR_MEMBASE() instead of manually masking off bits to ensure the cleanness of the driver. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-07 | kernel: pci: Add macros for fetching BAR base | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-07 | libc: stdlib: POSIX-compliant randomness | AptRock327 | |
This commit implements two functions: rand(), and srand() which together allow for the generation of pseudorandom numbers. Signed-off-by: AptRock327 <dominik032009@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-07 | kernel/amd64: trap: Remove unnecessary whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-07 | kernel: vm_fault: Ref vmobj before usage | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-07 | kernel/amd64: tss: Ensure stacks are aligned | Ian Moffett | |
When allocating a kernel stack, ensure it is aligned on a 16-byte boundary. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-07 | kernel/amd64: trap: Temporarily disable interrupts | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-06 | kernel: vm_fault: Fix 'td' assignment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-05 | kernel: vm_fault: Refactor demand paging | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-05 | kernel: pci: Remove unused variable | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-02 | kernel: pci: Refactor pci_set_device_info() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-02 | kernel: pci: Add more register definitions | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
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-05-01 | libc: elf: Fix header guard | Ian Moffett | |
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-29 | man: device(9): Add device(9) man page | Ian Moffett | |
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-28 | libc: Add execv() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-28 | libc: Add mount() | 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 | build: sysexports: Export termios.h | 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> |