From 0df29b07d81623fbe605f79667bb262536c2ebdc Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 22 Apr 2004 15:41:35 +0000 Subject: 2004-04-22 Ralf Corsepius * include/bsp.h: Split out tmtest27 support. * include/tm27.h: New. --- c/src/lib/libbsp/m68k/mcf5206elite/include/tm27.h | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 c/src/lib/libbsp/m68k/mcf5206elite/include/tm27.h (limited to 'c/src/lib/libbsp/m68k/mcf5206elite/include/tm27.h') 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 -- cgit v1.2.3