Re: interrupt notification

From: bsqr_TSAT (TSatagaj)
Date: 11/02/04


Date: Tue, 2 Nov 2004 07:01:36 -0800

You could have your driver and your apps each create the same named event.
After initializing, your app can WaitForSingleObject() on the event.
When the interrupt occurs, your driver could set the event.

BSQR_TSAT

"Alain Roberge" <floroberge1@hotmail.com> wrote in message
news:ED10FE9E-3591-4D1B-A78E-E15D6D24123D@microsoft.com...
> Hi,
> With WCE 5.0, i created a stream driver for my custom device in our
> platform. This device generates interrupt. I create an IST routine that
> receive the interrupts. All this functionnality work fine. But when an
> interrupt occurs, the responsability of the driver is to notify the
> applications. Depend of reason of the interrupt, the IST must send a
> different notification to the aplpication.
>
> My question is: what is the best method for applications to register to an
> interrupt?
> One method is to pass a handle to a window from my application to the
> driver. The IST can lunch a PostMessage() function to notify application.
> But this method needs a Window!!!
>
> Does anyone have other idea?
> Thank you
> Alain Roberge
>
>



Relevant Pages

  • interrupt notification
    ... i created a stream driver for my custom device in our ... This device generates interrupt. ... But this method needs a Window!!! ...
    (microsoft.public.windowsce.platbuilder)
  • Re: 2.6.19 and up to 2.6.20-rc2 Ethernet problems x86_64
    ... If the system fails in ACPI mode, but works in non-ACPI mode, ... Using ACPI for SMP configuration information ... Using IOAPIC for interrupt routing ... Non-volatile memory driver v1.2 ...
    (Linux-Kernel)
  • Re: [PATCH] uio: User IRQ Mode
    ... This patch adds a "User IRQ Mode" to UIO. ... In this mode the user space driver ... is responsible for acknowledging and re-enabling the interrupt. ...
    (Linux-Kernel)
  • PANIC [2.4.27] usb-storage
    ... PCI Interrupt Link enabled at IRQ 3 ... switching to colour frame buffer device 100x37 ... RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize ... Initializing USB Mass Storage driver... ...
    (Linux-Kernel)
  • Re: [PATCH] uio: User IRQ Mode
    ... This patch adds a "User IRQ Mode" to UIO. ... In this mode the user space driver ... is responsible for acknowledging and re-enabling the interrupt. ...
    (Linux-Kernel)