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

4.104.114.84.95
Last change on this file since 11874561 was 11874561, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/21/04 at 07:17:38

Adjust doxygen @file.

  • Property mode set to 100644
File size: 1.2 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-2004.
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 __STACK_h
21#define __STACK_h
22
23/**
24 *  @defgroup ScoreStack Stack Handler
25 *
26 *  This group contains functionality which XXX
27 */
28/**@{*/
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34/*
35 *  The following constant defines the minimum stack size which every
36 *  thread must exceed.
37 */
38
39#define STACK_MINIMUM_SIZE  CPU_STACK_MINIMUM_SIZE
40
41/*
42 *  The following defines the control block used to manage each stack.
43 */
44
45typedef struct {
46  uint32_t    size;        /* stack size */
47  void       *area;        /* low memory addr of stack */
48}   Stack_Control;
49
50#ifndef __RTEMS_APPLICATION__
51#include <rtems/score/stack.inl>
52#endif
53
54#ifdef __cplusplus
55}
56#endif
57
58/**@}*/
59
60#endif
61/* end of include file */
Note: See TracBrowser for help on using the repository browser.