diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-01-07 01:36:44 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-01-07 01:36:44 +0000 |
commit | 488f49106924d0e2ef44eaa69d611305bdc2e2eb (patch) | |
tree | 308eef6327c8e6f991138857baaee84ed162e1df /sys/arch/i386 | |
parent | 78eb48162a5435cd91287852474c56af807c478c (diff) |
The E asm constraint refers to an immediate floating operand
and isn't what we want here.
ok weingart@ drahn@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/bus_space.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/bus_space.c b/sys/arch/i386/i386/bus_space.c index 58d03ad95d4..d5fec655809 100644 --- a/sys/arch/i386/i386/bus_space.c +++ b/sys/arch/i386/i386/bus_space.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_space.c,v 1.2 2008/12/03 15:46:06 oga Exp $ */ +/* $OpenBSD: bus_space.c,v 1.3 2009/01/07 01:36:43 jsg Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. * All rights reserved. @@ -523,7 +523,7 @@ bus_space_copy_2(bus_space_tag_t t, bus_space_handle_t h1, bus_size_t o1, " addl $2, %0 ;" " addl $2, %1 ;" " loop 1b" : - "+D" (_port2), "+ES" (_port1), "+c" (_cnt) :: + "+D" (_port2), "+S" (_port1), "+c" (_cnt) :: "%edx", "%eax", "cc"); } else i386_space_copy(_port1, _port2, 2, _cnt); @@ -546,7 +546,7 @@ bus_space_copy_4(bus_space_tag_t t, bus_space_handle_t h1, bus_size_t o1, " addl $4, %0 ;" " addl $4, %1 ;" " loop 1b" : - "+D" (_port2), "+ES" (_port1), "+c" (_cnt) :: + "+D" (_port2), "+S" (_port1), "+c" (_cnt) :: "%edx", "%eax", "cc"); } else i386_space_copy(_port1, _port2, 4, _cnt); |