[SeaBIOS] Adapt SeaBIOS USB to my own OS

dunedain1990 dunedain1990 at gmail.com
Mon Aug 19 19:18:00 CEST 2013


Hi again,

Anyone know which is the usb-uhci irq in bochs? Which is the file that
configure the irq?

Thnxs again


2013/8/8 Kevin O'Connor <kevin at koconnor.net>

> On Tue, Aug 06, 2013 at 10:09:32PM +0200, dunedain1990 wrote:
> > Hi,
> >
> > I'm doing my own OS and i'm booting it from USB uhci. When it boots and
> it
> > arrives to the system code i want reading and writing from USB.
> >
> > First of all i take the usb.c, util.c, usb.h, usb_uhci.c, usb_uhci.h,
> > pci.c, pci.h, pciinit.c,... and put it into my sources and i compile it
> but
> > i need the romlayout.S that depends directly from bios's idt and not from
> > the idt from my OS.
> >
> > How can i do that?
> >
> > Do i need to call pci_setup() or something in the initialization of my
> own
> > OS?
> >
> > Are there some documentation to know how are the files connected and what
> > do the functions do?
>
> The SeaBIOS code isn't intended to be pulled out and used in other
> projects - there is a lot of code to handle BIOS quirks.  I'm not sure
> why you'd want to re-use this code either - if you're working on code
> that will run in 16bit mode, you might as well just call the bios for
> read/writes to the disk, and if you're working on 32bit code, there
> are probably better references (eg, linux, freebsd, etc.).
>
> -Kevin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.seabios.org/pipermail/seabios/attachments/20130819/e635395a/attachment.html>


More information about the SeaBIOS mailing list