Changeset addebe67 in rtems
- Timestamp:
- 09/03/02 18:31:23 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 640e0dd6
- Parents:
- 6a2d7ee
- Location:
- c/src/ada-tests
- Files:
-
- 30 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/ada-tests/ChangeLog
r6a2d7ee raddebe67 1 2002-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 1 41 2002-09-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 42 -
c/src/ada-tests/mptests/mp01/node1/Makefile.am
r6a2d7ee raddebe67 8 8 AM_ADAFLAGS += -I$(srcdir)/.. 9 9 10 node1$(EXEEXT): mptest-per_node_configuration.adb10 node1$(EXEEXT): ../mptest.adb 11 11 $(GNATCOMPILE) -margs -a $< -o $@ 12 12 -
c/src/ada-tests/mptests/mp01/node2/Makefile.am
r6a2d7ee raddebe67 8 8 AM_ADAFLAGS += -I$(srcdir)/.. 9 9 10 node2$(EXEEXT): mptest-per_node_configuration.adb10 node2$(EXEEXT): ../mptest.adb 11 11 $(GNATCOMPILE) -margs -a $< -o $@ 12 12 -
c/src/ada-tests/samples/base_mp/mptest.adb
r6a2d7ee raddebe67 30 30 package body MPTEST is 31 31 32 package body PER_NODE_CONFIGURATION is separate;33 34 32 --PAGE 35 33 -- … … 40 38 ARGUMENT : in RTEMS.TASK_ARGUMENT 41 39 ) is 42 C : RTEMS.CHARACTER;43 TIME : RTEMS.TIME_OF_DAY;44 40 STATUS : RTEMS.STATUS_CODES; 45 41 begin … … 84 80 ARGUMENT : in RTEMS.TASK_ARGUMENT 85 81 ) is 86 TIME : RTEMS.TIME_OF_DAY;87 82 TID : RTEMS.ID; 88 83 STATUS : RTEMS.STATUS_CODES; -
c/src/ada-tests/samples/base_mp/mptest.ads
r6a2d7ee raddebe67 60 60 ); 61 61 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, -- Initialization70 RTEMS.NO_DRIVER_ENTRY, -- Open71 RTEMS.NO_DRIVER_ENTRY, -- Close72 RTEMS.NO_DRIVER_ENTRY, -- Read73 RTEMS.NO_DRIVER_ENTRY, -- Write74 RTEMS.NO_DRIVER_ENTRY -- Control75 )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 name86 2048, -- stack size87 1, -- priority88 RTEMS.GLOBAL, -- attributes89 MPTEST.INIT'ACCESS, -- entry point90 RTEMS.NO_PREEMPT, -- initial mode91 0 -- argument list92 )93 );94 95 ----------------------------------------------------------------------------96 ----------------------------------------------------------------------------97 -- BEGIN SUBPACKAGE --98 ----------------------------------------------------------------------------99 ----------------------------------------------------------------------------100 101 --102 -- MPTEST.PER_NODE_CONFIGURATION / SPECIFICATION103 --104 -- DESCRIPTION:105 --106 -- This package is the specification for the subpackage107 -- which will define the per node configuration parameters.108 --109 110 package PER_NODE_CONFIGURATION is111 112 --113 -- LOCAL_NODE_NUMBER114 --115 -- DESCRIPTION:116 --117 -- This function returns the node number for this node.118 --119 120 function LOCAL_NODE_NUMBER121 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 system140 33, -- maximum # global objects141 33 -- maximum # proxies142 );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 BSP150 64 * 1024, -- executive RAM size151 10, -- maximum # tasks152 0, -- maximum # timers153 0, -- maximum # semaphores154 0, -- maximum # message queues155 0, -- maximum # messages156 0, -- maximum # partitions157 0, -- maximum # regions158 0, -- maximum # dp memory areas159 0, -- maximum # periods160 0, -- maximum # user extensions161 RTEMS.MILLISECONDS_TO_MICROSECONDS(10), -- # us in a tick162 50 -- # ticks in a timeslice163 );164 165 62 end MPTEST; -
c/src/ada-tests/samples/base_mp/node1/Makefile.am
r6a2d7ee raddebe67 8 8 AM_ADAFLAGS += -I$(srcdir)/.. 9 9 10 node1$(EXEEXT): mptest-per_node_configuration.adb10 node1$(EXEEXT): ../mptest.adb 11 11 $(GNATCOMPILE) -margs -a $< -o $@ 12 12 … … 15 15 endif 16 16 17 node1_SOURCES = mptest-per_node_configuration.adb18 19 17 EXTRA_DIST = base_mp.scn 20 18 -
c/src/ada-tests/samples/base_mp/node2/Makefile.am
r6a2d7ee raddebe67 8 8 AM_ADAFLAGS += -I$(srcdir)/.. 9 9 10 node2$(EXEEXT): mptest-per_node_configuration.adb10 node2$(EXEEXT): ../mptest.adb 11 11 $(GNATCOMPILE) -margs -a $< -o $@ 12 12
Note: See TracChangeset
for help on using the changeset viewer.