diff options
author | Benji Dial <benji@benjidial.net> | 2024-05-18 21:53:38 -0400 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-05-18 21:53:38 -0400 |
commit | b1a912a8a6ff472a49b2e0a09cfd433adfc2cb24 (patch) | |
tree | 5009d4415ba13e4baa37f3d0271852528130fd3b /kernel/paging.asm | |
parent | a8a80d326de9550b2a25b1255a2093ab43219ede (diff) | |
download | hilbert-os-b1a912a8a6ff472a49b2e0a09cfd433adfc2cb24.tar.gz |
reorganization, cross compiler
Diffstat (limited to 'kernel/paging.asm')
-rw-r--r-- | kernel/paging.asm | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/kernel/paging.asm b/kernel/paging.asm deleted file mode 100644 index f1047a9..0000000 --- a/kernel/paging.asm +++ /dev/null @@ -1,16 +0,0 @@ -bits 64 - -;see also ../documentation/memory.txt - -global switch_to_kernel_p4 - -;from paging.cpp: -extern __kernel_p4_paddr - -section .text - -switch_to_kernel_p4: - mov rax, qword [__kernel_p4_paddr] - mov cr3, rax - mov rsp, 0xfffffffffffff000 - jmp rdi |