mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 14:44:23 -04:00
kern: skeleton enough types to init KCoreLocalRegion in main()
This commit is contained in:
parent
ad0d2faa6c
commit
981bb1f15d
24 changed files with 1066 additions and 33 deletions
|
@ -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) { /* ... */ }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue