source: rtems/cpukit/rtems/src/modes.c @ 66cb142

5
Last change on this file since 66cb142 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 682 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief Body for RTEMS_INTERRUPT_LEVEL Macro
5 *  @ingroup ClassicModes
6 */
7
8
9/*
10 *  COPYRIGHT (c) 1989-2012.
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.org/license/LICENSE.
16 */
17
18#if HAVE_CONFIG_H
19#include "config.h"
20#endif
21
22#include <rtems/system.h>
23#include <rtems/rtems/tasks.h>
24#include <rtems/score/stack.h>
25#include <rtems/rtems/modes.h>
26
27const uint32_t rtems_interrupt_mask = RTEMS_INTERRUPT_MASK;
28
29Modes_Control rtems_interrupt_level_body(
30  uint32_t   level
31)
32{
33  return RTEMS_INTERRUPT_LEVEL(level);
34}
Note: See TracBrowser for help on using the repository browser.