Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:22:49

0001 /**
0002  * @file
0003  * @ingroup RTEMSBSPsARMEDB7312
0004  * @brief Global BSP definitions.
0005  */
0006 
0007 /*
0008  * Cirrus EP7312 BSP header file
0009  *
0010  * Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com>
0011  *
0012  *  The license and distribution terms for this file may be
0013  *  found in the file LICENSE in this distribution or at
0014  *  http://www.rtems.org/license/LICENSE.
0015 */
0016 #ifndef LIBBSP_ARM_EDB7312_BSP_H
0017 #define LIBBSP_ARM_EDB7312_BSP_H
0018 
0019 /**
0020  * @defgroup RTEMSBSPsARMEDB7312 EDB7312
0021  *
0022  * @ingroup RTEMSBSPsARM
0023  *
0024  * @brief EDB7312 Board Support Package.
0025  *
0026  * @{
0027  */
0028 
0029 #ifndef ASM
0030 
0031 #include <bspopts.h>
0032 #include <bsp/default-initial-extension.h>
0033 
0034 #include <rtems.h>
0035 
0036 #ifdef __cplusplus
0037 extern "C" {
0038 #endif
0039 
0040 #define BSP_FEATURE_IRQ_EXTENSION
0041 
0042 /**
0043  * @brief Define the interrupt mechanism for Time Test 27
0044  *
0045  * NOTE: Following are not defined and are board independent
0046  *
0047  */
0048 struct rtems_bsdnet_ifconfig;
0049 int cs8900_driver_attach (struct rtems_bsdnet_ifconfig *config,
0050                           int                          attaching);
0051 
0052 /**
0053  * @name Network driver configuration
0054  * @{
0055  */
0056 
0057 #define RTEMS_BSP_NETWORK_DRIVER_NAME   "eth0"
0058 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH cs8900_driver_attach
0059 
0060 /** @} */
0061 
0062 /*
0063  * Prototypes for methods called from .S but implemented in C
0064  */
0065 void edb7312_interrupt_dispatch(rtems_vector_number vector);
0066 
0067 #ifdef __cplusplus
0068 }
0069 #endif
0070 
0071 #endif /* !ASM */
0072 
0073 /** @} */
0074 
0075 #endif /* _BSP_H */