Re: Exposing ROM's though sysfs

Jesse Barnes
2004-08-04T00:57:35Z

On Tuesday, August 3, 2004 2:41 pm, Benjamin Herrenschmidt wrote:
> > emu86 is rather buggy. It can't boot C&T BIOSes for example. qemu might
> > be a better engine for this anyway in truth.
>
> And I like the idea of chosing a solution that won't limit us to x86 hosts
> anyway ;)

Yeah, me too!

> With proper support from the "VGA arbitration driver" that Jon talked about
> earlier, that should be quite portable, the kernel driver doing the job of
> providing PIO accessors to VGA space and mmap functionality for VGA memory
> hole if it exist (can modern cards be POST'ed with an x86 BIOS on machines
> that won't let you access any VGA memory hole, that is that won't let you
> generate PCI memory cycles to low addresses that overlap RAM ? If yes, then
> pmacs would be able to soft-boot x86 cards that way).

So you can do port I/O on low addresses but not memory accesses? For some
cards simply throwing away reads and writes to the low memory area is
probably ok since it'll just be doing things like printing a BIOS banner or a
pretty logo. But then again, I've never disassembled one so I can't be sure.
Alan would probably know though :)

If you can't do legacy port I/O on a given bus though, I think you'd be out of
luck wrt POSTing a card with an x86 BIOS.

Jesse