diff options
Diffstat (limited to 'dev/ZBA/Sources/HEL/AMD64/BootAPI.S')
| -rw-r--r-- | dev/ZBA/Sources/HEL/AMD64/BootAPI.S | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dev/ZBA/Sources/HEL/AMD64/BootAPI.S b/dev/ZBA/Sources/HEL/AMD64/BootAPI.S index 9db0961a..47f250f1 100644 --- a/dev/ZBA/Sources/HEL/AMD64/BootAPI.S +++ b/dev/ZBA/Sources/HEL/AMD64/BootAPI.S @@ -40,8 +40,13 @@ wait_gate2: reset_wait: jmp reset_wait -.global write_cr3 +.global boot_write_cr3 +.global boot_read_cr3 -write_cr3: +boot_read_cr3: + mov rax, rax + ret + +boot_write_cr3: mov cr3, rcx ret |
