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

This commit is contained in:
Michael Scire committed 2020-01-29 14:26:24 -08:00
1 parent ad0d2faa6c
commit 981bb1f15d
24 files changed
+1066 -33

No files matched your search

@@ -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) { /* ... */ }
}