Paging cleanup, more cpu testing and psuedo code for higher half kernel

This commit is contained in:
2022-08-17 14:17:58 +02:00
parent 388ac8e7f9
commit 0b0e37b762
7 changed files with 130 additions and 54 deletions

View File

@ -11,6 +11,20 @@ GetCR0:
pop %ebp
ret
.globl GetCR4
GetCR4:
push %ebp
mov %esp, %ebp
xor %eax, %eax
mov %cr4, %eax
mov %ebp, %esp
pop %ebp
ret
.globl GetEFLAGS
GetEFLAGS:
push %ebp