Modified: coreboot-v3/util/x86emu/vm86.c Log: This patch makes the vm86 call succeed. It
- moves the run_bios function down so it can call setup_realmode_idt
- adds the __attribute__((regnum(0))) to biosint because it is called from
assembly
Anybody who wants to test this in SimNOW either needs to unshare pci and printk, or remove calls into the ROM while the VGA ROM is running. Otherwise when the ROM gets sized, your code disappears.
Signed-off-by: Myles Watson mylesgw@gmail.com
Thanks, Myles