summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-07 01:08:18 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-07 01:08:18 +0000
commitfc9619436dca1fdd419bf87739605ee8687a1bd5 (patch)
tree7cab2c184c6e9b73aa524baeba95b415d8ebd82e
parentf084ccf28af42d8c7d8733c6f2d42c7de1a0700a (diff)
right DOINT for C
-rw-r--r--sys/arch/i386/include/biosvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/biosvar.h b/sys/arch/i386/include/biosvar.h
index e19ee16a37f..f2546bec12e 100644
--- a/sys/arch/i386/include/biosvar.h
+++ b/sys/arch/i386/include/biosvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosvar.h,v 1.5 1997/08/05 17:45:55 mickey Exp $ */
+/* $OpenBSD: biosvar.h,v 1.6 1997/08/07 01:08:17 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -197,7 +197,7 @@
#ifdef _LOCORE
#define DOINT(n) int $0x20+(n)
#else
-#define BIOSINT(n) __asm ((int $0x20+(n)))
+#define DOINT(n) "int $0x20+(" #n ")"
extern struct BIOS_regs {
u_int32_t biosr_ax;