source: rtems/c/src/lib/libbsp/mips/jmr3904/include/bsp.h @ 7a677fd7

4.104.114.84.95
Last change on this file since 7a677fd7 was 7a677fd7, checked in by Joel Sherrill <joel.sherrill@…>, on 12/13/00 at 22:16:28

2000-12-13 Joel Sherrill <joel@…>

  • README: Updated. We are now vectoring a clock tick ISR handler. But RTEMS is not returning from the ISR properly.
  • clock/clockdrv.c: Now causes interrupts but has not been calibrated.
  • include/bsp.h: Use <libcpu/tx3904.h>
  • startup/Makefile.am: Add setvec.c from shared.
  • startup/bspstart.c: Initialize the status register (SR) so no interrupts are masked but global interrupts (SR_IEC) are off. Added call to install the ISR prologue code.
  • wrapup/Makefile.am: Pick up more pieces from libcpu.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1/*  bsp.h
2 *
3 *  This include file contains some definitions specific to the
4 *  JMR3904 simulator in gdb.
5 *
6 *  COPYRIGHT (c) 1989-2000.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.OARcorp.com/rtems/license.html.
12 *
13 *  $Id$
14 */
15
16#ifndef __JMR3904_h
17#define __JMR3904_h
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#include <rtems.h>
24#include <iosupp.h>
25#include <console.h>
26#include <clockdrv.h>
27#include <libcpu/tx3904.h>
28
29/*
30 *  Define the time limits for RTEMS Test Suite test durations.
31 *  Long test and short test duration limits are provided.  These
32 *  values are in seconds and need to be converted to ticks for the
33 *  application.
34 *
35 */
36
37#define MAX_LONG_TEST_DURATION       300 /* 5 minutes = 300 seconds */
38#define MAX_SHORT_TEST_DURATION      3   /* 3 seconds */
39
40/*
41 *  Define the interrupt mechanism for Time Test 27
42 *
43 *  NOTE: Following are for XXX and are board independent
44 *
45 */
46
47#define MUST_WAIT_FOR_INTERRUPT 0
48
49#define Install_tm27_vector( handler )
50
51#define Cause_tm27_intr() 
52
53#define Clear_tm27_intr() 
54
55#define Lower_tm27_intr()
56
57/* Constants */
58
59/* miscellaneous stuff assumed to exist */
60
61extern rtems_configuration_table BSP_Configuration;
62
63/*
64 *  Device Driver Table Entries
65 */
66
67/*
68 * NOTE: Use the standard Console driver entry
69 */
70 
71/*
72 * NOTE: Use the standard Clock driver entry
73 */
74
75/* functions */
76
77void bsp_cleanup( void );
78
79/* i960_isr_entry set_vector( rtems_isr_entry, unsigned int, unsigned int ); */
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.