wip: separate allocators into a kernel one and a user one
This commit is contained in:
@ -1,12 +1,13 @@
|
||||
.intel_syntax noprefix
|
||||
|
||||
.text
|
||||
.global load_page_directory
|
||||
.section .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
|
||||
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