Add simple paging, use rust libcore and compile without sse

This commit is contained in:
Jeremy Soller 2016-08-15 11:29:53 -06:00
parent 9f0819dafb
commit 465363f0a1
18 changed files with 601 additions and 53 deletions

View file

@ -17,6 +17,8 @@ startup_arch:
;Link first PML4 to PDP
mov DWORD [es:edi], 0x71000 | 1 << 1 | 1
add edi, 0x1000
;Link last PML4 to PML4
mov DWORD [es:edi - 8], 0x70000 | 1 << 1 | 1
;Link first PDP to PD
mov DWORD [es:edi], 0x72000 | 1 << 1 | 1
add edi, 0x1000