source: rtems/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/**
2 *  @file
3 * 
4 *  This include file contains some definitions specific to a board
5 *  based upon the generic capabilities of a Mongoose-V.
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2012.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.com/license/LICENSE.
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/iosupp.h>
28#include <rtems/console.h>
29#include <rtems/clockdrv.h>
30#include <libcpu/mongoose-v.h>
31
32#define BSP_FEATURE_IRQ_EXTENSION
33#define BSP_SHARED_HANDLER_SUPPORT      1
34
35#ifndef CPU_CLOCK_RATE
36#define CLOCK_RATE      12000000
37#endif
38
39#define CPU_CLOCK_RATE_HZ       CLOCK_RATE
40#define CPU_CLOCK_RATE_MHZ      (CLOCK_RATE/1000000)
41
42/*
43 * Useful defines set here so we can avoid duplicating them all over
44 * creation.
45 *
46 */
47
48/*
49 * assertSoftwareInt defined in vectorisrs.c the prototype is here so
50 * userspace code can get to it directly.
51 *  */
52
53extern void assertSoftwareInterrupt(uint32_t);
54
55#define CLOCK_VECTOR    MONGOOSEV_IRQ_TIMER1
56
57/* from start.S */
58extern void promCopyIcacheFlush(void);
59extern void promCopyDcacheFlush(void);
60
61#ifdef __cplusplus
62}
63#endif
64
65#endif
66
Note: See TracBrowser for help on using the repository browser.