Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/amd64 Be more explicit that the "w" part of %...



details:   https://anonhg.NetBSD.org/src/rev/2a6a37d4cd79
branches:  trunk
changeset: 765165:2a6a37d4cd79
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri May 20 13:32:35 2011 +0000

description:
Be more explicit that the "w" part of %r11 is meant.

diffstat:

 sys/arch/amd64/amd64/locore.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r c5080fe67a70 -r 2a6a37d4cd79 sys/arch/amd64/amd64/locore.S
--- a/sys/arch/amd64/amd64/locore.S     Fri May 20 13:22:53 2011 +0000
+++ b/sys/arch/amd64/amd64/locore.S     Fri May 20 13:32:35 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.64 2010/12/20 00:25:24 matt Exp $ */
+/*     $NetBSD: locore.S,v 1.65 2011/05/20 13:32:35 joerg Exp $        */
 
 /*
  * Copyright-o-rama!
@@ -1132,8 +1132,8 @@
        swapgs
 #endif
        INTR_RESTORE_GPRS
-       movw    $(LSEL(LUDATA_SEL, SEL_UPL)),%r11
-       movw    %r11,%ds
+       movw    $(LSEL(LUDATA_SEL, SEL_UPL)), %r11w
+       movw    %r11w,%ds
        addq    $TF_REGSIZE+16,%rsp     /* + T_xxx and error code */
 #ifndef XEN
        popq    %rcx    /* return rip */



Home | Main Index | Thread Index | Old Index