summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-09-02 20:36:58 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-09-02 20:36:58 +0000
commit3eda24647132709cb951ff958966e14cab8a9a09 (patch)
tree835f736bf94e2c3d328e0143534f3234fb4911f6 /sys/arch/i386/stand
parent569094704e6331136811debd0874eb5d5ca77ee4 (diff)
don't use direct regnames
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r--sys/arch/i386/stand/libsa/bioscons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/bioscons.c b/sys/arch/i386/stand/libsa/bioscons.c
index bc75de64d00..a495898418a 100644
--- a/sys/arch/i386/stand/libsa/bioscons.c
+++ b/sys/arch/i386/stand/libsa/bioscons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioscons.c,v 1.7 1997/08/31 06:56:39 mickey Exp $ */
+/* $OpenBSD: bioscons.c,v 1.8 1997/09/02 20:36:57 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -75,7 +75,7 @@ pc_getc(dev)
register int rv;
if (dev & 0x80) {
- __asm __volatile(DOINT(0x16) "; setnz %%al" : "=a" (rv) :
+ __asm __volatile(DOINT(0x16) "; setnz %b0" : "=a" (rv) :
"0" (0x100) : "%ecx", "%edx", "cc" );
return (rv & 0xff);
}