RTEMS  5.0.0
bsp.h
Go to the documentation of this file.
1 
9 /* bsp.h
10  *
11  * This include file contains all board IO definitions.
12  *
13  * The license and distribution terms for this file may be
14  * found in the file LICENSE in this distribution or at
15  * http://www.rtems.org/license/LICENSE.
16  *
17  * COPYRIGHT (c) 2011 Sebastien Bourdeauducq
18  */
19 
20 #ifndef LIBBSP_LM32_MILKYMIST_BSP_H
21 #define LIBBSP_LM32_MILKYMIST_BSP_H
22 
23 #include <stdint.h>
24 #include <bspopts.h>
26 
27 #include <rtems.h>
28 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
43 #define BSP_HAS_FRAME_BUFFER 1
44 
45 /*
46  * lm32 requires certain aligment of mbuf because unaligned uint32_t
47  * accesses are not handled properly.
48  */
49 
50 #define CPU_U32_FIX
51 
52 #if defined(RTEMS_NETWORKING)
53 struct rtems_bsdnet_ifconfig;
54 extern int rtems_minimac_driver_attach (struct rtems_bsdnet_ifconfig *config,
55  int attaching);
56 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_minimac_driver_attach
57 #define RTEMS_BSP_NETWORK_DRIVER_NAME "minimac0"
58 #endif
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
66 #endif
Definition: deflate.c:115
DEFAULT_INITIAL_EXTENSION Support.