4.104.115
Line | |
---|
1 | /** |
---|
2 | * @file rtems/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 | |
---|
9 | /* |
---|
10 | * COPYRIGHT (c) 1989-1999. |
---|
11 | * On-Line Applications Research Corporation (OAR). |
---|
12 | * |
---|
13 | * The license and distribution terms for this file may be |
---|
14 | * found in the file LICENSE in this distribution or at |
---|
15 | * http://www.rtems.com/license/LICENSE. |
---|
16 | * |
---|
17 | * $Id$ |
---|
18 | */ |
---|
19 | |
---|
20 | #ifndef _RTEMS_VMEINTR_H |
---|
21 | #define _RTEMS_VMEINTR_H |
---|
22 | |
---|
23 | #ifdef __cplusplus |
---|
24 | extern "C" { |
---|
25 | #endif |
---|
26 | |
---|
27 | /* |
---|
28 | * This defines the mask which is used to determine which |
---|
29 | * interrupt levels are affected by a call to this package. |
---|
30 | * The LSB corresponds to VME interrupt 0 and the MSB |
---|
31 | * to VME interrupt 7. |
---|
32 | * |
---|
33 | */ |
---|
34 | |
---|
35 | typedef uint8_t VME_interrupt_Mask; |
---|
36 | |
---|
37 | /* |
---|
38 | * VME_interrupt_Disable |
---|
39 | * |
---|
40 | */ |
---|
41 | |
---|
42 | void VME_interrupt_Disable ( |
---|
43 | VME_interrupt_Mask mask /* IN */ |
---|
44 | ); |
---|
45 | |
---|
46 | /* |
---|
47 | * VME_interrupt_Disable |
---|
48 | * |
---|
49 | */ |
---|
50 | |
---|
51 | void VME_interrupt_Enable ( |
---|
52 | VME_interrupt_Mask mask /* IN */ |
---|
53 | ); |
---|
54 | |
---|
55 | #ifdef __cplusplus |
---|
56 | } |
---|
57 | #endif |
---|
58 | |
---|
59 | #endif /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.