Device Driver Adaptation?
Posted: Sat Jan 15, 2011 9:06 pm
Hi folks,
Firstly, please forgive me for any misunderstandings; I'm really new to the world of OS development, so it may seem like I'm asking obvious questions for the time being, but I can accept constructive criticism!
I'm currently dabbling with the idea of creating an OS from scratch, which will be 99.999999% automated (save diagnostic functions .etc.); here's where I've met a potential speed-bump! Obviously, when I create my OS, it won't have any device-specific drivers; this is going to be a big setback if I want my system to be fully-automated because I'll need to develop drivers for numerous devices, not to mention that this OS is planned to be run on almost any x86-based computer.
This is where I've had a lightning bolt! Windows and Linux automatically install drivers for common hardware, and there's masses of device drivers for these OSes. My question is, is it possible to develop a sort of 'adaptor' for Windows/Linux device drivers so that I can use them with my own OS? As far as I can see, it is theoretically possible (not that it would be a trivial task, by any means); what I'd be essentially doing is converting the interface for the drivers to suit my OS.
Could anybody give me advice on this, and if it isn't going to work, please could alternatives be suggested?
Thanks in advance, Lee.
Firstly, please forgive me for any misunderstandings; I'm really new to the world of OS development, so it may seem like I'm asking obvious questions for the time being, but I can accept constructive criticism!
I'm currently dabbling with the idea of creating an OS from scratch, which will be 99.999999% automated (save diagnostic functions .etc.); here's where I've met a potential speed-bump! Obviously, when I create my OS, it won't have any device-specific drivers; this is going to be a big setback if I want my system to be fully-automated because I'll need to develop drivers for numerous devices, not to mention that this OS is planned to be run on almost any x86-based computer.
This is where I've had a lightning bolt! Windows and Linux automatically install drivers for common hardware, and there's masses of device drivers for these OSes. My question is, is it possible to develop a sort of 'adaptor' for Windows/Linux device drivers so that I can use them with my own OS? As far as I can see, it is theoretically possible (not that it would be a trivial task, by any means); what I'd be essentially doing is converting the interface for the drivers to suit my OS.
Could anybody give me advice on this, and if it isn't going to work, please could alternatives be suggested?
Thanks in advance, Lee.