Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - InterruptAttach not working with 6.5.0 with APIC?: (4 Items)
   
InterruptAttach not working with 6.5.0 with APIC?  
There is a problem with InterruptAttach() when used on QNX 6.5.0 with APIC (startup-apic and pci-bios-v2): the function 
attached to the interrupt does not get invoked.

The problem does not exist on previous QNX versions or when no APIC is used and could be replicated on real hardware and
 in a Vmware virtual machine .

I'm missing something?

Regards,
Maurizio Rossi
Attachment: Text testirq.c 689 bytes
Re: InterruptAttach not working with 6.5.0 with APIC?  
ping...
Re: InterruptAttach not working with 6.5.0 with APIC?  
> ping...

I assume the timer interrupt on your board is not 0. 

You can figure out the timer irq from command line with

pidin syspage=qtime

In your code:

struct qtime_entry *qtp = SYSPAGE_ENTRY(qtime);

timer_intr = qtp->intr;
Re: InterruptAttach not working with 6.5.0 with APIC?  
Thank you very much.

Regards,
Maurizio Rossi