none
Doubt related to Software Driver

    일반 토론

  • I was going through the basics of driver development.

    What is driver? according to following link  A driver is a software component that lets the operating system and a device communicate with each other.

    Now the available Driver Models are -

    1. Device function driver
    2. Device filter driver
    3. Software driver
    4. File system filter driver
    5. File system driver

    Now everything is fine doubt is with software driver. According to definition software driver is a driver that is not associated with a device.  So, if it is not associated with any device , than how is it going to be driver. Driver should communicate with OS and device.

    Anmol

    2012년 4월 24일 화요일 오후 12:36

모든 응답

  • Drivers are the only way to have a kernel based module.  So lets say I need to use a function that only available in the kernel, I create a driver that invokes that function for me to call the service.  An example of this is a small driver I did for a company doing backup software, that needed to be able to read files even if they were exclusively opened or byte range locked, the kernel can do this but there was no mechanism exported to user space.

    The only thing different about a software driver are the resources it talks to.  A device driver will use kernel mode API's with a resource handed to it by AddDevice to access the device, a software driver will not have any resources so will not use those API's just other API's available to all drivers.

    It should be noted that software drivers can be legacy drivers without any of the Plug and Play functions a device driver needs.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    2012년 4월 24일 화요일 오후 12:48
  • Donald : According to my knowledge you are discussing about the system programming.

    2012년 4월 24일 화요일 오후 1:10
  • And drivers are system programming and the only way to load a module into the kernel in Windows.  This is pretty common in OS'es that drivers are the way to extend them.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    2012년 4월 24일 화요일 오후 1:18
  • Anmol Kumar wrote:
    >
    >What is driver? according to following link  A driver is a software
    >component that lets the operating system and a device communicate with
    >each other.
     
    In some systems, that's true.  In Windows, we use the term "driver" rather
    loosely, to refer to any kernel-mode module other than the kernel itself.
    --
    Tim Roberts, timr@probo.com
    Providenza & Boekelheide, Inc.
     

    Tim Roberts, VC++ MVP Providenza & Boekelheide, Inc.
    2012년 4월 26일 목요일 오전 4:50