aboutsummaryrefslogtreecommitdiff
path: root/vgasrc
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-12-09 20:30:30 -0500
committerKevin O'Connor <kevin@koconnor.net>2013-12-09 20:39:16 -0500
commitfeb0284e3737631a19e3f7a1c1097b8c6b40fb2f (patch)
tree13ea5d1d5ee55b6e434d92a26654c4177dd7c156 /vgasrc
parent41c6061d36628d1f920616ed5662e0e697278587 (diff)
downloadseabios-hppa-feb0284e3737631a19e3f7a1c1097b8c6b40fb2f.zip
seabios-hppa-feb0284e3737631a19e3f7a1c1097b8c6b40fb2f.tar.gz
seabios-hppa-feb0284e3737631a19e3f7a1c1097b8c6b40fb2f.tar.bz2
Small improvements to irqentry_extrastack assembler.
Simplify the entry assembler slightly. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc')
-rw-r--r--vgasrc/vgaentry.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/vgasrc/vgaentry.S b/vgasrc/vgaentry.S
index a5622b8..9854448 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)