summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-07-01 21:52:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-07-01 21:52:01 +0000
commit4e556493d6da2c00c218cc270b79c08cd4e61eb1 (patch)
treec8dfdd2b16209f7f8ca12c493a6ef46e8ada617c /c
parent64b2960089238e9b695c9cac0d6486aa5067411b (diff)
downloadrtems-4e556493d6da2c00c218cc270b79c08cd4e61eb1.tar.bz2
Modified to ignore console interrupts. Otherwise console interrupts were
Ada exceptions. Fixed by Joel with advice from Jiri.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/sparc/erc32/gnatsupp/gnatsupp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/gnatsupp/gnatsupp.c b/c/src/lib/libbsp/sparc/erc32/gnatsupp/gnatsupp.c
index 79f1f037db..e0ef0cb795 100644
--- a/c/src/lib/libbsp/sparc/erc32/gnatsupp/gnatsupp.c
+++ b/c/src/lib/libbsp/sparc/erc32/gnatsupp/gnatsupp.c
@@ -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 ) &&