|
|
@@ -484,15 +484,15 @@ init_prot:
|
|
|
.init_paging:
|
|
|
; we set page map at 0x00000000 (a good address)
|
|
|
|
|
|
- mov dword [0x00000000], 0x00001000 | PAGE_USER
|
|
|
+ mov dword [0x00000000], 0x00001000 | PAGE_DIR
|
|
|
; mov dword [0x00000004], 0x00000000
|
|
|
|
|
|
- mov dword [0x00000800], 0x00001000 | PAGE_USER
|
|
|
+ mov dword [0x00000800], 0x00001000 | PAGE_DIR
|
|
|
; mov dword [0x00000804], 0x00000000
|
|
|
|
|
|
; and page directory pointer table
|
|
|
|
|
|
- mov dword [0x00001000], 0x00002000 | PAGE_USER
|
|
|
+ mov dword [0x00001000], 0x00002000 | PAGE_DIR
|
|
|
; mov dword [0x00001004], 0x00000000
|
|
|
|
|
|
; page directory entry (2 MB)
|