blob: 0c512811774b6e898ed1663c086e2adbc2066eff (
plain) (
tree)
|
|
/**
* @file
*
* @body Body for Mode Routines Implemented as Macros
*
* This file contains bodies for Mode Macros which are
* needed by language bindings other than C and 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.com/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);
}
|