4.115
Last change
on this file since 9b4422a2 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:
1.2 KB
|
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 | * Stuff for Time Test 27 |
---|
18 | * |
---|
19 | * The following require that IRQ7 be jumpered to ground. On the SS555, |
---|
20 | * this can be done by shorting together CN5 pin 48 and CN5 pin 50. |
---|
21 | */ |
---|
22 | |
---|
23 | #define MUST_WAIT_FOR_INTERRUPT 1 |
---|
24 | |
---|
25 | #define Install_tm27_vector( handler ) \ |
---|
26 | { \ |
---|
27 | extern rtems_irq_connect_data tm27IrqData; \ |
---|
28 | usiu.siel |= (1 << 17); \ |
---|
29 | usiu.sipend |= (1 << 17); \ |
---|
30 | \ |
---|
31 | tm27IrqData.hdl = (rtems_irq_hdl)handler; \ |
---|
32 | BSP_install_rtems_irq_handler (&tm27IrqData); \ |
---|
33 | } |
---|
34 | |
---|
35 | #define Cause_tm27_intr() \ |
---|
36 | { \ |
---|
37 | usiu.siel &= ~(1 << 17); \ |
---|
38 | } |
---|
39 | |
---|
40 | #define Clear_tm27_intr() \ |
---|
41 | { \ |
---|
42 | usiu.siel |= (1 << 17); \ |
---|
43 | usiu.sipend |= (1 << 17); \ |
---|
44 | } |
---|
45 | |
---|
46 | #define Lower_tm27_intr() \ |
---|
47 | { \ |
---|
48 | ppc_cached_irq_mask |= (1 << 17); \ |
---|
49 | usiu.simask = ppc_cached_irq_mask; \ |
---|
50 | } |
---|
51 | |
---|
52 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.