On Sunday 06 February 2005 23:45, Rodolphe Ortalo wrote: > On Sunday 06 February 2005 22:45, Lars Roland wrote: > [...] > > On the topics of cross platform driver development, I just wanted to > > know if anyone had any experience with it - my initial though was that > > this would be to hard given that there is a substantial difference > > between the Windows and Linux kernel (for one Windows NT is a micro > > kernel (although it is a handicapped micro kernel, running all its > > server process in kernel space, seams to defeat the entire purpose of > > having one)). > > The only example I know was inside the sp�cific KGI infrastructure: the same > driver code (exactly the same) known to work for Matrox Mystique/G200/G400 on > both Linux (2.4) and FreeBSD (5.x). > However, the ideas behind KGI software design should easily be reused. An API > abstracting the way you access registers on the board (mmio setup, actual > access functions, etc.) is the first step. Providing a full Hardware > Abstraction Layer may be more difficult (especially in terms of > maintainability and potential for extensibility in future designs). But as > the actual hardware designers may want to cooperate, that could be feasible > this time. :-)
For what it's worth, DRI kernel drivers are also pretty "kernel agnostic", and (with some GPL vs. BSD license political exceptions) all device specific code is shared between Linux and FreeBSD (nobody seems to have bothered to port the DRI to other platforms so far). cu, Nicolai > > Rodolphe
pgpVJcyZMIQSq.pgp
Description: PGP signature
_______________________________________________ Open-graphics mailing list [email protected] http://lists.duskglow.com/mailman/listinfo/open-graphics List service provided by Duskglow Consulting, LLC (www.duskglow.com)
