/** * @file * * @ingroup RTEMSImplClassic * * @brief This source file contains the implementation of * rtems_interrupt_level_body() and the definition of ::rtems_interrupt_mask * to support languages other than C/C++. */ /* * COPYRIGHT (c) 1989-2012. * 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.rtems.org/license/LICENSE. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include const uint32_t rtems_interrupt_mask = RTEMS_INTERRUPT_MASK; rtems_mode rtems_interrupt_level_body( uint32_t level ) { return RTEMS_INTERRUPT_LEVEL(level); }