2002-09-03 Joel Sherrill <joel@OARcorp.com>

* 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.
This commit is contained in:
Joel Sherrill
2002-09-03 18:31:23 +00:00
parent 6a2d7ee51e
commit addebe6765
37 changed files with 44 additions and 1404 deletions

View File

@@ -1,3 +1,43 @@
2002-09-03 Joel Sherrill <joel@OARcorp.com>
* 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.
2002-09-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mptests/mp01/node1/.cvsignore: New.

View File

@@ -7,7 +7,7 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node1$(EXEEXT): mptest-per_node_configuration.adb
node1$(EXEEXT): ../mptest.adb
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -7,7 +7,7 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node2$(EXEEXT): mptest-per_node_configuration.adb
node2$(EXEEXT): ../mptest.adb
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -29,8 +29,6 @@ with UNSIGNED32_IO;
package body MPTEST is
package body PER_NODE_CONFIGURATION is separate;
--PAGE
--
-- INIT
@@ -39,8 +37,6 @@ package body MPTEST is
procedure INIT (
ARGUMENT : in RTEMS.TASK_ARGUMENT
) is
C : RTEMS.CHARACTER;
TIME : RTEMS.TIME_OF_DAY;
STATUS : RTEMS.STATUS_CODES;
begin
@@ -83,7 +79,6 @@ package body MPTEST is
procedure APPLICATION_TASK (
ARGUMENT : in RTEMS.TASK_ARGUMENT
) is
TIME : RTEMS.TIME_OF_DAY;
TID : RTEMS.ID;
STATUS : RTEMS.STATUS_CODES;
begin

View File

@@ -59,107 +59,4 @@ package MPTEST is
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
--
-- This is the Driver Address Table for this test.
--
DEVICE_DRIVERS : aliased RTEMS.DRIVER_ADDRESS_TABLE( 1 .. 1 ) :=
(1=>
(
CLOCK_DRIVER.INITIALIZE'ACCESS, -- Initialization
RTEMS.NO_DRIVER_ENTRY, -- Open
RTEMS.NO_DRIVER_ENTRY, -- Close
RTEMS.NO_DRIVER_ENTRY, -- Read
RTEMS.NO_DRIVER_ENTRY, -- Write
RTEMS.NO_DRIVER_ENTRY -- Control
)
);
--
-- This is the Initialization Tasks Table for this test.
--
INITIALIZATION_TASKS : aliased RTEMS.INITIALIZATION_TASKS_TABLE( 1 .. 1 ) :=
(1=>
(
RTEMS.BUILD_NAME( 'U', 'I', '1', ' ' ), -- task name
2048, -- stack size
1, -- priority
RTEMS.GLOBAL, -- attributes
MPTEST.INIT'ACCESS, -- entry point
RTEMS.NO_PREEMPT, -- initial mode
0 -- argument list
)
);
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- BEGIN SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- MPTEST.PER_NODE_CONFIGURATION / SPECIFICATION
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
package PER_NODE_CONFIGURATION is
--
-- LOCAL_NODE_NUMBER
--
-- DESCRIPTION:
--
-- This function returns the node number for this node.
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32;
pragma INLINE ( LOCAL_NODE_NUMBER );
end PER_NODE_CONFIGURATION;
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- END SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- This is the Multiprocessor Configuration Table for this test.
--
MULTIPROCESSING_CONFIGURATION : aliased RTEMS.MULTIPROCESSING_TABLE := (
MPTEST.PER_NODE_CONFIGURATION.LOCAL_NODE_NUMBER,
2, -- maximum # nodes in system
33, -- maximum # global objects
33 -- maximum # proxies
);
--
-- This is the Configuration Table for this test.
--
CONFIGURATION : aliased RTEMS.CONFIGURATION_TABLE := (
RTEMS.NULL_ADDRESS, -- will be replaced by BSP
64 * 1024, -- executive RAM size
10, -- maximum # tasks
0, -- maximum # timers
0, -- maximum # semaphores
0, -- maximum # message queues
0, -- maximum # messages
0, -- maximum # partitions
0, -- maximum # regions
0, -- maximum # dp memory areas
0, -- maximum # periods
0, -- maximum # user extensions
RTEMS.MILLISECONDS_TO_MICROSECONDS(10), -- # us in a tick
50 -- # ticks in a timeslice
);
end MPTEST;

View File

@@ -7,15 +7,13 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node1$(EXEEXT): mptest-per_node_configuration.adb
node1$(EXEEXT): ../mptest.adb
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node1
endif
node1_SOURCES = mptest-per_node_configuration.adb
EXTRA_DIST = base_mp.scn
include $(top_srcdir)/../../../automake/local.am

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 1;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;

View File

@@ -7,7 +7,7 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node2$(EXEEXT): mptest-per_node_configuration.adb
node2$(EXEEXT): ../mptest.adb
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA

View File

@@ -1,43 +0,0 @@
--
-- MPTEST.PER_NODE_CONFIGURATION / BODY
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
-- Copyright assigned to U.S. Government, 1994.
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.OARcorp.com/rtems/license.html.
--
-- $Id$
--
with RTEMS;
separate ( MPTEST )
package body PER_NODE_CONFIGURATION is
--PAGE
--
-- LOCAL_NODE_NUMBER
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32 is
begin
return 2;
end LOCAL_NODE_NUMBER;
end PER_NODE_CONFIGURATION;