004bedeb68
Alphabetize. Write all i/o functions in sleep so that we don't use anything from NetBSD. Restore the correct type of u_int for ports. This saves a whole cycle per i/o on 486's. Change `inline' back to __inline to avoid compiler warnings with -Wreally-all. Don't implement bdb() unless BDE_DEBUGGER is defined. Declare bdb_exists outside the function to avoid hundreds of compiler warnings. Let the compiler pick the register in asms if possible. Implement ffs() using inline asm(). gcc provides a slightly different one. It was broken in gcc-2.4.5 but works now. Declaring a correct version inline ensures getting a correct version. FreeBSD-1.1.5 has an slow inline version but FreeBSD-2.0 has a library version (which probably never gets used). Do inb() and outb() without using %edx for constant ports below 0x100. Remove casts to the same type in queue functions. Declare prototypes for everything implemented i386/*.s and also for everything that is normally implemented as an inline here (I don't like the current complete dependency on gcc). Ifdef out the prototypes that are declared elsewhere. THere should be a separate header to declare things implemented in i386/*.s, but then it would be harder to override declarations with inlines. ${UII} |
||
---|---|---|
.. | ||
pc | ||
_limits.h | ||
ansi.h | ||
apm_bios.h | ||
apm_segments.h | ||
asmacros.h | ||
bootinfo.h | ||
clock.h | ||
cons.h | ||
console.h | ||
cpu.h | ||
cpufunc.h | ||
cputypes.h | ||
db_machdep.h | ||
devconf.h | ||
dkio.h | ||
eflags.h | ||
endian.h | ||
exec.h | ||
float.h | ||
floatingpoint.h | ||
frame.h | ||
ieeefp.h | ||
ioctl_ctx.h | ||
ioctl_fd.h | ||
ioctl_pc.h | ||
ipl.h | ||
limits.h | ||
lpt.h | ||
mouse.h | ||
mtpr.h | ||
npx.h | ||
param.h | ||
pcaudioio.h | ||
pcb.h | ||
pio.h | ||
pmap.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
reloc.h | ||
segments.h | ||
signal.h | ||
soundcard.h | ||
speaker.h | ||
specialreg.h | ||
spl.h | ||
stdarg.h | ||
sysarch.h | ||
trap.h | ||
tss.h | ||
types.h | ||
ultrasound.h | ||
varargs.h | ||
vmparam.h |