feature: enable paging and load page directory
This commit is contained in:
12
src/memory/load_pd.s
Normal file
12
src/memory/load_pd.s
Normal file
@ -0,0 +1,12 @@
|
||||
.intel_syntax noprefix
|
||||
|
||||
.text
|
||||
.global load_page_directory
|
||||
load_page_directory:
|
||||
push ebp
|
||||
mov ebp, esp
|
||||
mov eax, [esp + 8]
|
||||
mov cr3, eax
|
||||
mov esp, ebp
|
||||
pop ebp
|
||||
ret
|
||||
Reference in New Issue
Block a user