Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-16 | kernel/amd64: trap: Set IPL_HIGH in trap_handler() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-16 | kernel/amd64: trap: Fix TRAPENTRY %CS offset | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-16 | kernel/amd64: mp: Lock only around cpu_startup() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-15 | kernel: fork: Pre-increment nthreads | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-15 | kernel: proc: Add missing include | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-14 | kernel: nvme: Sleep before status check | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-14 | kernel: nvme: Remove command error check for now | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-14 | kernel: nvme: Use CAP.MQES for qsize | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-14 | kernel: nvme: Fix NVMe op definition | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-13 | kernel: nvme: Add nvme bdevsw + support for reads | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-13 | kernel: dev: Support bdevsw | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-13 | kernel: devfs: Allocate buffer for name field | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-13 | kernel: nvme: Set bar field in nvme_ctrl structure | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: nvme: Init namespaces TAILQ | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: nvme: Remove useless check | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: devfs: Add missing include | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: nvme: Setup I/O queues and namespaces | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: nvme: Handle cq_head and phase bit | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: Add support for devfs | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-12 | kernel: Add device layer | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-11 | kernel: namei: Allow lookups farther than '/' | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-11 | kernel: vfs: Implement mountpoint naming | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-11 | kernel: pci: Fix cap offset handling | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-11 | kernel/amd64: pci: Add support for PCI MSI-X | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-11 | kernel/amd64: bus: Move MMIO_OFFSET to bus.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-10 | kernel: nvme: Improve nvme_identify() | Ian Moffett | |
Require an NSID and CNS value to be passed to the nvme_identify() function. This enables the caller to control what type of data is returned by the NVMe controller. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-10 | kernel/amd64: reboot: Halt all with REBOOT_HALT | Ian Moffett | |
This commit changes how reboot() handles REBOOT_HALT. Now instead of one core being halted, all cores will be halted through an IPI to a halt vector. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-10 | kernel/amd64: mp: Add missing "static" | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-10 | kernel: nvme: Add initial NVMe driver code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-10 | kernel: Init drivers | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-10 | kernel: vm: Add dynalloc_memalign() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-10 | kernel/amd64: bus: Fix memory mapping conflicts | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-09 | kernel: Add sys/driver.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-09 | kernel/amd64: pci: Add function to map BARs | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-09 | kernel/amd64: bus: Add bus abstraction layer | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-09 | kernel/amd64: Add function to set cache policy | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-09 | kernel: cons: Improve char handling and add cursor | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-09 | kernel: pci: Add PCI device lookups | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-09 | kernel: Add PCI driver | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-09 | kernel: Call vm_init() before acpi_init() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-07 | kernel: cons: Ensure fb_mem isn't NULL | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-07 | kernel/amd64: Add serial debug logging | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-06 | kernel/amd64: Add 8250 UART driver | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-04 | kernel: init_main: Startup PID 1 | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-04 | kernel/amd64: Add syscall support + SYS_exit | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-02 | kernel/amd64: machdep: Fix mistake in comment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-02 | kernel/amd64: proc: Fix typo in comment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-02 | kernel: proc: Remove PROC_INEXEC flag | Ian Moffett | |
This commit removes handling of the PROC_INEXEC flag as md_td_kick() takes care of the transfer to user mode in a cleaner way. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-02 | kernel/amd64: Handle the user GS segment register | Ian Moffett | |
This commit introduces usage of swapgs to switch out the GS register with the user GS register. An md_td_kick() function is also introduced to start up user threads. The this_cpu() function uses the GS register to read the current CPU structure using a new "self" field. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-07-02 | kernel/amd64: Add INTRENTRY() and TRAPENTRY() | Ian Moffett | |
Add macros that perform certain operations before invoking the actual handler. This will be useful in the future for more complicated operations that need to be done before the handler is ran. Signed-off-by: Ian Moffett <ian@osmora.org> |