Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/efiboot/bootx64 Fix operand width



details:   https://anonhg.NetBSD.org/src/rev/412a9f9df955
branches:  trunk
changeset: 821417:412a9f9df955
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 04 16:14:27 2017 +0000

description:
Fix operand width

diffstat:

 sys/arch/i386/stand/efiboot/bootx64/startprog64.S |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r de74f4275562 -r 412a9f9df955 sys/arch/i386/stand/efiboot/bootx64/startprog64.S
--- a/sys/arch/i386/stand/efiboot/bootx64/startprog64.S Sat Feb 04 16:14:04 2017 +0000
+++ b/sys/arch/i386/stand/efiboot/bootx64/startprog64.S Sat Feb 04 16:14:27 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: startprog64.S,v 1.1 2017/01/24 11:09:14 nonaka Exp $   */
+/*     $NetBSD: startprog64.S,v 1.2 2017/02/04 16:14:27 christos Exp $ */
 /*     NetBSD: startprog.S,v 1.3 2003/02/01 14:48:18 dsl Exp   */
 
 /* starts program in protected mode / flat space
@@ -110,11 +110,11 @@
        .code32
 start32a:
        movl    $DATA_SEGMENT, %eax
-       movw    %eax, %ds
-       movw    %eax, %es
-       movw    %eax, %fs
-       movw    %eax, %gs
-       movw    %eax, %ss
+       movw    %ax, %ds
+       movw    %ax, %es
+       movw    %ax, %fs
+       movw    %ax, %gs
+       movw    %ax, %ss
 
        movl    %edx, %esp
 



Home | Main Index | Thread Index | Old Index