source: rtems/c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h @ e99dbaa

4.115
Last change on this file since e99dbaa was e99dbaa, checked in by Gedare Bloom <gedare@…>, on 04/16/12 at 23:35:25

no_cpu: replace no_cpu_isr with rtems_isr

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/*  bsp.h
2 *
3 *  This include file contains all board IO definitions.
4 *
5 *  XXX : put yours in here
6 *
7 *  COPYRIGHT (c) 1989-1999.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.com/license/LICENSE.
13 *
14 *  $Id$
15 */
16
17#ifndef _BSP_H
18#define _BSP_H
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#include <bspopts.h>
25
26#include <rtems.h>
27#include <rtems/console.h>
28#include <rtems/clockdrv.h>
29
30/*
31 *  Simple spin delay in microsecond units for device drivers.
32 *  This is very dependent on the clock speed of the target.
33 */
34
35#define rtems_bsp_delay( microseconds ) \
36  { \
37  }
38
39/* functions */
40
41rtems_isr_entry set_vector(                     /* returns old vector */
42  rtems_isr_entry     handler,                  /* isr routine        */
43  rtems_vector_number vector,                   /* vector number      */
44  int                 type                      /* RTEMS or RAW intr  */
45);
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif
Note: See TracBrowser for help on using the repository browser.