Skip to content
Snippets Groups Projects
Commit 8d8d6c7b authored by Robert Morris's avatar Robert Morris
Browse files

we don't need CR0_WP

parent 5ab868fd
No related branches found
No related tags found
No related merge requests found
...@@ -375,9 +375,7 @@ vminit(void) ...@@ -375,9 +375,7 @@ vminit(void)
lcr3(PADDR(kpgdir)); lcr3(PADDR(kpgdir));
cr0 = rcr0(); cr0 = rcr0();
// cr0 |= CR0_PE|CR0_PG|CR0_AM|CR0_WP|CR0_NE|CR0_TS|CR0_EM|CR0_MP; cr0 |= CR0_PG;
// cr0 &= ~(CR0_TS|CR0_EM);
cr0 |= CR0_PG | CR0_WP;
lcr0(cr0); lcr0(cr0);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment