os/kernel/cpu/i386/paging_helpers.asm

10 lines
125 B
NASM
Raw Normal View History

2019-02-09 12:52:45 -06:00
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