4.104.114.84.95
Rev | Line | |
---|
[ac7d5ef0] | 1 | /* |
---|
| 2 | * vmeintr.h |
---|
| 3 | * |
---|
| 4 | * This file is the specification for the VMEbus interface library |
---|
| 5 | * which should be provided by all BSPs for VMEbus Single Board |
---|
| 6 | * Computers but currently only a few do so. |
---|
| 7 | * |
---|
[08311cc3] | 8 | * COPYRIGHT (c) 1989-1999. |
---|
[ac7d5ef0] | 9 | * On-Line Applications Research Corporation (OAR). |
---|
| 10 | * |
---|
[98e4ebf5] | 11 | * The license and distribution terms for this file may be |
---|
| 12 | * found in the file LICENSE in this distribution or at |
---|
[03f2154e] | 13 | * http://www.OARcorp.com/rtems/license.html. |
---|
[ac7d5ef0] | 14 | * |
---|
| 15 | * $Id$ |
---|
| 16 | */ |
---|
| 17 | |
---|
| 18 | #ifndef __VME_INTERRUPT_h |
---|
| 19 | #define __VME_INTERRUPT_h |
---|
| 20 | |
---|
| 21 | #ifdef __cplusplus |
---|
| 22 | extern "C" { |
---|
| 23 | #endif |
---|
| 24 | |
---|
| 25 | /* |
---|
| 26 | * This defines the mask which is used to determine which |
---|
| 27 | * interrupt levels are affected by a call to this package. |
---|
| 28 | * The LSB corresponds to VME interrupt 0 and the MSB |
---|
| 29 | * to VME interrupt 7. |
---|
| 30 | * |
---|
| 31 | */ |
---|
| 32 | |
---|
| 33 | typedef rtems_unsigned8 VME_interrupt_Mask; |
---|
| 34 | |
---|
| 35 | /* |
---|
| 36 | * VME_interrupt_Disable |
---|
| 37 | * |
---|
| 38 | */ |
---|
| 39 | |
---|
| 40 | void VME_interrupt_Disable ( |
---|
| 41 | VME_interrupt_Mask mask /* IN */ |
---|
| 42 | ); |
---|
| 43 | |
---|
| 44 | /* |
---|
| 45 | * VME_interrupt_Disable |
---|
| 46 | * |
---|
| 47 | */ |
---|
| 48 | |
---|
| 49 | void VME_interrupt_Enable ( |
---|
| 50 | VME_interrupt_Mask mask /* IN */ |
---|
| 51 | ); |
---|
| 52 | |
---|
| 53 | #ifdef __cplusplus |
---|
| 54 | } |
---|
| 55 | #endif |
---|
| 56 | |
---|
| 57 | #endif /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.