Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - IRQ0 not calling interrupt handler anymore with APIC boot image: (3 Items)
   
IRQ0 not calling interrupt handler anymore with APIC boot image  
Hooking IRQ0 doesn't work using the APIC based boot image (using startup-apic). It works fine still using the other 
default boot images.

...
       if ( -1 != ( id = InterruptAttach( 0, InterruptHandler, &my_data, sizeof my_data, 0 ) ) ) {
                while ( EINTR == ( errno = InterruptWait_r( 0, NULL ) ) )
 ...

What is the correct way to specify IRQ0 with the APIC regime? Or is there something else going on here?

RE: IRQ0 not calling interrupt handler anymore with APIC boot image  
It depends on the system, irq0 might not be the timer interrupt with
startup-apic. 


-----Original Message-----
From: Alex Cellarius [mailto:community-noreply@qnx.com] 
Sent: Wednesday, October 06, 2010 10:04 AM
To: ostech-core_os
Subject: IRQ0 not calling interrupt handler anymore with APIC boot image

Hooking IRQ0 doesn't work using the APIC based boot image (using
startup-apic). It works fine still using the other default boot images.

...
       if ( -1 != ( id = InterruptAttach( 0, InterruptHandler, &my_data,
sizeof my_data, 0 ) ) ) {
                while ( EINTR == ( errno = InterruptWait_r( 0, NULL ) )
)
 ...

What is the correct way to specify IRQ0 with the APIC regime? Or is
there something else going on here?





_______________________________________________

OSTech
http://community.qnx.com/sf/go/post69741
Re: IRQ0 not calling interrupt handler anymore with APIC boot image  
Try to attach the IRQ2