Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * @ingroup RTEMSBSPsARMEDB7312 |
---|
4 | * @brief Global BSP definitions. |
---|
5 | */ |
---|
6 | |
---|
7 | /* |
---|
8 | * Cirrus EP7312 BSP header file |
---|
9 | * |
---|
10 | * Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com> |
---|
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/LICENSE. |
---|
15 | */ |
---|
16 | #ifndef LIBBSP_ARM_EDB7312_BSP_H |
---|
17 | #define LIBBSP_ARM_EDB7312_BSP_H |
---|
18 | |
---|
19 | /** |
---|
20 | * @defgroup RTEMSBSPsARMEDB7312 EDB7312 |
---|
21 | * |
---|
22 | * @ingroup RTEMSBSPsARM |
---|
23 | * |
---|
24 | * @brief EDB7312 Board Support Package. |
---|
25 | * |
---|
26 | * @{ |
---|
27 | */ |
---|
28 | |
---|
29 | #ifndef ASM |
---|
30 | |
---|
31 | #include <bspopts.h> |
---|
32 | #include <bsp/default-initial-extension.h> |
---|
33 | |
---|
34 | #include <rtems.h> |
---|
35 | |
---|
36 | #ifdef __cplusplus |
---|
37 | extern "C" { |
---|
38 | #endif |
---|
39 | |
---|
40 | #define BSP_FEATURE_IRQ_EXTENSION |
---|
41 | |
---|
42 | /** |
---|
43 | * @brief Define the interrupt mechanism for Time Test 27 |
---|
44 | * |
---|
45 | * NOTE: Following are not defined and are board independent |
---|
46 | * |
---|
47 | */ |
---|
48 | struct rtems_bsdnet_ifconfig; |
---|
49 | int cs8900_driver_attach (struct rtems_bsdnet_ifconfig *config, |
---|
50 | int attaching); |
---|
51 | |
---|
52 | /** |
---|
53 | * @name Network driver configuration |
---|
54 | * @{ |
---|
55 | */ |
---|
56 | |
---|
57 | #define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0" |
---|
58 | #define RTEMS_BSP_NETWORK_DRIVER_ATTACH cs8900_driver_attach |
---|
59 | |
---|
60 | /** @} */ |
---|
61 | |
---|
62 | /* |
---|
63 | * Prototypes for methods called from .S but implemented in C |
---|
64 | */ |
---|
65 | void edb7312_interrupt_dispatch(rtems_vector_number vector); |
---|
66 | |
---|
67 | #ifdef __cplusplus |
---|
68 | } |
---|
69 | #endif |
---|
70 | |
---|
71 | #endif /* !ASM */ |
---|
72 | |
---|
73 | /** @} */ |
---|
74 | |
---|
75 | #endif /* _BSP_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.