source: rtems/c/src/lib/libbsp/arm/armulator/include/bsp.h @ 366e548

4.104.114.84.95
Last change on this file since 366e548 was 366e548, checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:51:31

2003-09-04 Joel Sherrill <joel@…>

  • console/console-io.c, include/bsp.h, startup/bspstart.c: URL for license changed.
  • 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 *  ARM simulator in gdb (the ARMulator).
5 *
6 *  COPYRIGHT (c) 1989-1999.
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.rtems.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16#ifndef __ARMULATOR_h
17#define __ARMULATOR_h
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#include <bspopts.h>
24
25#include <rtems.h>
26#include <iosupp.h>
27#include <console.h>
28#include <clockdrv.h>
29
30/*
31 *  Define the time limits for RTEMS Test Suite test durations.
32 *  Long test and short test duration limits are provided.  These
33 *  values are in seconds and need to be converted to ticks for the
34 *  application.
35 *
36 */
37
38#define MAX_LONG_TEST_DURATION       300 /* 5 minutes = 300 seconds */
39#define MAX_SHORT_TEST_DURATION      3   /* 3 seconds */
40
41/*
42 *  Define the interrupt mechanism for Time Test 27
43 *
44 *  NOTE: Following are not defined and are board independent
45 *
46 */
47
48#define MUST_WAIT_FOR_INTERRUPT 0
49
50#define Install_tm27_vector( handler ) /* set_vector( (handler), 6, 1 ) */
51
52#define Cause_tm27_intr()  /* i960_cause_intr( 0x62 ) */
53
54#define Clear_tm27_intr()  /* i960_clear_intr( 6 ) */
55
56#define Lower_tm27_intr()
57
58/* Constants */
59
60/* miscellaneous stuff assumed to exist */
61
62extern rtems_configuration_table BSP_Configuration;
63
64/*
65 *  Device Driver Table Entries
66 */
67
68/*
69 * NOTE: Use the standard Console driver entry
70 */
71 
72/*
73 * NOTE: Use the standard Clock driver entry
74 */
75
76/* functions */
77
78void bsp_cleanup( void );
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.