Changeset addebe67 in rtems


Ignore:
Timestamp:
Sep 3, 2002, 6:31:23 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
640e0dd6
Parents:
6a2d7ee
Message:

2002-09-03 Joel Sherrill <joel@…>

  • base_mp now builds and can be considered a bit of an example for the other mptests.
  • mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am, samples/base_mp/mptest.adb, samples/base_mp/mptest.ads, samples/base_mp/node1/Makefile.am, samples/base_mp/node2/Makefile.am: Modified to make compile.
  • mptests/mp01/node1/mptest-per_node_configuration.adb, mptests/mp01/node2/mptest-per_node_configuration.adb, mptests/mp02/node1/mptest-per_node_configuration.adb, mptests/mp02/node2/mptest-per_node_configuration.adb, mptests/mp03/node1/mptest-per_node_configuration.adb, mptests/mp03/node2/mptest-per_node_configuration.adb, mptests/mp04/node1/mptest-per_node_configuration.adb, mptests/mp04/node2/mptest-per_node_configuration.adb, mptests/mp05/node1/mptest-per_node_configuration.adb, mptests/mp05/node2/mptest-per_node_configuration.adb, mptests/mp06/node1/mptest-per_node_configuration.adb, mptests/mp06/node2/mptest-per_node_configuration.adb, mptests/mp07/node1/mptest-per_node_configuration.adb, mptests/mp07/node2/mptest-per_node_configuration.adb, mptests/mp08/node1/mptest-per_node_configuration.adb, mptests/mp08/node2/mptest-per_node_configuration.adb, mptests/mp09/node1/mptest-per_node_configuration.adb, mptests/mp09/node2/mptest-per_node_configuration.adb, mptests/mp10/node1/mptest-per_node_configuration.adb, mptests/mp10/node2/mptest-per_node_configuration.adb, mptests/mp11/node1/mptest-per_node_configuration.adb, mptests/mp11/node2/mptest-per_node_configuration.adb, mptests/mp12/node1/mptest-per_node_configuration.adb, mptests/mp12/node2/mptest-per_node_configuration.adb, mptests/mp13/node1/mptest-per_node_configuration.adb, mptests/mp13/node2/mptest-per_node_configuration.adb, mptests/mp14/node1/mptest-per_node_configuration.adb, mptests/mp14/node2/mptest-per_node_configuration.adb, samples/base_mp/node1/mptest-per_node_configuration.adb, samples/base_mp/node2/mptest-per_node_configuration.adb: Removed as this information should come from config.h.
