summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-04-27 23:05:30 +0200
committerAlmuHS <almuhs@github.com>2019-04-27 23:05:30 +0200
commit94e74f0574ee72252701adac884c1f254c67f1dd (patch)
treecf07151b567cbc87f4d382fa767c771d569debeb
parent7d684514ae1160c7d7f806ab58659ce978cff3b3 (diff)
experiment: disable registers initialization
-rw-r--r--i386/i386/cpuboot.S18
1 files changed, 9 insertions, 9 deletions
diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S
index 4809fb57..6e67c9ad 100644
--- a/i386/i386/cpuboot.S
+++ b/i386/i386/cpuboot.S
@@ -78,15 +78,15 @@ _apboot:
ljmp $KERNEL_CS, $0f
0:
- movw $0,%ax
- movw %ax,%ds
- movw %ax,%es
- movw %ax,%fs
- movw %ax,%gs
- movw $KERNEL_DS,%ax
- movw %ax,%ds
- movw %ax,%es
- movw %ax,%ss
+/* movw $0,%ax*/
+/* movw %ax,%ds*/
+/* movw %ax,%es*/
+/* movw %ax,%fs*/
+/* movw %ax,%gs*/
+/* movw $KERNEL_DS,%ax*/
+/* movw %ax,%ds*/
+/* movw %ax,%es*/
+/* movw %ax,%ss*/
movl stack_ptr, %esp
addl $STACK_SIZE, %esp