We have several ways to execute option ROMs, one using the realmode of the CPU (under the misleading name VM86) and two x86 emulators (x86emu and yabel). All of them also provide some BIOS
services
(interrupts) to make the option ROMs happy, but sometimes the VGABIOS
requires some
special calls that must be added to them.
Yes, well any pointers to good (working!) coreboot friendly examples ? I already have a real mode execution environment which I don't want to have to tinker with too much.
FYI, Yabel works very very well if you need actions to take place based on certian calls(interrupts) from the option rom. It is also great for debugging option roms to find out exactly what calls it is making.
Why re-invent the wheel???