mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 06:47:49 +00:00
Don't set write protect bit as we don't need it now
This commit is contained in:
@@ -316,7 +316,6 @@ enable_paging:
|
|||||||
; enable paging in the cr0 register
|
; enable paging in the cr0 register
|
||||||
mov eax, cr0
|
mov eax, cr0
|
||||||
or eax, 1 << 31
|
or eax, 1 << 31
|
||||||
or eax, 1 << 16
|
|
||||||
mov cr0, eax
|
mov cr0, eax
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
|||||||
@@ -86,7 +86,6 @@ enable_paging:
|
|||||||
; enable paging in the cr0 register
|
; enable paging in the cr0 register
|
||||||
mov eax, cr0
|
mov eax, cr0
|
||||||
or eax, 1 << 31
|
or eax, 1 << 31
|
||||||
or eax, 1 << 16
|
|
||||||
mov cr0, eax
|
mov cr0, eax
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
|||||||
Reference in New Issue
Block a user