source: rtems/c/src/ada-tests/mptests/mp14/node1/mp14_node1.adb @ 8da756e

4.104.114.95
Last change on this file since 8da756e was 8da756e, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 3, 2007 at 8:12:15 PM

2007-10-03 Joel Sherrill <joel.sherrill@…>

  • mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am, mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am, mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am, mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am, mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am, mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am, mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am, mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am, mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am, mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am, mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am, mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am, mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am, mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am: Basic build structure should now be correct. The remaining issues should be test specific.
  • mptests/mp01/config_base.h, mptests/mp01/node1/config.h, mptests/mp01/node1/mp01_node1.adb, mptests/mp01/node2/config.h, mptests/mp01/node2/mp01_node2.adb, mptests/mp02/config_base.h, mptests/mp02/node1/config.h, mptests/mp02/node1/mp02_node1.adb, mptests/mp02/node2/config.h, mptests/mp02/node2/mp02_node2.adb, mptests/mp03/config_base.h, mptests/mp03/node1/config.h, mptests/mp03/node1/mp03_node1.adb, mptests/mp03/node2/config.h, mptests/mp03/node2/mp03_node2.adb, mptests/mp04/config_base.h, mptests/mp04/node1/config.h, mptests/mp04/node1/mp04_node1.adb, mptests/mp04/node2/config.h, mptests/mp04/node2/mp04_node2.adb, mptests/mp05/config_base.h, mptests/mp05/node1/config.h, mptests/mp05/node1/mp05_node1.adb, mptests/mp05/node2/config.h, mptests/mp05/node2/mp05_node2.adb, mptests/mp06/config_base.h, mptests/mp06/node1/config.h, mptests/mp06/node1/mp06_node1.adb, mptests/mp06/node2/config.h, mptests/mp06/node2/mp06_node2.adb, mptests/mp07/config_base.h, mptests/mp07/node1/config.h, mptests/mp07/node1/mp07_node1.adb, mptests/mp07/node2/config.h, mptests/mp07/node2/mp07_node2.adb, mptests/mp08/config_base.h, mptests/mp08/node1/config.h, mptests/mp08/node1/mp08_node1.adb, mptests/mp08/node2/config.h, mptests/mp08/node2/mp08_node2.adb, mptests/mp09/config_base.h, mptests/mp09/node1/config.h, mptests/mp09/node1/mp09_node1.adb, mptests/mp09/node2/config.h, mptests/mp09/node2/mp09_node2.adb, mptests/mp10/config_base.h, mptests/mp10/node1/config.h, mptests/mp10/node1/mp10_node1.adb, mptests/mp10/node2/config.h, mptests/mp10/node2/mp10_node2.adb, mptests/mp11/config_base.h, mptests/mp11/node1/config.h, mptests/mp11/node1/mp11_node1.adb, mptests/mp11/node2/config.h, mptests/mp11/node2/mp11_node2.adb, mptests/mp12/config_base.h, mptests/mp12/node1/config.h, mptests/mp12/node1/mp12_node1.adb, mptests/mp12/node2/config.h, mptests/mp12/node2/mp12_node2.adb, mptests/mp13/config_base.h, mptests/mp13/node1/config.h, mptests/mp13/node1/mp13_node1.adb, mptests/mp13/node2/config.h, mptests/mp13/node2/mp13_node2.adb, mptests/mp14/config_base.h, mptests/mp14/node1/config.h, mptests/mp14/node1/mp14_node1.adb, mptests/mp14/node2/config.h, mptests/mp14/node2/mp14_node2.adb: New files. GNATMAKE is easier to operate if the filename of the main package matches the executable name. In this case, we needed one for each node's executable.
  • mptests/mp01/config.h: Removed.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1--
2--  MAIN / BODY
3--
4--  DESCRIPTION:
5--
6--  This is the entry point for Test MP14_NODE1 of the Single Processor Test Suite.
7--
8--  DEPENDENCIES:
9--
10-- 
11--
12--  COPYRIGHT (c) 1989-2007.
13--  On-Line Applications Research Corporation (OAR).
14--
15--  The license and distribution terms for this file may in
16--  the file LICENSE in this distribution or at
17--  http://www.rtems.com/license/LICENSE.
18--
19--  $Id$
20--
21
22with RTEMS;
23with MPTEST;
24with TEST_SUPPORT;
25
26procedure MP14_NODE1 is
27  INIT_ID : RTEMS.ID;
28  STATUS  : RTEMS.STATUS_CODES;
29begin
30
31   RTEMS.TASK_CREATE(
32      RTEMS.BUILD_NAME(  'I', 'N', 'I', 'T' ),
33      1,
34      RTEMS.MINIMUM_STACK_SIZE,
35      RTEMS.NO_PREEMPT,
36      RTEMS.DEFAULT_ATTRIBUTES,
37      INIT_ID,
38      STATUS
39   );
40   TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
41
42
43   RTEMS.TASK_START(
44      INIT_ID,
45      MPTEST.INIT'ACCESS,
46      0,
47      STATUS
48   );
49   TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
50
51   loop
52      delay 120.0;
53   end loop;
54
55end MP14_NODE1;
56
Note: See TracBrowser for help on using the repository browser.