mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-10 09:33:46 +00:00
58 lines
1.1 KiB
C
58 lines
1.1 KiB
C
/*
|
|
* vmeintr.h
|
|
*
|
|
* This file is the specification for the VMEbus interface library
|
|
* which should be provided by all BSPs for VMEbus Single Board
|
|
* Computers but currently only a few do so.
|
|
*
|
|
* COPYRIGHT (c) 1989-1999.
|
|
* On-Line Applications Research Corporation (OAR).
|
|
*
|
|
* The license and distribution terms for this file may be
|
|
* found in the file LICENSE in this distribution or at
|
|
* http://www.OARcorp.com/rtems/license.html.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#ifndef __VME_INTERRUPT_h
|
|
#define __VME_INTERRUPT_h
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* This defines the mask which is used to determine which
|
|
* interrupt levels are affected by a call to this package.
|
|
* The LSB corresponds to VME interrupt 0 and the MSB
|
|
* to VME interrupt 7.
|
|
*
|
|
*/
|
|
|
|
typedef rtems_unsigned8 VME_interrupt_Mask;
|
|
|
|
/*
|
|
* VME_interrupt_Disable
|
|
*
|
|
*/
|
|
|
|
void VME_interrupt_Disable (
|
|
VME_interrupt_Mask mask /* IN */
|
|
);
|
|
|
|
/*
|
|
* VME_interrupt_Disable
|
|
*
|
|
*/
|
|
|
|
void VME_interrupt_Enable (
|
|
VME_interrupt_Mask mask /* IN */
|
|
);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* end of include file */
|