Merge pull request #50 from phil-opp/fix-2

Don't set `write protect` bit when enabling paging
This commit is contained in:
Philipp Oppermann
2015-11-19 15:29:26 +01:00
2 changed files with 0 additions and 2 deletions

View File

@@ -316,7 +316,6 @@ enable_paging:
; enable paging in the cr0 register
mov eax, cr0
or eax, 1 << 31
or eax, 1 << 16
mov cr0, eax
ret

View File

@@ -86,7 +86,6 @@ enable_paging:
; enable paging in the cr0 register
mov eax, cr0
or eax, 1 << 31
or eax, 1 << 16
mov cr0, eax
ret