diff options
author | AlmuHS <almuhs@github.com> | 2019-04-27 22:51:35 +0200 |
---|---|---|
committer | AlmuHS <almuhs@github.com> | 2019-04-27 22:51:35 +0200 |
commit | cdb66e05096048be27aa645c565460a6fa9314f3 (patch) | |
tree | f6ef3663017d1d20a7b4838b5cca1dec9fb3c784 | |
parent | 1881b7ae078dd487ed9797d2a841eb49f1cf4a06 (diff) |
undone KERNEL_DS in beginning
-rw-r--r-- | i386/i386/cpuboot.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S index d3151153..4809fb57 100644 --- a/i386/i386/cpuboot.S +++ b/i386/i386/cpuboot.S @@ -62,12 +62,12 @@ _apboot: or $0x1, %eax mov %eax, %cr0 - ljmp $KERNEL_CS, $M(0f) + ljmp $0x8, $M(0f) 0: .code32 - mov $KERNEL_DS, %eax + mov $0x10, %eax mov %ax, %ds mov %ax, %es mov %ax, %ss @@ -83,7 +83,7 @@ _apboot: movw %ax,%es movw %ax,%fs movw %ax,%gs - movw $16,%ax + movw $KERNEL_DS,%ax movw %ax,%ds movw %ax,%es movw %ax,%ss |