Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-10 | kernel: create_dev() -> device_create() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: Get rid of invalid_uaddr() | Ian Moffett | |
Use signal_raise(NULL, SIGSEGV) instead Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: signals: Add initial signal implementation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: proc: Add lock to 'proc' structure | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: fs: Add devfs | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: Add dev_t | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-09 | kernel: vfs_mount: Fix mount code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-09 | kernel: mount: Make MNT_RDONLY 0x00000001 | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-09 | kernel/amd64: Add backtrace support for panic() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-08 | kernel: nvme: Move defines to nvmevar.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-08 | kernel: nvme: Add drive read/write support | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-08 | kernel: Add device descriptors | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-06 | kernel: mmio: Make 'addr' volatile | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-05 | kernel: xhci: Add xhci_init_evring() | Ian Moffett | |
Add event ring init routine Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-05 | kernel: xhci: Fix xhci_evring_segment structure | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-05 | kernel: xhci: Add TRB types | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-05 | kernel: xhci: Set XHCI_TRB_SIZE to 16 | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-03 | kernel: usb: Fix command ring TRB handling | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-03 | kernel: usb: Add initial xHCI driver code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-01 | kernel: cdefs: Fix __COMBINE macros | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-01 | kernel: nvme: Update nvmevar.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-31 | kernel: mount: Make MNT_RDONLY zero | Ian Moffett | |
If no flags are specified (0), it would be undefined if MNT_RDONLY weren't zero Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-31 | kernel: lib: Add snprintf() and vsnprintf() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-30 | kernel: nvme: Keep track of namespaces | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-28 | kernel: nvme: Add initial NVMe driver code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-28 | kernel: Add driver subsystem | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-28 | kernel: pci: Add command register helpers | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-28 | kernel: pci: Add pci_writel() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-28 | kernel: vm_dynalloc: Add dynalloc_memalign() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-27 | kernel: Implement lseek() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-27 | kernel: vfs: Add getattr vop | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: Use 'sio_txn' for file I/O | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: Add system I/O descriptor | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: Add initial read() implementation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: Add sys_close() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: Add initial open() implementation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: vfs: Add PATH_MAX define | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: Add invalid_uaddr() helper | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: Add copyinstr() routine | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-25 | kernel: filedesc: Return status in fd_alloc() | Ian Moffett | |
It is better for fd_alloc() to return the status and have one of the arguments point to an output than have fd_alloc() return the allocated file descriptor just like that. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-20 | kernel: Require len in vcons_putstr() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-20 | kernel: dev: Add PCI driver | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-19 | kernel: syscall: Add sys_write() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-19 | kernel: vnode: Add write() vop | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-19 | kernel: syslog: Make syslog_screen extern | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-19 | kernel: vcons: Add vcons_putstr() routine | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-19 | kernel: vnode: Update comment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-19 | kernel: syscall: Fix syscall order | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-18 | kernel: Add copyin() and copyout() routines | Ian Moffett | |
This commit adds two new functions, copyin() and copyout() for kernel to userspace access and vice versa. These functions ensure the userspace address being accessed actually belongs to the process running by performing address range checks, thereby preventing bad addresses being passed to syscalls. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-17 | kernel: loader: Keep track of program addr range | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> |