diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-22 15:41:35 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-22 15:41:35 +0000 |
commit | 0df29b07d81623fbe605f79667bb262536c2ebdc (patch) | |
tree | 2c49db4753f07d29075858cf531e978c817b65ce /c/src/lib/libbsp/m68k/mcf5206elite | |
parent | 2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-0df29b07d81623fbe605f79667bb262536c2ebdc.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/m68k/mcf5206elite')
-rw-r--r-- | c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h | 15 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mcf5206elite/include/tm27.h | 35 |
3 files changed, 40 insertions, 15 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog b/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog index abfac1ee01..336e741df3 100644 --- a/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog +++ b/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog @@ -1,3 +1,8 @@ +2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org> + + * include/bsp.h: Split out tmtest27 support. + * include/tm27.h: New. + 2004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org> PR 613/bsps diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h index 77612e5fdb..4fa43f2d71 100644 --- a/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h +++ b/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h @@ -161,21 +161,6 @@ extern char _SYS_CLOCK_FREQUENCY; /* Don't use this variable directly!!! */ #define I2C_SELECT_BUS(bus) /* - * Stuff for Time Test 27 - * Don't bother with hardware -- just use a software-interrupt - */ - -#define MUST_WAIT_FOR_INTERRUPT 0 - -#define Install_tm27_vector( handler ) set_vector( (handler), 34, 1 ) - -#define Cause_tm27_intr() asm volatile ("trap #2"); - -#define Clear_tm27_intr() - -#define Lower_tm27_intr() - -/* * Simple spin delay in microsecond units for device drivers. * This is very dependent on the clock speed of the target. */ diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/include/tm27.h b/c/src/lib/libbsp/m68k/mcf5206elite/include/tm27.h new file mode 100644 index 0000000000..dbe42f1433 --- /dev/null +++ b/c/src/lib/libbsp/m68k/mcf5206elite/include/tm27.h @@ -0,0 +1,35 @@ +/* + * 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 + * Don't bother with hardware -- just use a software-interrupt + */ + +#define MUST_WAIT_FOR_INTERRUPT 0 + +#define Install_tm27_vector( handler ) set_vector( (handler), 34, 1 ) + +#define Cause_tm27_intr() asm volatile ("trap #2"); + +#define Clear_tm27_intr() + +#define Lower_tm27_intr() + + + +#endif |