Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | hello_world: Make use of uprint syscall to print hello message | Himbeer | 2024-06-22 | 1 | -1/+8 | |
| | ||||||
* | syscall: Add naive uprint syscall | Himbeer | 2024-06-22 | 1 | -0/+15 | |
| | ||||||
* | kernel: Remove stray newline between first parameter listing and page table ↵ | Himbeer | 2024-06-22 | 1 | -2/+0 | |
| | | | | summary | |||||
* | linking: Increase heap size to 512 MiB | Himbeer | 2024-06-21 | 1 | -1/+1 | |
| | | | | This is required due to the overhead of the new page allocator. | |||||
* | kernel: Switch to page allocator for the time being | Himbeer | 2024-06-21 | 1 | -2/+3 | |
| | | | | Temporarily fixes #33. | |||||
* | 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. | |||||
* | doc: Explain userinit creation | Himbeer | 2024-06-19 | 1 | -0/+19 | |
| | ||||||
* | 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 | 2 | -0/+7 | |
| | ||||||
* | examples: Add hello_world example program | Himbeer | 2024-06-18 | 4 | -0/+167 | |
| | ||||||
* | process: Switch to ELF loading | Himbeer | 2024-06-18 | 2 | -45/+118 | |
| | ||||||
* | git: Remove dropped U-Boot config from ignorelist | Himbeer | 2024-06-17 | 1 | -3/+0 | |
| | ||||||
* | 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. | |||||
* | build: Force optimization | Himbeer | 2024-06-15 | 1 | -1/+2 | |
| | | | | Fixes hangs with debug builds on the lpi4a platform. | |||||
* | 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 | 2 | -25/+22 | |
| | | | | Fixes #24. | |||||
* | panic: Disable and clear all interrupts before using wfi | Himbeer | 2024-06-04 | 3 | -12/+13 | |
| | | | | 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 | |
| | ||||||
* | doc: Change SMP to yes in QEMU U-Boot config, including SPL | Himbeer | 2024-06-03 | 1 | -2/+3 | |
| | ||||||
* | linking: Merge regular sections and their small counterparts | Himbeer | 2024-05-30 | 3 | -22/+3 | |
| | | | | Fixes #22. | |||||
* | hwi: Make binary format endian-aware | Himbeer | 2024-05-26 | 7 | -11/+22 | |
| | | | | Fixes #19. | |||||
* | doc: Add instructions for Lichee Pi 4A | Himbeer | 2024-05-26 | 1 | -8/+65 | |
| | | | | Fixes #20. | |||||
* | doc: Switch to imperative headings | Himbeer | 2024-05-26 | 1 | -6/+6 | |
| | ||||||
* | paging: Map PCI(e) controller before using it | Himbeer | 2024-05-26 | 6 | -35/+44 | |
| | ||||||
* | hwi: Add QEMU | Himbeer | 2024-05-26 | 5 | -1/+10 | |
| | | | | Fixes #21. | |||||
* | Revert "doc: Add workaround for faulty OpenSBI FDT fixups" | Himbeer | 2024-05-23 | 1 | -11/+1 | |
| | | | | This reverts commit 0f61d3bed969fecb35e438bfac2fe34f588834c6. | |||||
* | doc: Update instructions to platform-specific builds and HWI usage | Himbeer | 2024-05-23 | 1 | -13/+104 | |
| | ||||||
* | license: Annotate lpi4a HWI and its source | Himbeer | 2024-05-23 | 2 | -0/+6 | |
| | ||||||
* | git: Ignore hwi binaries | Himbeer | 2024-05-23 | 1 | -0/+2 | |
| | ||||||
* | Drop FDT support in favor of custom HWI format | Himbeer | 2024-05-23 | 24 | -670/+225 | |
| | | | | Fixes numerous parsing bugs and increases efficiency. The kernel now runs successfully on the Lichee Pi 4A. | |||||
* | doc: Add workaround for faulty OpenSBI FDT fixups | Himbeer | 2024-05-21 | 1 | -1/+11 | |
| | ||||||
* | main: Don't use stack variables across paging activation boundary | Himbeer | 2024-05-21 | 1 | -37/+77 | |
| |