Drivers

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
Matt

Drivers

Post by Matt »

I'm just wondering, How would I use a graphics driver (like FreeVB/AF or xfree86 or something) with my kernel. For example, I have a freevb/af driver (thats just one file). Is it possible for me to just link that driver with my other kernel objects so Its built into my kernel? Or would I have to get the output objects (instead of the all-ready linked driver) and link up those object files with my kernel object files to create the kernel?

[glow=red,2,300]Thanks :)[/glow]
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Drivers

Post by Pype.Clicker »

hmm ... i'm afraid it's going to be more complicated that just linking: the driver you have is likely to rely on some OS service for memory allocation, synchronization, resources accounting, etc. before just linking, you'll have to provide at least some GLU code to wrap driver calls to your kernel functions.

What's that freeVB stuff ? do you have an URL ?
Post Reply