Git - code.swisschili.sh
code.swisschili.sh
/
bluejay
/
14d0b84bf94802a380045b37098b35f07461dffc
/
.
/
src
/
kernel
/
x86_32
/
switch_table.s
blob: e7d80f9fff5fd661d5e8f947fda067130bca4dc8 [
file
] [
log
] [
blame
]
[
section .text
]
[
bits
32
]
[
global load_page_directory
]
load_page_directory
:
mov ecx
,
[
esp
+
4
]
;
Pointer to directory
mov cr3
,
ecx
ret
[
global invalidate_page
]
invalidate_page
:
;
void
(
void
*
page
)
mov eax
,
[
esp
+
4
]
invlpg
[
eax
]
ret