source: rtems/c/src/lib/libbsp/lm32/lm32_evr/include/bsp.h @ ee0ea5bf

4.115
Last change on this file since ee0ea5bf was 0e363f4, checked in by Joel Sherrill <joel.sherrill@…>, on 03/17/14 at 18:25:47

lm32_evr/include/bsp.h: Remove rtems_bsp_delay()

  • Property mode set to 100644
File size: 1.7 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 _BSP_H
22#define _BSP_H
23
24#include <stdint.h>
25#include <bspopts.h>
26#include <bsp/default-initial-extension.h>
27
28#include <rtems.h>
29#include <rtems/console.h>
30#include <rtems/clockdrv.h>
31
32/**
33 * @defgroup lm32_evr EVR Support
34 *
35 * @ingroup bsp_lm32
36 *
37 * @brief EVR support package.
38 */
39
40#if defined(RTEMS_NETWORKING)
41#include <rtems/rtems_bsdnet.h>
42#endif
43
44#ifdef __cplusplus
45extern "C" {
46#endif
47
48#define BSP_DIRTY_MEMORY 1
49
50  /*
51   * lm32 requires certain aligment of mbuf because unaligned uint32_t
52   * accesses are not handled properly.
53   */
54
55#define CPU_U32_FIX
56
57#if defined(RTEMS_NETWORKING)
58extern int rtems_tsmac_driver_attach(struct rtems_bsdnet_ifconfig *config,
59                                     int attaching);
60
61#define RTEMS_BSP_NETWORK_DRIVER_NAME "TSMAC0"
62#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_tsmac_driver_attach
63
64  /*
65   * Due to a hardware design error (RJ45 connector with 10baseT magnetics)
66   * we are forced to use 10baseT mode.
67   */
68
69#define TSMAC_FORCE_10BASET
70#endif
71
72/* functions */
73#if 0
74rtems_isr_entry set_vector(                     /* returns old vector */
75  rtems_isr_entry     handler,                  /* isr routine        */
76  rtems_vector_number vector,                   /* vector number      */
77  int                 type                      /* RTEMS or RAW intr  */
78);
79#endif
80
81#ifdef __cplusplus
82}
83#endif
84
85#endif
86/* end of include file */
Note: See TracBrowser for help on using the repository browser.