diff options
author | 2009-01-07 01:36:43 +0000 | |
---|---|---|
committer | 2009-01-07 01:36:43 +0000 | |
commit | 3dba898f8cb39f570f10253f14f022cadcd4b2c2 (patch) | |
tree | 2a68e30eedd1485ed7434e8382a38a5c73edf1db | |
parent | declare bwi_modtype enum before it is used in function prototypes. (diff) | |
download | wireguard-openbsd-3dba898f8cb39f570f10253f14f022cadcd4b2c2.tar.xz wireguard-openbsd-3dba898f8cb39f570f10253f14f022cadcd4b2c2.zip |
The E asm constraint refers to an immediate floating operand
and isn't what we want here.
ok weingart@ drahn@
-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); |