summaryrefslogtreecommitdiff
path: root/arch/i386/kernel/jump_userspace.s
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-03-28 21:30:12 -0500
committerDanny Holman <dholman@gymli.org>2024-03-28 21:30:12 -0500
commitcbe2690cd5d1b290633c466ebb4df7b64b09b037 (patch)
tree99f77ef19f303c42c028be11cbb4210245b8a583 /arch/i386/kernel/jump_userspace.s
parentkernel: string: add a strcpy function (diff)
downloadbox-cbe2690cd5d1b290633c466ebb4df7b64b09b037.tar.gz
box-cbe2690cd5d1b290633c466ebb4df7b64b09b037.tar.zst
box-cbe2690cd5d1b290633c466ebb4df7b64b09b037.zip
arch: i386: kernel: add mostly finished PFA and paging system
Add the mostly finished physical memory allocator and expose its functions to the paging system. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to '')
-rw-r--r--arch/i386/kernel/jump_userspace.s8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/i386/kernel/jump_userspace.s b/arch/i386/kernel/jump_userspace.s
index fe69880..add144a 100644
--- a/arch/i386/kernel/jump_userspace.s
+++ b/arch/i386/kernel/jump_userspace.s
@@ -18,12 +18,4 @@ jump_userspace:
call set_kernel_esp
addl $4, %esp
- movl $0x0004, %eax
- orl $0x0002, %eax
- pushl %eax
- call init_page_dir
- addl $4, %esp
-
- movl %eax, %cr3
-
iret