Nigel
dea8ab7d71
Added new entries to .gitignore Moved away from source directory as central spot for all source code
21 lines
284 B
ArmAsm
21 lines
284 B
ArmAsm
.globl enablePaging
|
|
enablePaging:
|
|
push %ebp
|
|
mov %esp, %ebp
|
|
mov %cr0, %eax
|
|
or $0x80000000, %eax
|
|
mov %eax, %cr0
|
|
mov %ebp, %esp
|
|
pop %ebp
|
|
ret
|
|
|
|
.globl loadPageDirectory
|
|
loadPageDirectory:
|
|
push %ebp
|
|
mov %esp, %ebp
|
|
mov 8(%esp), %eax
|
|
mov %eax, %cr3
|
|
mov %ebp, %esp
|
|
pop %ebp
|
|
ret
|