First Driver Loaded

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
B.E

First Driver Loaded

Post by B.E »

I Done a FDC i/o driver file. Should I load the driver before I load my kernal or after.
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:First Driver Loaded

Post by bubach »

I suggest that you load the FDC driver at the same time as the kernel (in the bootloader/GRUB), as the kernel could have a hard time loading your FDC driver without a FDC driver.. ;)
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:First Driver Loaded

Post by Solar »

In case you're using GRUB as a bootloader, check out the module loader support: GRUB can load multiple binary modules in addition to your kernel image, and pass the kernel the addresses of those modules in the Multiboot data structure.
Every good solution is obvious once you've found it.
Post Reply