Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 The %dx argument for in/out is not a memo...



details:   https://anonhg.NetBSD.org/src/rev/1bd46b95b6f6
branches:  trunk
changeset: 765158:1bd46b95b6f6
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri May 20 13:17:12 2011 +0000

description:
The %dx argument for in/out is not a memory reference, so don't use the
"feature" of GNU as to hide it as such.

diffstat:

 sys/arch/i386/i386/busfunc.S |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r b3326ea76b23 -r 1bd46b95b6f6 sys/arch/i386/i386/busfunc.S
--- a/sys/arch/i386/i386/busfunc.S      Fri May 20 13:11:40 2011 +0000
+++ b/sys/arch/i386/i386/busfunc.S      Fri May 20 13:17:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: busfunc.S,v 1.7 2010/05/05 17:42:19 dyoung Exp $       */
+/*     $NetBSD: busfunc.S,v 1.8 2011/05/20 13:17:12 joerg Exp $        */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: busfunc.S,v 1.7 2010/05/05 17:42:19 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: busfunc.S,v 1.8 2011/05/20 13:17:12 joerg Exp $");
 
 #include "assym.h"
 
@@ -157,7 +157,7 @@
        movl    24(%esp), %ecx
        jne     1f
        rep
-       insb    (%dx), %es:(%edi)
+       insb    %dx, %es:(%edi)
        popl    %edi
        ret
        .align  16
@@ -184,7 +184,7 @@
        movl    24(%esp), %ecx
        jne     1f
        rep
-       insw    (%dx), %es:(%edi)
+       insw    %dx, %es:(%edi)
        popl    %edi
        ret
        .align  16
@@ -211,7 +211,7 @@
        movl    24(%esp), %ecx
        jne     1f
        rep
-       insl    (%dx), %es:(%edi)
+       insl    %dx, %es:(%edi)
        popl    %edi
        ret
        .align  16
@@ -242,7 +242,7 @@
        movl    24(%esp), %ecx
        jne     1f
        rep
-       outsb   %ds:(%esi), (%dx)
+       outsb   %ds:(%esi), %dx
        popl    %esi
        ret
        .align  16
@@ -269,7 +269,7 @@
        movl    24(%esp), %ecx
        jne     1f
        rep
-       outsw   %ds:(%esi),(%dx)
+       outsw   %ds:(%esi), %dx
        popl    %esi
        ret
        .align  16
@@ -296,7 +296,7 @@
        movl    24(%esp), %ecx
        jne     1f
        rep
-       outsl   %ds:(%esi),(%dx)
+       outsl   %ds:(%esi), %dx
        popl    %esi
        ret
        .align  16



Home | Main Index | Thread Index | Old Index