os/cpu/i386/paging_helpers.asm

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