source: rtems/cpukit/posix/src/adasupp.c @ 62bf651f

4.104.114.84.95
Last change on this file since 62bf651f was 62bf651f, checked in by Joel Sherrill <joel.sherrill@…>, on 08/29/96 at 16:39:01

new file to support GNU Ada.

currently the only routine in this file simply returns the minimum stack
size for each thread.

  • Property mode set to 100644
File size: 498 bytes
Line 
1/*
2 *  $Id$
3 */
4 
5#include <assert.h>
6#include <errno.h>
7#include <pthread.h>
8
9#include <rtems/system.h>
10#include <rtems/score/stack.h>
11
12/*PAGE
13 *
14 *  _ada_pthread_minimum_stack_size
15 *
16 *  This routine returns the minimum stack size so the GNAT RTS can
17 *  allocate enough stack for Ada tasks.
18 */
19
20size_t _ada_pthread_minimum_stack_size( void )
21{
22  /*
23   *  Eventually this may need to include a per cpu family calculation
24   *  but for now, this will do.
25   */
26
27  return STACK_MINIMUM_SIZE;
28}
Note: See TracBrowser for help on using the repository browser.