Module Name: src Committed By: joerg Date: Fri May 20 13:17:12 UTC 2011
Modified Files: src/sys/arch/i386/i386: busfunc.S Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/i386/i386/busfunc.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/i386/i386/busfunc.S diff -u src/sys/arch/i386/i386/busfunc.S:1.7 src/sys/arch/i386/i386/busfunc.S:1.8 --- src/sys/arch/i386/i386/busfunc.S:1.7 Wed May 5 17:42:19 2010 +++ src/sys/arch/i386/i386/busfunc.S Fri May 20 13:17:12 2011 @@ -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