Hoist max_cpus into danos (root.zig), raise it to 128, and stop reserving a static [max_cpus][16 KiB] IST array. Only the BSP's IST stack is static (needed before the allocator); each AP's is heap-allocated when it comes online. Shrinks the kernel from ~1.1 MB to ~139 KiB in ReleaseSmall. |
||
|---|---|---|
| .. | ||
| apic.zig | ||
| cpu.zig | ||
| gdt.zig | ||
| idt.zig | ||
| io.zig | ||
| ioapic.zig | ||
| isr.s | ||
| linker.ld | ||
| paging.zig | ||
| serial.zig | ||
| smp.zig | ||
| trampoline.s | ||
| tss.zig | ||