Windows driver programming or Linux driver programming? [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionI want to learn driver programming. But I don't know anything about it, except a driver 开发者_运维百科is something that acts as an interface between the operating system and the outer world. What is easier to learn, Windows driver or Linux driver programming?
Where should I start?
I am at an intermediate stage in C programming. What are the prerequisites? As I, in 2010, graduated as a B.Tech. in computer science from an average college, can I start doing driver programming? I mean, can only experienced persons program drivers? What are the career oppurtunities in this field?
I'd say Linux device driver programming is easier than Windows, only because you've got access to thousands of drivers in the Linux kernel source tree that you can copy from. (And you can copy from them, because it's all GPL v2 licensed. You just have to GPLv2 license your driver too.)
The Linux Device Drivers, 3rd Edition book might be the best starting point. It's a little dated at this point, and the "flavor of the month" for many of the different techniques in the book have changed several times over, but it will get you experience writing small drivers and adding functionality over time. Once you've got some more experience, then the new "flavor of the month" for the different mechanisms will make much more sense to learn about it.
精彩评论