blob: acc499377c72cf385db059f04709ec3dc058673b (
plain) (
tree)
|
|
/**
* @file
*
* @brief Body for RTEMS_INTERRUPT_LEVEL Macro
* @ingroup ClassicModes
*/
/*
* 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.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/system.h>
#include <rtems/rtems/tasks.h>
#include <rtems/score/stack.h>
#include <rtems/rtems/modes.h>
const uint32_t rtems_interrupt_mask = RTEMS_INTERRUPT_MASK;
Modes_Control rtems_interrupt_level_body(
uint32_t level
)
{
return RTEMS_INTERRUPT_LEVEL(level);
}
|