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. |
||
|---|---|---|
| .. | ||
| arch/x86_64 | ||
| console.zig | ||
| font.psf | ||
| heap.zig | ||
| ipc.zig | ||
| log.zig | ||
| main.zig | ||
| pmm.zig | ||
| scheduler.zig | ||
| sync.zig | ||
| tests.zig | ||