mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
Modified to ignore console interrupts. Otherwise console interrupts were
Ada exceptions. Fixed by Joel with advice from Jiri.
This commit is contained in:
1 parent
64b2960089
commit
4e556493d6
1 file changed
+3
-2
@@ -92,11 +92,12 @@ void __gnat_install_handler()
|
||||
* trap 0 which we will use as a shutdown. Also avoid trap 0x70 - 0x7f
|
||||
* which cannot happen and where some of the space is used to pass
|
||||
* paramaters to the program. Trap 0x1d is used by the clock tick
|
||||
* and 0x83 by the remote debugging stub.
|
||||
* and 0x83 by the remote debugging stub. Traps 0x14, 0x15, and 0x17
|
||||
* are used by the console device driver.
|
||||
*/
|
||||
|
||||
if (( trap >= 0x11 ) && ( trap <= 0x1f )) {
|
||||
if ( trap != 0x1d )
|
||||
if ( trap != 0x1d && trap != 0x14 && trap != 0x15 && trap != 0x17 )
|
||||
rtems_interrupt_catch( __gnat_interrupt_handler,
|
||||
trap, &previous_isr );
|
||||
} else if (( trap != 5 && trap != 6 && trap != 0x83 ) &&
|
||||
|
||||
Reference in new issue
Block a user