aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc/vgaentry.S
diff options
context:
space:
mode:
Diffstat (limited to 'vgasrc/vgaentry.S')
-rw-r--r--vgasrc/vgaentry.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/vgasrc/vgaentry.S b/vgasrc/vgaentry.S
index a5622b8a..98544488 100644
--- a/vgasrc/vgaentry.S
+++ b/vgasrc/vgaentry.S
@@ -84,8 +84,7 @@ entry_10_extrastack:
cld
pushw %ds // Set %ds:%eax to space on ExtraStack
pushl %eax
- movzwl %cs:ExtraStackSeg, %eax
- movl %eax, %ds
+ movw %cs:ExtraStackSeg, %ds
movl $(CONFIG_VGA_EXTRA_STACK_SIZE-BREGS_size-8), %eax
popl BREGS_eax(%eax) // Backup registers
popw BREGS_ds(%eax)