Device mapping vs. ioctl

Is it true that you can simply map a devices register set to user memory
and let user applications access the device registers directly? (this is
what we did pre-windows and now I’m starting a Windows driver). And if
you do does the driver even get to see these accesses?

Supposing this is true, how does it compare (speed wise) with having the
app doing devioctl calls and having the kernel driver do the register
access through HAL calls?

TIA
Nick Schmidt
Tektronix

My ideas and opinions are of course, not necessarily those of my employer.

Asked and answered many times. This is DOS-think designing, and an attempt
to do what one did in that DOS-Extender called 9x. You need a kernel mode
device driver.


Gary G. Little
Have Computer, Will Travel …
909-698-3191
909-551-2105
http://www.wd-3.com

“Nick Schmidt” wrote in message
news:xxxxx@ntdev…
>
> Is it true that you can simply map a devices register set to user memory
> and let user applications access the device registers directly? (this is
> what we did pre-windows and now I’m starting a Windows driver). And if
> you do does the driver even get to see these accesses?
>
> Supposing this is true, how does it compare (speed wise) with having the
> app doing devioctl calls and having the kernel driver do the register
> access through HAL calls?
>
> TIA
> Nick Schmidt
> Tektronix
>
> My ideas and opinions are of course, not necessarily those of my employer.
>
>