kern: add KPageTableBase members

This commit is contained in:
Michael Scire committed 2020-02-09 18:29:38 -08:00
1 parent 50b8189e7f
commit fdd7b1db15
7 files changed
+101 -13

No files matched your search

@@ -22,12 +22,11 @@ namespace ams::kern::arm64 {
this->ttbr0[core_id] = cpu::GetTtbr0El1();
/* Set sctlr_el1 */
MESOSPHERE_TODO("Set bit in SCTLR_EL1");
cpu::SystemControlRegisterAccessor().SetWxn(true).Store();
cpu::EnsureInstructionConsistency();
/* Invalidate the entire TLB. */
cpu::InvalidateEntireTlb();
cpu::EnsureInstructionConsistency();
/* If core 0, initialize our base page table. */
if (core_id == 0) {