diff options
author | dg <dg@FreeBSD.org> | 1995-01-04 20:42:25 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-01-04 20:42:25 +0000 |
commit | c34fd64cc9123e3fa8aff99b762eb2c3895183de (patch) | |
tree | 316aed2ec0135ce932f5515a1d93d0d72408a4b9 /sys/i386/include | |
parent | 1b1f429a90ce5fbf108b85030fe54731b6874ef8 (diff) | |
download | FreeBSD-src-c34fd64cc9123e3fa8aff99b762eb2c3895183de.zip FreeBSD-src-c34fd64cc9123e3fa8aff99b762eb2c3895183de.tar.gz |
Corrected the list of volatile registers for outsb, outsw, and outsl.
This bug caused my ethernet driver to break, among other things no doubt.
Diffstat (limited to 'sys/i386/include')
-rw-r--r-- | sys/i386/include/cpufunc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h index 9dd0bf0..f678863 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 |