RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
tm27.h
Go to the documentation of this file.
1
7/*
8 * tm27.h
9 *
10 * COPYRIGHT (c) 2010 by ECE Northeastern University.
11 *
12 * The license and distribution terms for this file may be
13 * found in the file LICENSE in this distribution or at
14 * http://www.rtems.org/license
15 */
16
17#ifndef _RTEMS_TMTEST27
18#error "This is an RTEMS internal file you must not include directly."
19#endif
20
21#ifndef __tm27_h
22#define __tm27_h
23
31/*
32 * Define the interrupt mechanism for Time Test 27
33 */
34
35#define MUST_WAIT_FOR_INTERRUPT 0
36
37#define Install_tm27_vector(handler) \
38{ \
39 set_vector( handler, 0x06, 1 ); \
40}
41
42#define Cause_tm27_intr() asm volatile("raise 0x06;" : :);
43
44#define Clear_tm27_intr() /* empty */
45
46#define Lower_tm27_intr() /* empty */
47
50#endif