[c8471315] | 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 |
---|
| 20 | extern "C" { |
---|
| 21 | #endif |
---|
| 22 | |
---|
| 23 | #include <rtems.h> |
---|
| 24 | #include <iosupp.h> |
---|
| 25 | #include <console.h> |
---|
| 26 | #include <clockdrv.h> |
---|
| 27 | |
---|
| 28 | /* |
---|
| 29 | * Define the time limits for RTEMS Test Suite test durations. |
---|
| 30 | * Long test and short test duration limits are provided. These |
---|
| 31 | * values are in seconds and need to be converted to ticks for the |
---|
| 32 | * application. |
---|
| 33 | * |
---|
| 34 | */ |
---|
| 35 | |
---|
| 36 | #define MAX_LONG_TEST_DURATION 300 /* 5 minutes = 300 seconds */ |
---|
| 37 | #define MAX_SHORT_TEST_DURATION 3 /* 3 seconds */ |
---|
| 38 | |
---|
| 39 | /* |
---|
| 40 | * Define the interrupt mechanism for Time Test 27 |
---|
| 41 | * |
---|
| 42 | * NOTE: Following are for XXX and are board independent |
---|
| 43 | * |
---|
| 44 | */ |
---|
| 45 | |
---|
| 46 | #define MUST_WAIT_FOR_INTERRUPT 0 |
---|
| 47 | |
---|
| 48 | #define Install_tm27_vector( handler ) |
---|
| 49 | |
---|
| 50 | #define Cause_tm27_intr() |
---|
| 51 | |
---|
| 52 | #define Clear_tm27_intr() |
---|
| 53 | |
---|
| 54 | #define Lower_tm27_intr() |
---|
| 55 | |
---|
| 56 | /* Constants */ |
---|
| 57 | |
---|
| 58 | /* miscellaneous stuff assumed to exist */ |
---|
| 59 | |
---|
| 60 | extern rtems_configuration_table BSP_Configuration; |
---|
| 61 | |
---|
| 62 | /* |
---|
| 63 | * Device Driver Table Entries |
---|
| 64 | */ |
---|
| 65 | |
---|
| 66 | /* |
---|
| 67 | * NOTE: Use the standard Console driver entry |
---|
| 68 | */ |
---|
| 69 | |
---|
| 70 | /* |
---|
| 71 | * NOTE: Use the standard Clock driver entry |
---|
| 72 | */ |
---|
| 73 | |
---|
| 74 | /* functions */ |
---|
| 75 | |
---|
| 76 | void bsp_cleanup( void ); |
---|
| 77 | |
---|
| 78 | /* i960_isr_entry set_vector( rtems_isr_entry, unsigned int, unsigned int ); */ |
---|
| 79 | |
---|
| 80 | #ifdef __cplusplus |
---|
| 81 | } |
---|
| 82 | #endif |
---|
| 83 | |
---|
| 84 | #endif |
---|
| 85 | /* end of include file */ |
---|