source: rtems/cpukit/score/include/rtems/score/stack.h @ d8cd045c

4.115
Last change on this file since d8cd045c was d8cd045c, checked in by Joel Sherrill <joel.sherrill@…>, on 06/17/11 at 15:40:09

2011-06-17 Joel Sherrill <joel.sherrill@…>

  • rtems/include/rtems/rtems/types.h, score/include/rtems/score/address.h, score/include/rtems/score/apiext.h, score/include/rtems/score/bitfield.h, score/include/rtems/score/context.h, score/include/rtems/score/corebarrier.h, score/include/rtems/score/coremsg.h, score/include/rtems/score/coremutex.h, score/include/rtems/score/corerwlock.h, score/include/rtems/score/coresem.h, score/include/rtems/score/corespinlock.h, score/include/rtems/score/interr.h, score/include/rtems/score/isr.h, score/include/rtems/score/mpci.h, score/include/rtems/score/mppkt.h, score/include/rtems/score/objectmp.h, score/include/rtems/score/percpu.h, score/include/rtems/score/priority.h, score/include/rtems/score/rbtree.h, score/include/rtems/score/scheduler.h, score/include/rtems/score/smp.h, score/include/rtems/score/smplock.h, score/include/rtems/score/stack.h, score/include/rtems/score/states.h, score/include/rtems/score/thread.h, score/include/rtems/score/threadq.h, score/include/rtems/score/threadsync.h, score/include/rtems/score/timespec.h, score/include/rtems/score/timestamp.h, score/include/rtems/score/timestamp64.h, score/include/rtems/score/tod.h, score/include/rtems/score/tqdata.h, score/include/rtems/score/watchdog.h, score/include/rtems/score/wkspace.h: Mark Score files as in Score Group to improve Doxygen output.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1/**
2 *  @file  rtems/score/stack.h
3 *
4 *  This include file contains all information about the thread
5 *  Stack Handler.  This Handler provides mechanisms which can be used to
6 *  initialize and utilize stacks.
7 */
8
9/*
10 *  COPYRIGHT (c) 1989-2006.
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.com/license/LICENSE.
16 *
17 *  $Id$
18 */
19
20#ifndef _RTEMS_SCORE_STACK_H
21#define _RTEMS_SCORE_STACK_H
22
23/**
24 *  @defgroup ScoreStack Stack Handler
25 *
26 *  @ingroup Score
27 *
28 *  This handler encapsulates functionality which is used in the management
29 *  of thread stacks.
30 */
31/**@{*/
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37/**
38 *  The following constant defines the minimum stack size which every
39 *  thread must exceed.
40 */
41#define STACK_MINIMUM_SIZE  CPU_STACK_MINIMUM_SIZE
42
43/**
44 *  The following defines the control block used to manage each stack.
45 */
46typedef struct {
47  /** This is the stack size. */
48  size_t      size;
49  /** This is the low memory address of stack. */
50  void       *area;
51}   Stack_Control;
52
53/**
54 *  This variable contains the the minimum stack size;
55 *
56 *  @note It is instantiated and set by User Configuration via confdefs.h.
57 */
58extern uint32_t rtems_minimum_stack_size;
59
60#ifndef __RTEMS_APPLICATION__
61#include <rtems/score/stack.inl>
62#endif
63
64#ifdef __cplusplus
65}
66#endif
67
68/**@}*/
69
70#endif
71/* end of include file */
Note: See TracBrowser for help on using the repository browser.