source: rtems/c/src/ada-tests/support/init.c @ b81db49f

4.104.114.84.95
Last change on this file since b81db49f was b81db49f, checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 13:27:12

2003-09-04 Joel Sherrill <joel@…>

  • sptests/sp19/sptest.adp, support/init.c: Removed incorrect statement about copyright assignment.
  • Property mode set to 100644
File size: 941 bytes
RevLine 
[f3f06f79]1/*
2 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  This material may be reproduced by or for the U.S. Government pursuant
6 *  to the copyright license under the clause at DFARS 252.227-7013.  This
7 *  notice must appear in all copies of this file and its derivatives.
8 *
9 *  $Id$
10 */
11
[d0f426a1]12#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
[f3f06f79]13#include <bsp.h>
[698b292]14#include <stdlib.h>
[f3f06f79]15
16void *POSIX_Init(
17  void *argument
18)
19{
20  extern int gnat_main ( int argc, char **argv, char **envp );
21
22  (void) gnat_main ( 0, 0, 0 );
23
24  exit( 0 );
25}
26
[d0f426a1]27/*
28 *  Only for sp04
29 */
30
31rtems_id tcb_to_id(
32  Thread_Control *tcb
33)
34{
35  return tcb->Object.id;
36}
37
[a47bd655]38/*
39 *  By putting this in brackets rather than quotes, we get the search
40 *  path and can get this file from ".." in the mptests.
41 */
42
[f3f06f79]43#define CONFIGURE_INIT
[0f9e7f96]44#define CONFIGURE_GNAT_RTEMS
45#define CONFIGURE_MEMORY_OVERHEAD        (256)
46
[a47bd655]47#include <config.h>
Note: See TracBrowser for help on using the repository browser.