Virtual Device-Interrupt Resource Allocation

Hi all,

I have a virtual BUS driver that creates a PDO for a device that is
supposed to look like a PCI based device with some fake PCI config
information ( that I can make up to be anything I want since I own the
bus). I have a need for this device to be able to have an interrupt
resource and get it allocated by the arbiter somehow. In fact an
IoConnectInterrupt call later on needs to succeed.

Is it possible to do so while not being in the PCI tree at all? Even if
I had to hack registry and something out of the ordinary, I’m open to
ideas to at least get a proof of concept going.

Thanks

Pankaj

If this is for TESTING PURPOSES ONLY you might try
http://www.eclectic-eng.com/downloadableFiles/SimulatorAndDriver.zip this
is a simulator for a simple device that for some classes of systems creates
an interrupt. Note: as I said testing only, this is a hack for anything
real.


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

“Pankaj Garg” wrote in message news:xxxxx@ntdev…
Hi all,

I have a virtual BUS driver that creates a PDO for a device that is
supposed to look like a PCI based device with some fake PCI config
information ( that I can make up to be anything I want since I own the
bus). I have a need for this device to be able to have an interrupt
resource and get it allocated by the arbiter somehow. In fact an
IoConnectInterrupt call later on needs to succeed.

Is it possible to do so while not being in the PCI tree at all? Even if
I had to hack registry and something out of the ordinary, I’m open to
ideas to at least get a proof of concept going.

Thanks

Pankaj