kern: fully implement slabheap init

This commit is contained in:
Michael Scire 2020-01-30 01:41:59 -08:00
parent 7d6b16d7fb
commit d5a4c17ee7
12 changed files with 319 additions and 13 deletions

View file

@ -34,6 +34,13 @@ namespace ams::kern {
cpu::SynchronizeAllCores();
}
if (core_id == 0) {
/* Note: this is not actually done here, it's done later in main after more stuff is setup. */
/* However, for testing (and to manifest this code in the produced binary, this is here for now. */
/* TODO: Do this better. */
init::InitializeSlabHeaps();
}
/* TODO: Implement more of Main() */
while (true) { /* ... */ }
}