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@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?