summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-04-27 23:08:46 +0200
committerAlmuHS <almuhs@github.com>2019-04-27 23:08:46 +0200
commit2ee898da91760b5ee0a824dd6df4b90ed397d4cd (patch)
tree87f4790da0ecfd5f83b5a22817c38118f4183586
parent4a62810317de42bc53109d90da05f9aba72d02c2 (diff)
Revert "experiment: disable registers initialization"
This reverts commit 94e74f0574ee72252701adac884c1f254c67f1dd.
-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 6e67c9ad..4809fb57 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