10 lines
125 B
NASM
10 lines
125 B
NASM
|
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
|