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 | * |
---|
| 8 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
| 9 | * On-Line Applications Research Corporation (OAR). |
---|
| 10 | * All rights assigned to U.S. Government, 1994. |
---|
| 11 | * |
---|
| 12 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
| 13 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
| 14 | * notice must appear in all copies of this file and its derivatives. |
---|
| 15 | * |
---|
| 16 | * $Id$ |
---|
| 17 | */ |
---|
| 18 | |
---|
| 19 | #ifndef __VME_INTERRUPT_h |
---|
| 20 | #define __VME_INTERRUPT_h |
---|
| 21 | |
---|
| 22 | #ifdef __cplusplus |
---|
| 23 | extern "C" { |
---|
| 24 | #endif |
---|
| 25 | |
---|
| 26 | /* |
---|
| 27 | * This defines the mask which is used to determine which |
---|
| 28 | * interrupt levels are affected by a call to this package. |
---|
| 29 | * The LSB corresponds to VME interrupt 0 and the MSB |
---|
| 30 | * to VME interrupt 7. |
---|
| 31 | * |
---|
| 32 | */ |
---|
| 33 | |
---|
| 34 | typedef rtems_unsigned8 VME_interrupt_Mask; |
---|
| 35 | |
---|
| 36 | /* |
---|
| 37 | * VME_interrupt_Disable |
---|
| 38 | * |
---|
| 39 | */ |
---|
| 40 | |
---|
| 41 | void VME_interrupt_Disable ( |
---|
| 42 | VME_interrupt_Mask mask /* IN */ |
---|
| 43 | ); |
---|
| 44 | |
---|
| 45 | /* |
---|
| 46 | * VME_interrupt_Disable |
---|
| 47 | * |
---|
| 48 | */ |
---|
| 49 | |
---|
| 50 | void VME_interrupt_Enable ( |
---|
| 51 | VME_interrupt_Mask mask /* IN */ |
---|
| 52 | ); |
---|
| 53 | |
---|
| 54 | #ifdef __cplusplus |
---|
| 55 | } |
---|
| 56 | #endif |
---|
| 57 | |
---|
| 58 | #endif /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.