Re: irq to sysint
Tech-Archive recommends: Fix windows errors by optimizing your registry
is there an API call available in CE 5.0 that will return the sysint number
that is mapped to the irq number?
whether it was initially statically or dynamically mapped??
Due to the possibility of shared interrupts the mapping of IRQ to sysintrs
is a one to many relationship. Therefore it is not possible to implement a
function that translates from an IRQ to a SYSINTR. At best there could be a
function to get all SYSINTRs associated with a given IRQ. And, No there is
no such function defined in CE. Why do you think you need that?
--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com
.
Relevant Pages
- Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)
... >> I can see there'd be problems if the code allowed shared interrupts, ... > write a small IRQ helper module for the kernel or extend the syntax I ... the supervisor so that the supervisor could cut off the IRQ if the ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ... (Linux-Kernel) - Re: [PATCH] sparse_irq aka dyn_irq v13
... we have a nice an simple virtual irq layer that also ... We provide a basic construct that defines an HW IRQ domain (we call it ... they are "mapped" to virtual irq numbers by mapping them to a tuple ... unrelated to the "linux" virtual number, so all the problems of making ... (Linux-Kernel) - Re: Advanced Programmable Interrupt Controller Support on Windows
... The OALIntrStaticTranslate function let you create default mapping for irq ... you have to sharing IRQ which some driver can not use default mapping. ... Windows CE allow you to allocate other SysIntr for same IRQ (Which it is ... (microsoft.public.windowsce.platbuilder) - Re: x86-64: double timer interrupts in recent 2.4.x
... > Detected 12.500 MHz APIC timer. ... IRQ redirection table: ... notice double mapping on vector 31 is now gone. ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: PATCH: 2.6.26-rc8: Fix IRQF_DISABLED for shared interrupts
... For shared interrupts IRQF_DISABLED will only take effect if the first ... For a shared IRQ, I would rather think that if any IRQ was flagged ... Seems like this patch ... I don't think you should need that flag; and if you did, ... (Linux-Kernel) |
|