danos/src/kernel
Daniel Samson 1b47de5058
allocate AP kernel/IST stacks at bring-up, not statically
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.
2026-07-08 16:04:18 +01:00
..
arch/x86_64 allocate AP kernel/IST stacks at bring-up, not statically 2026-07-08 16:04:18 +01:00
console.zig add multi-sink diagnostic log; make framebuffer optional 2026-07-08 10:40:22 +01:00
font.psf moving kernel code to kernel/ 2026-07-05 10:19:11 +01:00
heap.zig moving kernel code to kernel/ 2026-07-05 10:19:11 +01:00
ipc.zig add a big kernel lock for SMP 2026-07-08 12:35:30 +01:00
log.zig add multi-sink diagnostic log; make framebuffer optional 2026-07-08 10:40:22 +01:00
main.zig allocate AP kernel/IST stacks at bring-up, not statically 2026-07-08 16:04:18 +01:00
pmm.zig wake application processors to long mode 2026-07-08 12:35:30 +01:00
scheduler.zig allocate AP kernel/IST stacks at bring-up, not statically 2026-07-08 16:04:18 +01:00
sync.zig add a big kernel lock for SMP 2026-07-08 12:35:30 +01:00
tests.zig test fault-on-AP and affinity; report the faulting core 2026-07-08 14:45:28 +01:00