mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37: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
|
||||
mov eax, cr0
|
||||
or eax, 1 << 31
|
||||
or eax, 1 << 16
|
||||
mov cr0, eax
|
||||
|
||||
ret
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user