Windows XP Forums


Reply
Thread Tools Display Modes

how to get interrup vector (the number that is used to index the IDT)from an upper filter driver

 
 
qqmichelle
Guest
Posts: n/a
 
      12th November 2009

Hi everyone,
I have a very urgent question about getting interrup vector from a
upper filter driver:
In my project, I need to know the interrup vector assigned to
particular device (not for standard devices that have fixed interrup
vector value). I know that usually the interrup vector value can b
obtained in the underlying function driver (usually for the paramter
passing to IoConnectInterrupt())through the following code:
pIrpStack->Parameters.StartDevice.AllocatedResourcesTranslat ed.>List[0].PartialResourceList.PartialDescriptors[0].u.Interrupt.Vector

But I don't have the source code for the underlying function driver s
I wrote a upper filter driver to do the same thing to get the value.
don't know whether it is feasible or not. But when the above code wa
executed in the upper filter driver, I got either blue screen or reboot
I viewd the minidump file and got the error code is NTSTATUS C0000005
which is probably access violation. I'm wondering whether upper filte
driver has the privelige to access hardware resouce descriptors. O
anything wrong with it? If not, can anybody suggest a way to get th
interrupt vector for a particular device or any tools to get thi
value?

BTW, I use Intel CPU and running Windows XP.

Many many thanks in advance!

--
qqmichell
-----------------------------------------------------------------------
qqmichelle's Profile: http://forums.techarena.in/members/154233.ht
View this thread: http://forums.techarena.in/windows-d...ers/1270438.ht

http://forums.techarena.i

 
Reply With Quote
 
 
 
 
Doron Holan [MSFT]
Guest
Posts: n/a
 
      23rd November 2009
there is no way to know this

d

--

This posting is provided "AS IS" with no warranties, and confers no rights.


"qqmichelle" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Hi everyone,
> I have a very urgent question about getting interrup vector from an
> upper filter driver:
> In my project, I need to know the interrup vector assigned to a
> particular device (not for standard devices that have fixed interrupt
> vector value). I know that usually the interrup vector value can be
> obtained in the underlying function driver (usually for the paramters
> passing to IoConnectInterrupt())through the following code:
> pIrpStack->Parameters.StartDevice.AllocatedResourcesTranslat ed.>List[0].PartialResourceList.PartialDescriptors[0].u.Interrupt.Vector
>
> But I don't have the source code for the underlying function driver so
> I wrote a upper filter driver to do the same thing to get the value. I
> don't know whether it is feasible or not. But when the above code was
> executed in the upper filter driver, I got either blue screen or reboot.
> I viewd the minidump file and got the error code is NTSTATUS C0000005,
> which is probably access violation. I'm wondering whether upper filter
> driver has the privelige to access hardware resouce descriptors. Or
> anything wrong with it? If not, can anybody suggest a way to get the
> interrupt vector for a particular device or any tools to get this
> value?
>
> BTW, I use Intel CPU and running Windows XP.
>
> Many many thanks in advance!!
>
>
> --
> qqmichelle
> ------------------------------------------------------------------------
> qqmichelle's Profile: http://forums.techarena.in/members/154233.htm
> View this thread:
> http://forums.techarena.in/windows-d...rs/1270438.htm
>
> http://forums.techarena.in
>

 
Reply With Quote
 
qqmichelle
Guest
Posts: n/a
 
      23rd November 2009
After research, I found that I can get the IRQ->Interrupt vector mappin
from SoftICE. For a particular device, I can get its IRQ from the devic
manager. Thanks

--
qqmichell
-----------------------------------------------------------------------
qqmichelle's Profile: http://forums.techarena.in/members/154233.ht
View this thread: http://forums.techarena.in/windows-d...ers/1270438.ht

http://forums.techarena.i

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upper Filter Drivers. eris.vorta@gmail.com Windows XP Drivers 0 2nd September 2008 11:18 AM
upper filter driver over usbvideo.sys howard_leon Windows XP Drivers 1 10th April 2007 02:42 PM
Upper filter driver - Digital Certificate by WHQL Ravi Windows XP Drivers 0 4th January 2005 11:24 AM
How to Identify a particular IRP from upper drivers in a filter driver Robert Windows XP Drivers 0 9th July 2004 01:39 AM
JPG document filter for index service gregmor Windows XP General 0 28th July 2003 04:41 PM


All times are GMT. The time now is 05:22 AM.
Windows XP Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26