rivosinc / salus

Risc-V hypervisor for TEE development
92 stars 25 forks source link

Fix boot on single CPUs. #304

Closed glg-rv closed 1 year ago

glg-rv commented 1 year ago

Previous VA stack change broke support for single CPU booting.

This commit fixes this by not allocating a zero sized sequential pages, rather allocating a stack whenever we find a secondary CPU.