Location:
c/src/ada-tests
Files:
30 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • c/src/ada-tests/ChangeLog

    r6a2d7ee raddebe67  
     12002-09-03      Joel Sherrill <joel@OARcorp.com>
     2
     3        * base_mp now builds and can be considered a bit of an example for
     4        the other mptests.
     5        * mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
     6        samples/base_mp/mptest.adb, samples/base_mp/mptest.ads,
     7        samples/base_mp/node1/Makefile.am, samples/base_mp/node2/Makefile.am:
     8        Modified to make compile.
     9        * mptests/mp01/node1/mptest-per_node_configuration.adb,
     10        mptests/mp01/node2/mptest-per_node_configuration.adb,
     11        mptests/mp02/node1/mptest-per_node_configuration.adb,
     12        mptests/mp02/node2/mptest-per_node_configuration.adb,
     13        mptests/mp03/node1/mptest-per_node_configuration.adb,
     14        mptests/mp03/node2/mptest-per_node_configuration.adb,
     15        mptests/mp04/node1/mptest-per_node_configuration.adb,
     16        mptests/mp04/node2/mptest-per_node_configuration.adb,
     17        mptests/mp05/node1/mptest-per_node_configuration.adb,
     18        mptests/mp05/node2/mptest-per_node_configuration.adb,
     19        mptests/mp06/node1/mptest-per_node_configuration.adb,
     20        mptests/mp06/node2/mptest-per_node_configuration.adb,
     21        mptests/mp07/node1/mptest-per_node_configuration.adb,
     22        mptests/mp07/node2/mptest-per_node_configuration.adb,
     23        mptests/mp08/node1/mptest-per_node_configuration.adb,
     24        mptests/mp08/node2/mptest-per_node_configuration.adb,
     25        mptests/mp09/node1/mptest-per_node_configuration.adb,
     26        mptests/mp09/node2/mptest-per_node_configuration.adb,
     27        mptests/mp10/node1/mptest-per_node_configuration.adb,
     28        mptests/mp10/node2/mptest-per_node_configuration.adb,
     29        mptests/mp11/node1/mptest-per_node_configuration.adb,
     30        mptests/mp11/node2/mptest-per_node_configuration.adb,
     31        mptests/mp12/node1/mptest-per_node_configuration.adb,
     32        mptests/mp12/node2/mptest-per_node_configuration.adb,
     33        mptests/mp13/node1/mptest-per_node_configuration.adb,
     34        mptests/mp13/node2/mptest-per_node_configuration.adb,
     35        mptests/mp14/node1/mptest-per_node_configuration.adb,
     36        mptests/mp14/node2/mptest-per_node_configuration.adb,
     37        samples/base_mp/node1/mptest-per_node_configuration.adb,
     38        samples/base_mp/node2/mptest-per_node_configuration.adb: Removed
     39        as this information should come from config.h.
     40
    1412002-09-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    242
  • c/src/ada-tests/mptests/mp01/node1/Makefile.am

    r6a2d7ee raddebe67  
    88AM_ADAFLAGS += -I$(srcdir)/..
    99
    10 node1$(EXEEXT): mptest-per_node_configuration.adb
     10node1$(EXEEXT): ../mptest.adb
    1111        $(GNATCOMPILE) -margs -a $< -o $@
    1212
  • c/src/ada-tests/mptests/mp01/node2/Makefile.am

    r6a2d7ee raddebe67  
    88AM_ADAFLAGS += -I$(srcdir)/..
    99
    10 node2$(EXEEXT): mptest-per_node_configuration.adb
     10node2$(EXEEXT): ../mptest.adb
    1111        $(GNATCOMPILE) -margs -a $< -o $@
    1212
  • c/src/ada-tests/samples/base_mp/mptest.adb

    r6a2d7ee raddebe67  
    3030package body MPTEST is
    3131
    32    package body PER_NODE_CONFIGURATION is separate;
    33 
    3432--PAGE
    3533--
     
    4038      ARGUMENT : in     RTEMS.TASK_ARGUMENT
    4139   ) is
    42       C      : RTEMS.CHARACTER;
    43       TIME   : RTEMS.TIME_OF_DAY;
    4440      STATUS : RTEMS.STATUS_CODES;
    4541   begin
     
    8480      ARGUMENT : in     RTEMS.TASK_ARGUMENT
    8581   ) is
    86       TIME   : RTEMS.TIME_OF_DAY;
    8782      TID    : RTEMS.ID;
    8883      STATUS : RTEMS.STATUS_CODES;
  • c/src/ada-tests/samples/base_mp/mptest.ads

    r6a2d7ee raddebe67  
    6060   );
    6161
    62 --
    63 --  This is the Driver Address Table for this test.
    64 --
    65 
    66    DEVICE_DRIVERS : aliased RTEMS.DRIVER_ADDRESS_TABLE( 1 .. 1 ) :=
    67    (1=>
    68       (
    69         CLOCK_DRIVER.INITIALIZE'ACCESS,              -- Initialization
    70         RTEMS.NO_DRIVER_ENTRY,                       -- Open
    71         RTEMS.NO_DRIVER_ENTRY,                       -- Close
    72         RTEMS.NO_DRIVER_ENTRY,                       -- Read
    73         RTEMS.NO_DRIVER_ENTRY,                       -- Write
    74         RTEMS.NO_DRIVER_ENTRY                        -- Control
    75       )
    76    );
    77 
    78 --
    79 --  This is the Initialization Tasks Table for this test.
    80 --
    81 
    82    INITIALIZATION_TASKS : aliased RTEMS.INITIALIZATION_TASKS_TABLE( 1 .. 1 ) :=
    83    (1=>
    84      (
    85        RTEMS.BUILD_NAME( 'U', 'I', '1', ' ' ),        -- task name
    86        2048,                                          -- stack size
    87        1,                                             -- priority
    88        RTEMS.GLOBAL,                                  -- attributes
    89        MPTEST.INIT'ACCESS,                            -- entry point
    90        RTEMS.NO_PREEMPT,                              -- initial mode
    91        0                                              -- argument list
    92      )
    93    );
    94 
    95 ----------------------------------------------------------------------------
    96 ----------------------------------------------------------------------------
    97 --                             BEGIN SUBPACKAGE                           --
    98 ----------------------------------------------------------------------------
    99 ----------------------------------------------------------------------------
    100 
    101    --
    102    --  MPTEST.PER_NODE_CONFIGURATION / SPECIFICATION
    103    --
    104    --  DESCRIPTION:
    105    --
    106    --  This package is the specification for the subpackage
    107    --  which will define the per node configuration parameters.
    108    --
    109    
    110    package PER_NODE_CONFIGURATION is
    111 
    112    --
    113    --  LOCAL_NODE_NUMBER
    114    --
    115    --  DESCRIPTION:
    116    --
    117    --  This function returns the node number for this node.
    118    --
    119 
    120       function LOCAL_NODE_NUMBER
    121       return RTEMS.UNSIGNED32;
    122  
    123       pragma INLINE ( LOCAL_NODE_NUMBER );
    124 
    125    end PER_NODE_CONFIGURATION;
    126  
    127 ----------------------------------------------------------------------------
    128 ----------------------------------------------------------------------------
    129 --                              END SUBPACKAGE                            --
    130 ----------------------------------------------------------------------------
    131 ----------------------------------------------------------------------------
    132 
    133 --
    134 --  This is the Multiprocessor Configuration Table for this test.
    135 --
    136 
    137    MULTIPROCESSING_CONFIGURATION : aliased RTEMS.MULTIPROCESSING_TABLE := (
    138       MPTEST.PER_NODE_CONFIGURATION.LOCAL_NODE_NUMBER,
    139       2,                         -- maximum # nodes in system
    140       33,                        -- maximum # global objects
    141       33                         -- maximum # proxies
    142     );
    143 
    144 --
    145 --  This is the Configuration Table for this test.
    146 --
    147 
    148    CONFIGURATION : aliased RTEMS.CONFIGURATION_TABLE := (
    149       RTEMS.NULL_ADDRESS,        -- will be replaced by BSP
    150       64 * 1024,                 -- executive RAM size
    151       10,                        -- maximum # tasks
    152       0,                         -- maximum # timers
    153       0,                         -- maximum # semaphores
    154       0,                         -- maximum # message queues
    155       0,                         -- maximum # messages
    156       0,                         -- maximum # partitions
    157       0,                         -- maximum # regions
    158       0,                         -- maximum # dp memory areas
    159       0,                         -- maximum # periods
    160       0,                         -- maximum # user extensions
    161       RTEMS.MILLISECONDS_TO_MICROSECONDS(10), -- # us in a tick
    162       50                         -- # ticks in a timeslice
    163   );
    164 
    16562end MPTEST;
  • c/src/ada-tests/samples/base_mp/node1/Makefile.am

    r6a2d7ee raddebe67  
    88AM_ADAFLAGS += -I$(srcdir)/..
    99
    10 node1$(EXEEXT): mptest-per_node_configuration.adb
     10node1$(EXEEXT): ../mptest.adb
    1111        $(GNATCOMPILE) -margs -a $< -o $@
    1212
     
    1515endif
    1616
    17 node1_SOURCES = mptest-per_node_configuration.adb
    18 
    1917EXTRA_DIST = base_mp.scn
    2018
  • c/src/ada-tests/samples/base_mp/node2/Makefile.am

    r6a2d7ee raddebe67  
    88AM_ADAFLAGS += -I$(srcdir)/..
    99
    10 node2$(EXEEXT): mptest-per_node_configuration.adb
     10node2$(EXEEXT): ../mptest.adb
    1111        $(GNATCOMPILE) -margs -a $< -o $@
    1212
Note: See TracChangeset for help on using the changeset viewer.