aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/include/cpufunc.h8
-rw-r--r--sys/i386/include/cpufunc.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/amd64/include/cpufunc.h b/sys/amd64/include/cpufunc.h
index 9dd0bf035b5c..f678863ec1c4 100644
--- a/sys/amd64/include/cpufunc.h
+++ b/sys/amd64/include/cpufunc.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cpufunc.h,v 1.29 1994/11/14 15:04:06 bde Exp $
+ * $Id: cpufunc.h,v 1.30 1994/11/15 14:55:25 bde Exp $
*/
/*
@@ -219,7 +219,7 @@ outsb(u_int port, void *addr, size_t cnt)
{
__asm __volatile("cld; rep; outsb"
: : "d" (port), "S" (addr), "c" (cnt)
- : "di", "cx");
+ : "si", "cx");
}
static __inline void
@@ -227,7 +227,7 @@ outsw(u_int port, void *addr, size_t cnt)
{
__asm __volatile("cld; rep; outsw"
: : "d" (port), "S" (addr), "c" (cnt)
- : "di", "cx");
+ : "si", "cx");
}
static __inline void
@@ -235,7 +235,7 @@ outsl(u_int port, void *addr, size_t cnt)
{
__asm __volatile("cld; rep; outsl"
: : "d" (port), "S" (addr), "c" (cnt)
- : "di", "cx");
+ : "si", "cx");
}
static __inline void
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h
index 9dd0bf035b5c..f678863ec1c4 100644
--- a/sys/i386/include/cpufunc.h
+++ b/sys/i386/include/cpufunc.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cpufunc.h,v 1.29 1994/11/14 15:04:06 bde Exp $
+ * $Id: cpufunc.h,v 1.30 1994/11/15 14:55:25 bde Exp $
*/
/*
@@ -219,7 +219,7 @@ outsb(u_int port, void *addr, size_t cnt)
{
__asm __volatile("cld; rep; outsb"
: : "d" (port), "S" (addr), "c" (cnt)
- : "di", "cx");
+ : "si", "cx");
}
static __inline void
@@ -227,7 +227,7 @@ outsw(u_int port, void *addr, size_t cnt)
{
__asm __volatile("cld; rep; outsw"
: : "d" (port), "S" (addr), "c" (cnt)
- : "di", "cx");
+ : "si", "cx");
}
static __inline void
@@ -235,7 +235,7 @@ outsl(u_int port, void *addr, size_t cnt)
{
__asm __volatile("cld; rep; outsl"
: : "d" (port), "S" (addr), "c" (cnt)
- : "di", "cx");
+ : "si", "cx");
}
static __inline void