Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

Questions about interrupt response!

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Hello Gurus,
The PCI card that I have designed would signal interrupt every 6ms. I
just wonder whether it is possible for my winNT4.0 (on a HPLH3000
Server) to response to the interrupt without skipping over any
interrupt.
In order to shorten the response time, what should I pay attention to
when I am writing the driver?
Thanks in advance.



Best regards,
Jingcao mailto:[email protected]

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Based upon what all developers are supposed to do for ISR routines is for
    them to simply acknowledge the interrupt and then queue a Deferred Procedure
    Call. Therefore when an Interrupt occurs, your ISR should execute fairly
    quickly probably within 10-20 microseconds at the worst. However, you will
    need to queue a DPC during your ISR (just like everyone else so that all
    Interrupts play fair) and that DPC will do the extended processing of the
    interrupt event. That DPC gets placed into a queue and could take several
    hundred microseconds to execute while it waits its turn in the Queue. You
    should read the DDK and/or some Windows NT driver books about ISR and
    DIRQL_LEVEL, DISPATCH_LEVEL and PASSIVE_LEVEL kernel processor levels. Most
    Windows NT driver books to a very good job of describing this mechanism.

    If you want others to play fair, then you should too!

    Dominick

    ----- Original Message -----
    From: "Jingcao Hu" <[email protected]>
    To: "NT Developers Interest List" <[email protected]>
    Sent: Thursday, April 20, 2000 5:13 AM
    Subject: [ntdev] Questions about interrupt response!


    > Hello Gurus,
    > The PCI card that I have designed would signal interrupt every 6ms. I
    > just wonder whether it is possible for my winNT4.0 (on a HPLH3000
    > Server) to response to the interrupt without skipping over any
    > interrupt.
    > In order to shorten the response time, what should I pay attention to
    > when I am writing the driver?
    > Thanks in advance.
    >
    >
    >
    > Best regards,
    > Jingcao mailto:[email protected]
    >
    >
    >
    > ---
    > You are currently subscribed to ntdev as: [email protected]
    > To unsubscribe send a blank email to $subst('Email.Unsub')
    >
    >
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Writing WDF Drivers 24 January 2022 Live, Online
Internals & Software Drivers 7 February 2022 Live, Online
Kernel Debugging 21 March 2022 Live, Online
Developing Minifilters 23 May 2022 Live, Online