OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [score/] [include/] [rtems/] [score/] [stack.h] - Blame information for rev 587

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  stack.h
2
 *
3
 *  This include file contains all information about the thread
4
 *  Stack Handler.  This Handler provides mechanisms which can be used to
5
 *  initialize and utilize stacks.
6
 *
7
 *  COPYRIGHT (c) 1989-1999.
8
 *  On-Line Applications Research Corporation (OAR).
9
 *
10
 *  The license and distribution terms for this file may be
11
 *  found in the file LICENSE in this distribution or at
12
 *  http://www.OARcorp.com/rtems/license.html.
13
 *
14
 *  $Id: stack.h,v 1.2 2001-09-27 11:59:32 chris Exp $
15
 */
16
 
17
#ifndef __STACK_h
18
#define __STACK_h
19
 
20
#ifdef __cplusplus
21
extern "C" {
22
#endif
23
 
24
/*
25
 *  The following constant defines the minimum stack size which every
26
 *  thread must exceed.
27
 */
28
 
29
#define STACK_MINIMUM_SIZE  CPU_STACK_MINIMUM_SIZE
30
 
31
/*
32
 *  The following defines the control block used to manage each stack.
33
 */
34
 
35
typedef struct {
36
  unsigned32  size;        /* stack size */
37
  void       *area;        /* low memory addr of stack */
38
}   Stack_Control;
39
 
40
#ifndef __RTEMS_APPLICATION__
41
#include <rtems/score/stack.inl>
42
#endif
43
 
44
#ifdef __cplusplus
45
}
46
#endif
47
 
48
#endif
49
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.