Module Name: src
Committed By: joerg
Date: Fri May 20 13:33:11 UTC 2011
Modified Files:
src/sys/arch/amd64/amd64: busfunc.S
Log Message:
The %dx argument of in/out is not a memory reference, so don't use it as
such.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/amd64/amd64/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/amd64/amd64/busfunc.S
diff -u src/sys/arch/amd64/amd64/busfunc.S:1.9 src/sys/arch/amd64/amd64/busfunc.S:1.10
--- src/sys/arch/amd64/amd64/busfunc.S:1.9 Wed May 5 16:53:57 2010
+++ src/sys/arch/amd64/amd64/busfunc.S Fri May 20 13:33:11 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: busfunc.S,v 1.9 2010/05/05 16:53:57 dyoung Exp $ */
+/* $NetBSD: busfunc.S,v 1.10 2011/05/20 13:33:11 joerg Exp $ */
/*-
* Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
@@ -170,7 +170,7 @@
movq %rcx, %rdi
movq %r8, %rcx
rep
- insb (%dx), %es:(%rdi)
+ insb %dx, %es:(%rdi)
ret
.align 16
1:
@@ -192,7 +192,7 @@
movq %rcx, %rdi
movq %r8, %rcx
rep
- insw (%dx), %es:(%rdi)
+ insw %dx, %es:(%rdi)
ret
.align 16
1:
@@ -214,7 +214,7 @@
movq %rcx, %rdi
movq %r8, %rcx
rep
- insl (%dx), %es:(%rdi)
+ insl %dx, %es:(%rdi)
ret
.align 16
1:
@@ -258,7 +258,7 @@
movq %rcx, %rsi
movq %r8, %rcx
rep
- outsb %ds:(%rsi), (%dx)
+ outsb %ds:(%rsi), %dx
ret
.align 16
1:
@@ -280,7 +280,7 @@
movq %rcx, %rsi
movq %r8, %rcx
rep
- outsw %ds:(%rsi), (%dx)
+ outsw %ds:(%rsi), %dx
ret
.align 16
1:
@@ -302,7 +302,7 @@
movq %rcx, %rsi
movq %r8, %rcx
rep
- outsl %ds:(%rsi), (%dx)
+ outsl %ds:(%rsi), %dx
ret
.align 16
1: