[SeaBIOS] Adapt SeaBIOS USB to my own OS

dunedain1990 dunedain1990 at gmail.com
Tue Aug 6 22:09:32 CEST 2013


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?


2013/8/6 dunedain1990 <dunedain1990 at gmail.com>

> 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 read and write 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 idt of the bios and not
> from the idt from my OS.
>
> How can i do that?
>
> There are documentation for know how the files are connected and functions
> do?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.seabios.org/pipermail/seabios/attachments/20130806/628c14c7/attachment.html>


More information about the SeaBIOS mailing list