fe51f65739
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} |
||
---|---|---|
.. | ||
amd64 | ||
conf | ||
include | ||
isa | ||
Makefile |