42_KFS/src/memory/load_pd.s

13 lines
158 B
ArmAsm

.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