source: rtems/bsps/lm32/lm32_evr/include/bsp.h @ 8ce93dc9

5
Last change on this file since 8ce93dc9 was 8ce93dc9, checked in by Joel Sherrill <joel@…>, on Mar 15, 2018 at 2:42:10 PM

lm32_evr/include/bsp.h: Remove definition of BSP_DIRTY_MEMORY to eliminate warning

  • Property mode set to 100644
File size: 1.8 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup lm32_evr
5 *
6 * @brief Global BSP definitions.
7 */
8
9/*
10 *  COPYRIGHT (c) 1989-1999.
11 *  On-Line Applications Research Corporation (OAR).
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 *  Jukka Pietarinen <jukka.pietarinen@mrf.fi>, 2008,
18 *  Micro-Research Finland Oy
19 */
20
21#ifndef LIBBSP_LM32_LM32_EVR_BSP_H
22#define LIBBSP_LM32_LM32_EVR_BSP_H
23
24#include <stdint.h>
25#include <bspopts.h>
26#include <bsp/default-initial-extension.h>
27
28#include <rtems.h>
29
30/**
31 * @defgroup lm32_evr EVR Support
32 *
33 * @ingroup bsp_lm32
34 *
35 * @brief EVR support package.
36 */
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42/*
43 * lm32 requires certain aligment of mbuf because unaligned uint32_t
44 * accesses are not handled properly.
45 */
46
47#define CPU_U32_FIX
48
49#if defined(RTEMS_NETWORKING)
50struct rtems_bsdnet_ifconfig;
51
52extern int rtems_tsmac_driver_attach(struct rtems_bsdnet_ifconfig *config,
53                                     int attaching);
54
55#define RTEMS_BSP_NETWORK_DRIVER_NAME "TSMAC0"
56#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_tsmac_driver_attach
57
58  /*
59   * Due to a hardware design error (RJ45 connector with 10baseT magnetics)
60   * we are forced to use 10baseT mode.
61   */
62
63#define TSMAC_FORCE_10BASET
64#endif
65
66/* functions */
67rtems_isr_entry set_vector(                     /* returns old vector */
68  rtems_isr_entry     handler,                  /* isr routine        */
69  rtems_vector_number vector,                   /* vector number      */
70  int                 type                      /* RTEMS or RAW intr  */
71);
72
73/*
74 * Prototypes for BSP methods that cross file boundaries
75 */
76void BSP_uart_polled_write(char ch);
77int BSP_uart_polled_read( void );
78char BSP_uart_is_character_ready(char *ch);
79
80#ifdef __cplusplus
81}
82#endif
83
84#endif
85/* end of include file */
Note: See TracBrowser for help on using the repository browser.