source: rtems/cpukit/rtems/src/attr.c @ eaef4657

4.104.115
Last change on this file since eaef4657 was ecf0f4c, checked in by Joel Sherrill <joel.sherrill@…>, on 06/13/08 at 15:06:32

2008-06-13 Joel Sherrill <joel.sherrill@…>

  • posix/include/rtems/posix/pthread.h, posix/src/pthread.c, posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c, sapi/include/confdefs.h, sapi/include/rtems/config.h, score/inline/rtems/score/stack.inl, score/src/isr.c, score/src/mpci.c, score/src/threadcreateidle.c, score/src/threadinitialize.c, score/src/threadstackallocate.c: Add ability for application to configure minimum stack size. Add RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly indicate they want the configured as opposed to the recommended minimum stack size.
  • Property mode set to 100644
File size: 638 bytes
Line 
1/*
2 *  Body for Attribute Routines
3 *
4 *
5 *  COPYRIGHT (c) 1989-1999.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 *
12 *  $Id$
13 */
14
15#if HAVE_CONFIG_H
16#include "config.h"
17#endif
18
19#include <rtems/system.h>
20#include <rtems/rtems/tasks.h>
21#include <rtems/score/stack.h>
22#include <rtems/rtems/modes.h>
23
24uint32_t   rtems_interrupt_mask = RTEMS_INTERRUPT_MASK;
25
26rtems_attribute rtems_interrupt_level_attribute(
27  uint32_t   level
28)
29{
30  return RTEMS_INTERRUPT_LEVEL(level);
31}
Note: See TracBrowser for help on using the repository browser.