Flush TLB after killing 1 GB identity mapping

上级 6dea4a0b
......@@ -115,6 +115,7 @@ cmain(u64 mbmagic, u64 mbaddr)
inituser(); // first user process
bootothers(); // start other processors
kpml4[0] = 0; // don't need 1 GB identity mapping anymore
lcr3(rcr3());
scheduler();
panic("Unreachable");
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论