diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-22 13:04:07 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-22 13:04:07 +0000 |
commit | 52cfc7de8720e1f0fdbff21a2092ce65abd9a3b9 (patch) | |
tree | 50c2471a797c01c04a65fdc6656fff0ea84d149c /c/src/lib/libbsp/sh/simsh4/include | |
parent | 2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-52cfc7de8720e1f0fdbff21a2092ce65abd9a3b9.tar.bz2 |
2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>
* include/bsp.h: Split out tmtest27 support.
* include/tm27.h: New.
Diffstat (limited to 'c/src/lib/libbsp/sh/simsh4/include')
-rw-r--r-- | c/src/lib/libbsp/sh/simsh4/include/bsp.h | 18 | ||||
-rw-r--r-- | c/src/lib/libbsp/sh/simsh4/include/tm27.h | 38 |
2 files changed, 38 insertions, 18 deletions
diff --git a/c/src/lib/libbsp/sh/simsh4/include/bsp.h b/c/src/lib/libbsp/sh/simsh4/include/bsp.h index a0b61fa3f9..a3ddac38b0 100644 --- a/c/src/lib/libbsp/sh/simsh4/include/bsp.h +++ b/c/src/lib/libbsp/sh/simsh4/include/bsp.h @@ -64,24 +64,6 @@ extern "C" { /* !!! Should be defined in accordance to simulator considerations.*/ #define CLOCK_VECTOR 32 -/* - * Stuff for Time Test 27 - */ - -#define MUST_WAIT_FOR_INTERRUPT 0 - -#define Install_tm27_vector( handler ) \ -{ \ - rtems_isr_entry ignored ; \ - rtems_interrupt_catch( (handler), 0, &ignored ) ; \ -} - -#define Cause_tm27_intr() - -#define Clear_tm27_intr() - -#define Lower_tm27_intr() - /* Constants */ /* diff --git a/c/src/lib/libbsp/sh/simsh4/include/tm27.h b/c/src/lib/libbsp/sh/simsh4/include/tm27.h new file mode 100644 index 0000000000..fb1fc51b34 --- /dev/null +++ b/c/src/lib/libbsp/sh/simsh4/include/tm27.h @@ -0,0 +1,38 @@ +/* + * tm27.h + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#ifndef _TMTEST27 +#error "This is an RTEMS internal file you must not include directly." +#endif + +#ifndef __tm27_h +#define __tm27_h + +/* + * Stuff for Time Test 27 + */ + +#define MUST_WAIT_FOR_INTERRUPT 0 + +#define Install_tm27_vector( handler ) \ +{ \ + rtems_isr_entry ignored ; \ + rtems_interrupt_catch( (handler), 0, &ignored ) ; \ +} + +#define Cause_tm27_intr() + +#define Clear_tm27_intr() + +#define Lower_tm27_intr() + + + +#endif |