4.104.114.84.95
Line | |
---|
1 | /* bsp.h |
---|
2 | * |
---|
3 | * This include file contains all C4X Simulator IO definitions. |
---|
4 | * |
---|
5 | * COPYRIGHT (c) 1989-1999. |
---|
6 | * On-Line Applications Research Corporation (OAR). |
---|
7 | * |
---|
8 | * The license and distribution terms for this file may be |
---|
9 | * found in found in the file LICENSE in this distribution or at |
---|
10 | * http://www.rtems.com/license/LICENSE. |
---|
11 | * |
---|
12 | * $Id$ |
---|
13 | */ |
---|
14 | |
---|
15 | #ifndef _BSP_H |
---|
16 | #define _BSP_H |
---|
17 | |
---|
18 | #ifdef __cplusplus |
---|
19 | extern "C" { |
---|
20 | #endif |
---|
21 | |
---|
22 | #include <bspopts.h> |
---|
23 | |
---|
24 | #ifdef ASM |
---|
25 | |
---|
26 | #else |
---|
27 | #include <rtems.h> |
---|
28 | #include <rtems/console.h> |
---|
29 | #include <rtems/clockdrv.h> |
---|
30 | #include <rtems/console.h> |
---|
31 | #include <rtems/iosupp.h> |
---|
32 | |
---|
33 | /* Constants */ |
---|
34 | |
---|
35 | /* |
---|
36 | * Device Driver Table Entries |
---|
37 | */ |
---|
38 | |
---|
39 | /* |
---|
40 | * NOTE: Use the standard Console driver entry |
---|
41 | */ |
---|
42 | |
---|
43 | /* |
---|
44 | * NOTE: Use the standard Clock driver entry |
---|
45 | */ |
---|
46 | |
---|
47 | /* |
---|
48 | * Information placed in the linkcmds file. |
---|
49 | */ |
---|
50 | |
---|
51 | /* functions */ |
---|
52 | |
---|
53 | void bsp_start( void ); |
---|
54 | |
---|
55 | void bsp_cleanup( void ); |
---|
56 | |
---|
57 | rtems_isr_entry set_vector( /* returns old vector */ |
---|
58 | rtems_isr_entry handler, /* isr routine */ |
---|
59 | rtems_vector_number vector, /* vector number */ |
---|
60 | int type /* RTEMS or RAW intr */ |
---|
61 | ); |
---|
62 | |
---|
63 | void BSP_fatal_return( void ); |
---|
64 | |
---|
65 | void bsp_spurious_initialize( void ); |
---|
66 | |
---|
67 | extern rtems_configuration_table BSP_Configuration; /* owned by BSP */ |
---|
68 | |
---|
69 | extern rtems_cpu_table Cpu_table; /* owned by BSP */ |
---|
70 | |
---|
71 | extern uint32_t bsp_isr_level; |
---|
72 | |
---|
73 | #endif /* ASM */ |
---|
74 | |
---|
75 | #ifdef __cplusplus |
---|
76 | } |
---|
77 | #endif |
---|
78 | |
---|
79 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.