sir,
How to write read and write functions in WDM to access the BAR Registers for PCI-DIO device ans how to call IOCTL functions.
Never miss a thing. Make Yahoo your homepage.
sir,
How to write read and write functions in WDM to access the BAR Registers for PCI-DIO device ans how to call IOCTL functions.
Never miss a thing. Make Yahoo your homepage.
sir,
How to write READ and WRITE functions in WDM to access the BAR Registers for PCI-DIO device and how to call IOCTL functions.
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
Well on the BAR registers why do you want to access them? The OS sets these
up for you and the WDM model provides the information in the start device
request for you to use. On the question of IOCTL functions, do you mean
call them from user space or the kernel? If user space look at the sample
in the WDK under src\general\ioctl\exe. For a good kernel example look at
src\general\pcidrv.
From the level of your questions you are a newbie to driver development.
You should consider several things:
Take a good course if possible - The Windows driver models are not
simple, a class can help you get a good start.
Consider using KMDF - Personally I would not start a PnP driver
these days in the WDM model. WDM requires the developer to build from
scratch some very messy state machines to handle PnP and power management.
KMDF handles this for you and is the model Microsoft is moving to.
Finally get a good book or two and read them. For WDM get Walter
Oney’s “Programming the Windows Driver Model Second Edition” for KMDF get
“Developing Drivers with the Windows Driver Foundation”
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
“vishnu K” wrote in message news:xxxxx@ntdev…
> sir,
> How to write read and write functions in WDM to access the BAR Registers
> for PCI-DIO device ans how to call IOCTL functions.
>
>
> ---------------------------------
> Never miss a thing. Make Yahoo your homepage.