| Commit message (Collapse) | Author | Files | Lines |
|
based on patches by orc and Isaac Dunham, with some fixes. sys/io.h
exists and contains prototypes for these functions regardless of
whether the target arch has them; this is a bit unorthodox but I don't
think it will break anything. the function definitions do not exist
unless the appropriate SYS_* syscall number macro is defined, which
should make sure configure scripts looking for these functions don't
find them on other systems.
presently, sys/io.h does not have the inb/outb/etc. port io
macros/functions. I'd be surprised if ioperm/iopl are useful without
them, so they probably need to be added at some point in appropriate
bits/io.h files...
|
|
based on patches by orc and Isaac Dunham.
|
|
based on patch by orc and Isaac Dunham, with some fixes.
|
|
based on patch by orc and Isaac Dunham, with some details fixed.
|
|
|
|
|
|
|
|
128 is the size in bytes, not longs.
|
|
also fix the alignment of jmp_buf to meet the abi. linux always
emulates fpu on mips if it's not present, so enabling this code
unconditionally is "safe" but may be slow. in the long term it may be
preferable to find a way to disable it on soft float builds.
|
|
untested but should be correct..
|
|
|
|
|
|
not sure this is the best fix but it should work
|
|
|
|
use the main program's PT_INTERP header if possible, since this is
sure to be a correct (and hopefully absolute) pathname.
|
|
sc was overwriting the result
|