kern: skeleton enough types to init KCoreLocalRegion in main()

This commit is contained in:
Michael Scire 2020-01-29 14:26:24 -08:00
parent ad0d2faa6c
commit 981bb1f15d
24 changed files with 1066 additions and 33 deletions

View file

@ -18,7 +18,14 @@
namespace ams::kern {
NORETURN void HorizonKernelMain(s32 core_id) {
/* Setup the Core Local Region, and note that we're initializing. */
Kernel::Initialize(core_id);
Kernel::SetState(Kernel::State::Initializing);
/* Ensure that all cores get to this point before proceeding. */
cpu::SynchronizeAllCores();
/* TODO: Implement more of Main() */
while (true) { /* ... */ }
}