<div dir="ltr"><div>Hi again,<br><br></div><div>Anyone know which is the usb-uhci irq in bochs? Which is the file that configure the irq?<br><br></div><div>Thnxs again<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/8/8 Kevin O'Connor <span dir="ltr"><<a href="mailto:kevin@koconnor.net" target="_blank">kevin@koconnor.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Aug 06, 2013 at 10:09:32PM +0200, dunedain1990 wrote:<br>
> Hi,<br>
><br>
> I'm doing my own OS and i'm booting it from USB uhci. When it boots and it<br>
> arrives to the system code i want reading and writing from USB.<br>
><br>
> First of all i take the usb.c, util.c, usb.h, usb_uhci.c, usb_uhci.h,<br>
> pci.c, pci.h, pciinit.c,... and put it into my sources and i compile it but<br>
> i need the romlayout.S that depends directly from bios's idt and not from<br>
> the idt from my OS.<br>
><br>
> How can i do that?<br>
><br>
> Do i need to call pci_setup() or something in the initialization of my own<br>
> OS?<br>
><br>
> Are there some documentation to know how are the files connected and what<br>
> do the functions do?<br>
<br>
</div>The SeaBIOS code isn't intended to be pulled out and used in other<br>
projects - there is a lot of code to handle BIOS quirks.  I'm not sure<br>
why you'd want to re-use this code either - if you're working on code<br>
that will run in 16bit mode, you might as well just call the bios for<br>
read/writes to the disk, and if you're working on 32bit code, there<br>
are probably better references (eg, linux, freebsd, etc.).<br>
<span class="HOEnZb"><font color="#888888"><br>
-Kevin<br>
</font></span></blockquote></div><br></div>