aboutsummaryrefslogtreecommitdiff
path: root/defs
Commit message (Collapse)AuthorAge
* multiboot: basic support for multiboot infoTianhao Wang2024-06-11
| | | | | | | | well, it's not trivial to use bios function because thanks to grub + multiboot, we are already in protected mode when the startup code takes control. Also the MB info is easier to play with than BIOS (or ACPI) Signed-off-by: Tianhao Wang <shrik3@mailbox.org>
* choreTianhao Wang2024-06-11
|
* startup: define multiboot headers in linker scriptTianhao Wang2024-06-11
|
* linker: "optimize" section arrangementsTianhao Wang2024-06-11
| | | | | | | 1. throw vectors in a custom ".reserved" section 2. throw idt in a NOLOAD ".reserved_0" section: save some binary size (like .bss) since we don't care for its initial value. 3. squash all ".data.*" sections from rust into ".data"
* split idt and vectors from startup codeTianhao Wang2024-06-11
|
* linker: explicitly provide ___BSS* symbolsTianhao Wang2024-06-11
|
* rework linker scriptTianhao Wang2024-06-11
|
* rename `compiler` directory to `defs`Tianhao Wang2024-06-11
the name `compiler` is ambiguous