summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-05-20 19:10:30 +0200
committerAlmuHS <almuhs@github.com>2019-05-20 19:10:30 +0200
commit69980fb525b67905965f3d352e199c00bafd723a (patch)
treebbe9bb8a9ced4066e1e18c7aa49b46293a45ef67
parent91a320b2c5cf7cf5332a70e00e0f3de5c59ad48e (diff)
experiment: added flush sentences
-rw-r--r--i386/i386/cpuboot.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S
index 0157ae1f..26a249f9 100644
--- a/i386/i386/cpuboot.S
+++ b/i386/i386/cpuboot.S
@@ -165,6 +165,13 @@ nopae:
pushl stack_ptr
+ //flush_instr_queue
+ jmp 0f
+0:
+ //flush_tlb();
+ mov %cr3, %eax
+ mov %eax, %cr3
+
call cpu_ap_main
cli