Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | vfs: Make root private | Himbeer | 2024-06-30 | 1 | -1/+1 | |
| | ||||||
* | vfs: Rename 'default' Tree to 'root' | Himbeer | 2024-06-30 | 1 | -2/+2 | |
| | ||||||
* | vfs: Create type alias for Tree nodes | Himbeer | 2024-06-30 | 1 | -1/+3 | |
| | ||||||
* | vfs: Add Dir and DirHook resource types | Himbeer | 2024-06-30 | 1 | -8/+16 | |
| | ||||||
* | syscall: Add stubs for VFS interaction | Himbeer | 2024-06-30 | 1 | -0/+59 | |
| | ||||||
* | vfs: Add initial VFS provider | Himbeer | 2024-06-30 | 1 | -0/+59 | |
| | ||||||
* | syscall: Add naive uprint syscall | Himbeer | 2024-06-22 | 1 | -0/+15 | |
| | ||||||
* | mem: Add page allocator | Himbeer | 2024-06-21 | 1 | -8/+57 | |
| | | | | This allocator is more robust than the existing chunk allocator. It is backed by the page-grained allocator and does not support resizing. The CPU and memory overhead is considerably higher. | |||||
* | mem: Always place chunk header directly before data buffer without alignment ↵ | Himbeer | 2024-06-21 | 1 | -3/+11 | |
| | | | | padding | |||||
* | Revert "mem: Fix resizing not accounting for alignment padding between Chunk ↵ | Himbeer | 2024-06-21 | 1 | -11/+5 | |
| | | | | | | header and data buffer" This reverts commit 88ee047a24518161478dc1f79fb95f3343bc642a. | |||||
* | process: Handle ELF memory overruns gracefully (return error instead of ↵ | Himbeer | 2024-06-21 | 1 | -1/+2 | |
| | | | | panicking the kernel) | |||||
* | process: Combine size emptiness checks into single if-statement | Himbeer | 2024-06-21 | 1 | -2/+1 | |
| | ||||||
* | process: Use ELF PHDR filesz instead of memsz where applicable (checked for ↵ | Himbeer | 2024-06-21 | 1 | -2/+4 | |
| | | | | consistency) | |||||
* | mem: Fix resizing not accounting for alignment padding between Chunk header ↵ | Himbeer | 2024-06-21 | 1 | -5/+11 | |
| | | | | | | and data buffer Fixes #32. | |||||
* | process: Fix ELF PHDR iteration and memcpy size limits | Himbeer | 2024-06-19 | 1 | -2/+3 | |
| | | | | It is now possible to execute a statically linked freestanding ELF file from the userinit tarball. | |||||
* | mem: Use correct Chunk header alignment (1) | Himbeer | 2024-06-19 | 1 | -37/+44 | |
| | | | | Fixes #30. | |||||
* | vfs: Add userinit.tar reading (no VFS functionality yet) | Himbeer | 2024-06-18 | 1 | -0/+5 | |
| | ||||||
* | process: Switch to ELF loading | Himbeer | 2024-06-18 | 1 | -43/+114 | |
| | ||||||
* | syscall: Expect ID to be passed in a7 | Himbeer | 2024-06-17 | 2 | -3/+3 | |
| | | | | This is consistent with Linux and pk and may help with adding compatibility in the future. | |||||
* | interrupts: Restore global pointer before entering handleTrap | Himbeer | 2024-06-15 | 1 | -0/+7 | |
| | ||||||
* | process: Use slice instead of multi-item pointer for demo entry point | Himbeer | 2024-06-13 | 1 | -2/+2 | |
| | ||||||
* | process: Disable interrupts while switching to U-mode | Himbeer | 2024-06-13 | 2 | -3/+10 | |
| | ||||||
* | interrupts: Use .user enum literal for previous_privilege check | Himbeer | 2024-06-13 | 1 | -1/+1 | |
| | ||||||
* | interrupts: Refactor sstatus retrieval | Himbeer | 2024-06-13 | 1 | -26/+3 | |
| | ||||||
* | paging: Refactor typing of allocated pages | Himbeer | 2024-06-13 | 2 | -45/+45 | |
| | ||||||
* | process: Bump interrupt timer frequency to 1000 Hz | Himbeer | 2024-06-13 | 1 | -1/+1 | |
| | ||||||
* | interrupts: Use kernel trap frame to get correct hart ID | Himbeer | 2024-06-04 | 1 | -24/+21 | |
| | | | | Fixes #24. | |||||
* | panic: Disable and clear all interrupts before using wfi | Himbeer | 2024-06-04 | 2 | -5/+4 | |
| | | | | Fixes #16. | |||||
* | instructions: Represent sstatus CSR in the type system | Himbeer | 2024-06-04 | 2 | -10/+43 | |
| | ||||||
* | interrupts: Assume successful console output | Himbeer | 2024-06-04 | 1 | -4/+4 | |
| | ||||||
* | linking: Merge regular sections and their small counterparts | Himbeer | 2024-05-30 | 1 | -6/+0 | |
| | | | | Fixes #22. | |||||
* | hwi: Make binary format endian-aware | Himbeer | 2024-05-26 | 5 | -10/+18 | |
| | | | | Fixes #19. | |||||
* | paging: Map PCI(e) controller before using it | Himbeer | 2024-05-26 | 5 | -28/+35 | |
| | ||||||
* | hwi: Add QEMU | Himbeer | 2024-05-26 | 4 | -0/+9 | |
| | | | | Fixes #21. | |||||
* | license: Annotate lpi4a HWI and its source | Himbeer | 2024-05-23 | 2 | -0/+6 | |
| | ||||||
* | Drop FDT support in favor of custom HWI format | Himbeer | 2024-05-23 | 18 | -0/+2624 | |
Fixes numerous parsing bugs and increases efficiency. The kernel now runs successfully on the Lichee Pi 4A. |