On Wed, 17 Apr 2002, Stefan Reinauer wrote:

> i stripped down inthandler.c so testbios branches into the
> specific intXX_handler function. This works fine, but leads
> to the next problem, which has already been discussed on this list.

I sleazed it out to keep things simple. I have int handler stuff from the
X11 stuff that just does direct I/O. In the program I do an iopl(3) (you
probably saw this)

> Which is the way to be approached for accessing PCI registers
> from intXX functions?

I think we just stick with direct I/O, but in linuxbios we can always call
linuxbios functions (see src/bios/bioscall.c for int1a support that has
been tested and works).

> Has anyone played with loading several elf payloads in a row?

this begins to look perilously like an operating system ... several elf
payloads in a row ... oh boy. It worries me.

if we go down the path this far we ought to see about putting a really
small OS in there. It's a shame linux no longer qualifies as a "really
small" OS.

ron

Reply via email to