X86: Obey the wp bit of CR0.
authorTim Harris <tharris@microsoft.com>
Mon, 7 Feb 2011 23:18:52 +0000 (15:18 -0800)
committerTim Harris <tharris@microsoft.com>
Mon, 7 Feb 2011 23:18:52 +0000 (15:18 -0800)
commit44e5e7e0533ba2544f2d37f8e051a0422966bd9b
tree600afb1e183f3fecc1c6fb2100285d2ccadd6525
parent6da83b8a1b06e64a2fc7b14c5ad342188f082848
X86: Obey the wp bit of CR0.

If cr0.wp ("write protect" bit) is clear then do not generate page faults when
writing to write-protected pages in kernel mode.
src/arch/x86/tlb.cc