From b1a912a8a6ff472a49b2e0a09cfd433adfc2cb24 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sat, 18 May 2024 21:53:38 -0400 Subject: reorganization, cross compiler --- kernel/paging.asm | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 kernel/paging.asm (limited to 'kernel/paging.asm') 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 -- cgit v1.2.3