<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;"><div><div class="Wj3C7c">
> Whatever calling sequence you choose, please put the required attribute<br>
> for any function that needs something specific in the declaration for<br>
> that function (in a header file).  This includes any function<br>
> implemented<br>
> in assembler (except those without arguments at all).<br>
><br>
> This will save you a lot of headaches ;-)<br>
<br>
</div></div>I appreciate the clarification.<br>
<br>
Thanks,<br>
<font color="#888888">Myles<br>
<br>
</font></blockquote></div>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>Signed-off-by: Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>><br><br>Thanks,<br>Myles<br>