4.104.115
Last change
on this file since 77db4a3 was
77db4a3,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/30/08 at 15:47:34
|
2008-09-30 Joel Sherrill <joel.sherrill@…>
- include/tm27.h: Now links all tests.
|
-
Property mode set to
100644
|
File size:
818 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 | * $Id$ |
---|
9 | */ |
---|
10 | |
---|
11 | #ifndef _RTEMS_TMTEST27 |
---|
12 | #error "This is an RTEMS internal file you must not include directly." |
---|
13 | #endif |
---|
14 | |
---|
15 | #ifndef __tm27_h |
---|
16 | #define __tm27_h |
---|
17 | |
---|
18 | #include <rtems/powerpc/powerpc.h> |
---|
19 | |
---|
20 | /* |
---|
21 | * Stuff for Time Test 27 |
---|
22 | */ |
---|
23 | |
---|
24 | #define MUST_WAIT_FOR_INTERRUPT 0 |
---|
25 | |
---|
26 | #define Install_tm27_vector( handler ) \ |
---|
27 | do { \ |
---|
28 | static rtems_irq_connect_data scIrqData = { \ |
---|
29 | PPC_IRQ_SCALL, \ |
---|
30 | (rtems_irq_hdl) handler, \ |
---|
31 | NULL, \ |
---|
32 | NULL, \ |
---|
33 | NULL \ |
---|
34 | }; \ |
---|
35 | BSP_install_rtems_irq_handler (&scIrqData); \ |
---|
36 | } while(0) |
---|
37 | |
---|
38 | #define Cause_tm27_intr() asm volatile ("sc") |
---|
39 | |
---|
40 | #define Clear_tm27_intr() /* empty */ |
---|
41 | |
---|
42 | #define Lower_tm27_intr() /* empty */ |
---|
43 | |
---|
44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.