freebsd-skq/sys/i386/include
Paul Richards bffa0592e2 I've disabled this piece of code since it's what's
hosing syscons. Doesn anyone know anything about this
or can we just delete it now?

/*
 * This roundabout method of returning a u_char helps stop gcc-1.40 from
 * generating unnecessary movzbl's.
 */
#ifdef disable_for_gcc-2_6_0
#define inb(port)       ((u_char) u_int_inb(port))
#endif

static inline u_int
u_int_inb(u_int port)
{
        u_char  data;
        /*
         * We use %%dx and not %1 here because i/o is done at %dx and
not at
         * %edx, while gcc-2.2.2 generates inferior code (movw instead
of movl)
         * if we tell it to load (u_short) port.
         */
        __asm __volatile("inb %%dx,%0" : "=a" (data) : "d" (port));
        return data;
}

Reviewed by:
Submitted by:
1994-08-23 11:57:19 +00:00
..
pc Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 14:40:57 +00:00
_limits.h Added $Id$ 1994-08-02 07:55:43 +00:00
ansi.h Added $Id$ 1994-08-02 07:55:43 +00:00
asmacros.h 1. Make this idempotent. 1994-08-19 11:20:11 +00:00
cons.h Added $Id$ 1994-08-02 07:55:43 +00:00
console.h Updated to latest version from 1.1.5.1+ 1994-08-17 08:51:10 +00:00
cpu.h Change all #includes to follow the current Berkeley style. Some of these 1994-08-13 03:50:34 +00:00
cpufunc.h I've disabled this piece of code since it's what's 1994-08-23 11:57:19 +00:00
cputypes.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
db_machdep.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
dkio.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
eflags.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 14:40:57 +00:00
endian.h adding libc/quad: 1993-12-19 05:14:46 +00:00
exec.h Merge in the necessary bits from 1.1.5.1 to make exec.h and reloc.h 1994-08-09 14:39:57 +00:00
float.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
floatingpoint.h Move ieeefp.h over, and put it in the correct subdirectory this time. 1994-08-04 19:16:37 +00:00
frame.h The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. 1994-05-25 09:21:21 +00:00
ieeefp.h Delete redundant #ifdef __i386__, be consistent about idempotency 1994-08-05 14:36:04 +00:00
ioctl_fd.h Added $Id$ 1994-08-02 07:55:43 +00:00
ioctl_pc.h >From Theo Derradt 1993-09-08 19:29:54 +00:00
ipl.h Added $Id$ 1994-08-02 07:55:43 +00:00
limits.h Added $Id$ 1994-08-02 07:55:43 +00:00
lpt.h Added $Id$ 1994-08-02 07:55:43 +00:00
mtpr.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 14:40:57 +00:00
npx.h Submitted by: Bruce Evans 1994-08-14 23:32:45 +00:00
param.h The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. 1994-05-25 09:21:21 +00:00
pcaudioio.h Added prober Id string 1994-05-20 12:22:40 +00:00
pcb.h Change all #includes to follow the current Berkeley style. Some of these 1994-08-13 03:50:34 +00:00
pio.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
pmap.h Fix up some sloppy coding practices: 1994-08-18 22:36:09 +00:00
proc.h The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. 1994-05-25 09:21:21 +00:00
profile.h Made idempotent. 1994-08-21 04:55:31 +00:00
psl.h Add back in CPU detection copde from 1.1.5. As an added bonus, the 1994-08-10 03:51:18 +00:00
pte.h The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. 1994-05-25 09:21:21 +00:00
ptrace.h Added $Id$ 1994-08-02 07:55:43 +00:00
reg.h The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. 1994-05-25 09:21:21 +00:00
reloc.h Made idempotent. 1994-08-21 04:55:31 +00:00
segments.h WINE/user LDT support from John Brezak, ported to FreeBSD by Jeffrey Hsu 1994-01-31 10:27:13 +00:00
signal.h Made idempotent. 1994-08-21 04:55:31 +00:00
soundcard.h Made idempotent. 1994-08-21 04:55:31 +00:00
speaker.h Added $Id$ 1994-08-02 07:55:43 +00:00
specialreg.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
spl.h Enable use of the RTC chip for the statistical clock. While this does 1994-08-15 03:15:20 +00:00
stdarg.h Added $Id$ 1994-08-02 07:55:43 +00:00
sysarch.h Added $Id$ 1994-08-02 07:55:43 +00:00
trap.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
tss.h Fixed comments that start within a comment, so code compiles cleanly with 1993-11-17 23:25:28 +00:00
types.h Added $Id$ 1994-08-02 07:55:43 +00:00
ultrasound.h Added $Id$ 1994-08-02 07:55:43 +00:00
varargs.h Added $Id$ 1994-08-02 07:55:43 +00:00
vmparam.h The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. 1994-05-25 09:21:21 +00:00