diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-11 14:18:21 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-11 14:18:21 +0200 |
commit | 22506ae9c3edc30592e6012410753296586b9e25 (patch) | |
tree | 7d66e5ae61dd031560be44403385c1988fdb3cef /c/src/librtems++/src/rtemsInterrupt.cc | |
parent | Fix BSD sections (diff) | |
parent | fstests/fsrdwr: Add block read/write test case (diff) | |
download | rtems-22506ae9c3edc30592e6012410753296586b9e25.tar.bz2 |
Merge branch 'upstream'
Diffstat (limited to 'c/src/librtems++/src/rtemsInterrupt.cc')
-rw-r--r-- | c/src/librtems++/src/rtemsInterrupt.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/librtems++/src/rtemsInterrupt.cc b/c/src/librtems++/src/rtemsInterrupt.cc index 5432cfcd4a..436e362a2f 100644 --- a/c/src/librtems++/src/rtemsInterrupt.cc +++ b/c/src/librtems++/src/rtemsInterrupt.cc @@ -38,6 +38,9 @@ static bool initialised = false; #include <cstdlib> +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) + +typedef void * ISR_Handler void *; rtemsInterrupt::rtemsInterrupt() : vector(0), caught(false), @@ -123,3 +126,4 @@ void rtemsInterrupt::redirector(rtems_vector_number vector) if (interrupt_table[vector]) interrupt_table[vector]->handler(); } +#endif |