<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Modified:<br>
   coreboot-v3/util/x86emu/vm86.c<br>
Log:<br>
This patch makes the vm86 call succeed. It<br>
1. moves the run_bios function down so it can call setup_realmode_idt<br>
2. adds the __attribute__((regnum(0))) to biosint because it is called from assembly<br>
<br></blockquote></div><br>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.<br>
<br>Signed-off-by: Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>><br><br>Thanks,<br>Myles<br>