source: rtems/c/src/lib/libbsp/m68k/mvme167/include/tm27.h @ ae55da72

4.115
Last change on this file since ae55da72 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 790 bytes
Line 
1/*
2 *  tm27.h
3 *
4 *  The license and distribution terms for this file may be
5 *  found in the file LICENSE in this distribution or at
6 *  http://www.rtems.com/license/LICENSE.
7 */
8
9#ifndef _RTEMS_TMTEST27
10#error "This is an RTEMS internal file you must not include directly."
11#endif
12
13#ifndef __tm27_h
14#define __tm27_h
15
16/*
17 *  Define the interrupt mechanism for Time Test 27
18 *
19 *  NOTE: We use software interrupt 0
20 */
21#define MUST_WAIT_FOR_INTERRUPT 0
22
23#define Install_tm27_vector( handler ) \
24            set_vector( (handler), VBR1 * 0x10 + 0x8, 1 ); \
25            lcsr->intr_level[2] |= 3; \
26            lcsr->intr_ena |= 0x100
27
28#define Cause_tm27_intr()  lcsr->intr_soft_set |= 0x100
29
30#define Clear_tm27_intr()  lcsr->intr_clear |= 0x100
31
32#define Lower_tm27_intr() /* empty */
33
34#endif
Note: See TracBrowser for help on using the repository browser.