coconut-svsm / svsm

COCONUT-SVSM
MIT License
122 stars 42 forks source link

panic: use a platform-specific halt routine #496

Closed msft-jlange closed 3 weeks ago

msft-jlange commented 1 month ago

Not all platforms support HLT as a way to halt execution, and therefore the panic halt must be performed through a platform-specific routine. However, at the time of a panic, the global platform object may not yet be initialized. Instead, use a more primitive mechanism for choosing a platform-specific halt routine during panic.