mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.
SUB_DIRS was used instead of SUBDIRS in some Makefile.ins
(apparently a leftover from moving the start* directories)
Addtional major bugs:
* psxtests/include was empty (incomplete psxtests changes).
* bogus handling of *.scn in itrontests (screens/sptests vs.
screens/itrontests installation dirs)
In addition I have added a few more changes (I couldn't resist)
* automake support for itrontests
* OPERATION_COUNT support in tmitrontests/
* automake support for tmitrontests
* automake suppport for mptests
* Some (minor) corrections to several configure.in/Makefile.ams
=> c/src/tests/ is completly under automake control, now.
=> we could start to sort out the structural issues with c/src/tests
(tests/support, stubdr, tools, get "make dist" working)
This commit is contained in:
1 parent
64f55e7c32
commit
1d9a2fc5ab
52 files changed
+3209
-689
No files matched your search
@@ -18,6 +18,7 @@ AM_MAINTAINER_MODE
|
||||
|
||||
RTEMS_ENABLE_MULTIPROCESSING
|
||||
RTEMS_ENABLE_POSIX
|
||||
RTEMS_ENABLE_ITRON
|
||||
RTEMS_ENABLE_NETWORKING
|
||||
RTEMS_ENABLE_RDBG
|
||||
RTEMS_ENABLE_INLINES
|
||||
@@ -45,6 +46,7 @@ AC_SUBST(RTEMS_HAS_POSIX)
|
||||
AC_SUBST(RTEMS_HOST)
|
||||
AC_SUBST(RTEMS_HAS_MULTIPROCESSING)
|
||||
AC_SUBST(RTEMS_HAS_POSIX_API)
|
||||
AC_SUBST(RTEMS_HAS_ITRON_API)
|
||||
AC_SUBST(RTEMS_HAS_NETWORKING)
|
||||
AC_SUBST(RTEMS_HAS_RDBG)
|
||||
AC_SUBST(RTEMS_HAS_CPLUSPLUS)
|
||||
|
||||
@@ -142,6 +142,19 @@ void _POSIX_Mutex_MP_Send_extract_proxy (
|
||||
Thread_Control *the_thread
|
||||
);
|
||||
|
||||
/*
|
||||
* _POSIX_Threads_mutex_MP_support
|
||||
*
|
||||
* DESCRIPTION:
|
||||
*
|
||||
* This routine XXX
|
||||
*/
|
||||
|
||||
void _POSIX_Threads_mutex_MP_support(
|
||||
Thread_Control *the_thread,
|
||||
Objects_Id id
|
||||
);
|
||||
|
||||
/*
|
||||
* _POSIX_Mutex_MP_Get_packet
|
||||
*
|
||||
|
||||
@@ -62,7 +62,7 @@ typedef struct {
|
||||
* process operation can be performed on another node.
|
||||
*/
|
||||
|
||||
void _POSIX_Semaphore_MP_Send_process_packet (
|
||||
void _POSIX_Semaphore_MP_Send_process_packet(
|
||||
POSIX_Semaphore_MP_Remote_operations operation,
|
||||
Objects_Id semaphore_id,
|
||||
Objects_Name name,
|
||||
@@ -78,7 +78,7 @@ void _POSIX_Semaphore_MP_Send_process_packet (
|
||||
* directive operation can be initiated on another node.
|
||||
*/
|
||||
|
||||
int _POSIX_Semaphore_MP_Send_request_packet (
|
||||
int _POSIX_Semaphore_MP_Send_request_packet(
|
||||
POSIX_Semaphore_MP_Remote_operations operation,
|
||||
Objects_Id semaphore_id,
|
||||
boolean wait, /* XXX options */
|
||||
@@ -94,7 +94,7 @@ int _POSIX_Semaphore_MP_Send_request_packet (
|
||||
* directive can be performed on another node.
|
||||
*/
|
||||
|
||||
void _POSIX_Semaphore_MP_Send_response_packet (
|
||||
void _POSIX_Semaphore_MP_Send_response_packet(
|
||||
POSIX_Semaphore_MP_Remote_operations operation,
|
||||
Objects_Id semaphore_id,
|
||||
Thread_Control *the_thread
|
||||
@@ -110,7 +110,7 @@ void _POSIX_Semaphore_MP_Send_response_packet (
|
||||
* the request from another node.
|
||||
*/
|
||||
|
||||
void _POSIX_Semaphore_MP_Process_packet (
|
||||
void _POSIX_Semaphore_MP_Process_packet(
|
||||
MP_packet_Prefix *the_packet_prefix
|
||||
);
|
||||
|
||||
@@ -124,7 +124,7 @@ void _POSIX_Semaphore_MP_Process_packet (
|
||||
* the remote node must be informed of this.
|
||||
*/
|
||||
|
||||
void _POSIX_Semaphore_MP_Send_object_was_deleted (
|
||||
void _POSIX_Semaphore_MP_Send_object_was_deleted(
|
||||
Thread_Control *the_proxy
|
||||
);
|
||||
|
||||
@@ -138,7 +138,7 @@ void _POSIX_Semaphore_MP_Send_object_was_deleted (
|
||||
* the remote node must be informed of this.
|
||||
*/
|
||||
|
||||
void _POSIX_Semaphore_MP_Send_extract_proxy (
|
||||
void _POSIX_Semaphore_MP_Send_extract_proxy(
|
||||
Thread_Control *the_thread
|
||||
);
|
||||
|
||||
@@ -150,7 +150,7 @@ void _POSIX_Semaphore_MP_Send_extract_proxy (
|
||||
* This function is used to obtain a semaphore mp packet.
|
||||
*/
|
||||
|
||||
POSIX_Semaphore_MP_Packet *_POSIX_Semaphore_MP_Get_packet ( void );
|
||||
POSIX_Semaphore_MP_Packet *_POSIX_Semaphore_MP_Get_packet( void );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -247,6 +247,20 @@ void _Semaphore_Core_semaphore_mp_support (
|
||||
rtems_id id
|
||||
);
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* _POSIX_Semaphore_MP_support
|
||||
*
|
||||
* DESCRIPTION:
|
||||
*
|
||||
* XXX
|
||||
*/
|
||||
|
||||
void _POSIX_Semaphore_MP_support(
|
||||
Thread_Control *the_thread,
|
||||
Objects_Id id
|
||||
);
|
||||
|
||||
#ifndef __RTEMS_APPLICATION__
|
||||
#include <rtems/rtems/sem.inl>
|
||||
#endif
|
||||
|
||||
@@ -13,7 +13,6 @@ AM_MAINTAINER_MODE
|
||||
|
||||
RTEMS_ENABLE_MULTIPROCESSING
|
||||
RTEMS_ENABLE_NETWORKING
|
||||
RTEMS_ENABLE_RDBG
|
||||
RTEMS_ENABLE_LIBCDIR
|
||||
RTEMS_ENABLE_BARE
|
||||
RTEMS_ENABLE_HWAPI
|
||||
|
||||
@@ -20,7 +20,7 @@ INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
# wrapup is the one that actually builds and installs the library
|
||||
# from the individual .rel files built in other directories
|
||||
SUB_DIRS = include start startup clock console spurious timer wrapup
|
||||
SUBDIRS = include start startup clock console spurious timer wrapup
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -20,7 +20,7 @@ INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
# wrapup is the one that actually builds and installs the library
|
||||
# from the individual .rel files built in other directories
|
||||
SUB_DIRS = include start startup clock console spurious timer wrapup
|
||||
SUBDIRS = include start startup clock console spurious timer wrapup
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -24,7 +24,7 @@ all: $(SRCS)
|
||||
|
||||
# wrapup is the one that actually builds and installs the library
|
||||
# from the individual .rel files built in other directories
|
||||
SUB_DIRS = include start startup clock console timer wrapup
|
||||
SUBDIRS = include start startup clock console timer wrapup
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -24,7 +24,7 @@ all: $(SRCS)
|
||||
|
||||
# wrapup is the one that actually builds and installs the library
|
||||
# from the individual .rel files built in other directories
|
||||
SUB_DIRS = include start startup clock console timer wrapup
|
||||
SUBDIRS = include start startup clock console timer wrapup
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -28,7 +28,7 @@ all: $(SRCS)
|
||||
|
||||
# wrapup is the one that actually builds and installs the library
|
||||
# from the individual .rel files built in other directories
|
||||
SUB_DIRS = include start startup clock console timer $(NETWORKING_DRIVER) \
|
||||
SUBDIRS = include start startup clock console timer $(NETWORKING_DRIVER) \
|
||||
wrapup
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
|
||||
@@ -24,7 +24,7 @@ all: $(SRCS)
|
||||
|
||||
# wrapup is the one that actually builds and installs the library
|
||||
# from the individual .rel files built in other directories
|
||||
SUB_DIRS = include start startup clock console timer wrapup
|
||||
SUBDIRS = include start startup clock console timer wrapup
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -24,7 +24,7 @@ all: $(SRCS)
|
||||
|
||||
# wrapup is the one that actually builds and installs the library
|
||||
# from the individual .rel files built in other directories
|
||||
SUB_DIRS = include start startup console liblnk wrapup
|
||||
SUBDIRS = include start startup console liblnk wrapup
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -14,7 +14,7 @@ PROJECT_ROOT = @PROJECT_ROOT@
|
||||
VPATH = @srcdir@:@srcdir@/../../../shared
|
||||
|
||||
# C source names, if any, go here -- minus the .c
|
||||
C_PIECES = polled_io uart console inch
|
||||
C_PIECES = polled_io uart console inch console_reserve_resources
|
||||
C_FILES = $(C_PIECES:%=%.c)
|
||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
||||
|
||||
|
||||
@@ -45,10 +45,10 @@ extern int close(int fd);
|
||||
* BSP_UART_COM2
|
||||
*/
|
||||
|
||||
int BSPConsolePort = BSP_UART_COM1;
|
||||
extern int BSPConsolePort;
|
||||
|
||||
/* int BSPConsolePort = BSP_UART_COM2; */
|
||||
int BSPBaseBaud = 115200;
|
||||
extern int BSPBaseBaud;
|
||||
|
||||
/*-------------------------------------------------------------------------+
|
||||
| External Prototypes
|
||||
@@ -84,6 +84,7 @@ isr_is_on(const rtems_irq_connect_data *irq)
|
||||
return BSP_irq_enabled_at_i8259s(irq->name);
|
||||
}
|
||||
|
||||
/*
|
||||
void console_reserve_resources(rtems_configuration_table *conf)
|
||||
{
|
||||
if(BSPConsolePort != BSP_CONSOLE_PORT_CONSOLE)
|
||||
@@ -93,6 +94,7 @@ void console_reserve_resources(rtems_configuration_table *conf)
|
||||
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
void __assert (const char *file, int line, const char *msg)
|
||||
{
|
||||
|
||||
@@ -20,12 +20,10 @@ NETWORK = $(NETWORK_$(HAS_NETWORKING)_V)
|
||||
BSP_PIECES = clock console irq openpic pci residual startup $(NETWORK) \
|
||||
vectors
|
||||
GENERIC_PIECES =
|
||||
CPU_PIECES = clock
|
||||
|
||||
# bummer; have to use $foreach since % pattern subst rules only replace 1x
|
||||
OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.o) $(foreach \
|
||||
piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/*.o) $(foreach
|
||||
piece, $(CPU_PIECES), ../../../../libcpu/powerpc/mpc750/$(piece)/$(ARCH)/*.o)
|
||||
OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.o) \
|
||||
$(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/*.o)
|
||||
LIB = $(ARCH)/libbsp.a
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
|
||||
@@ -14,7 +14,7 @@ PROJECT_ROOT = @PROJECT_ROOT@
|
||||
VPATH = @srcdir@:@srcdir@/../../../shared
|
||||
|
||||
# C source names, if any, go here -- minus the .c
|
||||
C_PIECES = polled_io uart console inch
|
||||
C_PIECES = polled_io uart console inch console_reserve_resources
|
||||
C_FILES = $(C_PIECES:%=%.c)
|
||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
||||
|
||||
|
||||
@@ -45,10 +45,10 @@ extern int close(int fd);
|
||||
* BSP_UART_COM2
|
||||
*/
|
||||
|
||||
int BSPConsolePort = BSP_UART_COM1;
|
||||
extern int BSPConsolePort;
|
||||
|
||||
/* int BSPConsolePort = BSP_UART_COM2; */
|
||||
int BSPBaseBaud = 115200;
|
||||
extern int BSPBaseBaud;
|
||||
|
||||
/*-------------------------------------------------------------------------+
|
||||
| External Prototypes
|
||||
@@ -84,6 +84,7 @@ isr_is_on(const rtems_irq_connect_data *irq)
|
||||
return BSP_irq_enabled_at_i8259s(irq->name);
|
||||
}
|
||||
|
||||
/*
|
||||
void console_reserve_resources(rtems_configuration_table *conf)
|
||||
{
|
||||
if(BSPConsolePort != BSP_CONSOLE_PORT_CONSOLE)
|
||||
@@ -93,6 +94,7 @@ void console_reserve_resources(rtems_configuration_table *conf)
|
||||
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
void __assert (const char *file, int line, const char *msg)
|
||||
{
|
||||
|
||||
@@ -20,12 +20,10 @@ NETWORK = $(NETWORK_$(HAS_NETWORKING)_V)
|
||||
BSP_PIECES = clock console irq openpic pci residual startup $(NETWORK) \
|
||||
vectors
|
||||
GENERIC_PIECES =
|
||||
CPU_PIECES = clock
|
||||
|
||||
# bummer; have to use $foreach since % pattern subst rules only replace 1x
|
||||
OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.o) $(foreach \
|
||||
piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/*.o) $(foreach
|
||||
piece, $(CPU_PIECES), ../../../../libcpu/powerpc/mpc750/$(piece)/$(ARCH)/*.o)
|
||||
OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.o) \
|
||||
$(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/*.o)
|
||||
LIB = $(ARCH)/libbsp.a
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
|
||||
@@ -29,7 +29,7 @@ MP_DRIVERS = $(MP_DRIVERS_$(HAS_MP)_V)
|
||||
|
||||
# wrapup is the one that actually builds and installs the library
|
||||
# from the individual .rel files built in other directories
|
||||
SUB_DIRS = include start clock console startup $(MP_DRIVERS) timer \
|
||||
SUBDIRS = include start clock console startup $(MP_DRIVERS) timer \
|
||||
vectors wrapup tools
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
|
||||
@@ -20,7 +20,7 @@ INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
# wrapup is the one that actually builds and installs the library
|
||||
# from the individual .rel files built in other directories
|
||||
SUB_DIRS = start include startup gnatsupp console clock timer wrapup tools
|
||||
SUBDIRS = start include startup gnatsupp console clock timer wrapup tools
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -7,5 +7,7 @@ ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
SUBDIRS = @subdirs@
|
||||
|
||||
EXTRA_DIST = PROBLEMS
|
||||
|
||||
include $(top_srcdir)/../../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
@@ -5,16 +5,10 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@
|
||||
|
||||
PREINSTALLDIRS = $(project_bspdir)/tests/screens/itrontests
|
||||
$(PREINSTALLDIRS):
|
||||
@$(mkinstalldirs) $@
|
||||
|
||||
all-local: $(PREINSTALLDIRS)
|
||||
|
||||
SUBDIRS = . itronhello itrontask01 itrontask02 itrontask03 itrontask04 \
|
||||
SUBDIRS = itronhello itrontask01 itrontask02 itrontask03 itrontask04 \
|
||||
itronmbf01 itronmbox01 itronsem01 itrontime01
|
||||
|
||||
EXTRA_DIST = itrontests.am
|
||||
|
||||
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -5,19 +5,10 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
project_bspdir=$(PROJECT_ROOT)/@RTEMS_BSP@
|
||||
|
||||
PREINSTALLDIRS = \
|
||||
$(project_bspdir)/tests/screens/mptests \
|
||||
$(project_bspdir)/tests/screens/mptests/node1 \
|
||||
$(project_bspdir)/tests/screens/mptests/node2
|
||||
$(PREINSTALLDIRS):
|
||||
@$(mkinstalldirs) $@
|
||||
|
||||
all-local: $(PREINSTALLDIRS)
|
||||
|
||||
SUBDIRS = . mp01 mp02 mp03 mp04 mp05 mp06 mp07 mp08 mp09 mp10 mp11 mp12 mp13 \
|
||||
SUBDIRS = mp01 mp02 mp03 mp04 mp05 mp06 mp07 mp08 mp09 mp10 mp11 mp12 mp13 \
|
||||
mp14
|
||||
|
||||
EXTRA_DIST = mptests.am
|
||||
|
||||
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
@@ -16,6 +16,7 @@ RTEMS_ENABLE_INLINES
|
||||
RTEMS_ENABLE_GCC28
|
||||
RTEMS_ENABLE_LIBCDIR
|
||||
RTEMS_ENABLE_BARE
|
||||
RTEMS_ENABLE_MULTIPROCESSING
|
||||
|
||||
RTEMS_ENV_RTEMSBSP
|
||||
RTEMS_CHECK_CPU
|
||||
@@ -28,6 +29,7 @@ RTEMS_PROG_CC_FOR_TARGET
|
||||
RTEMS_CANONICALIZE_TOOLS
|
||||
|
||||
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
||||
RTEMS_CHECK_MULTIPROCESSING
|
||||
|
||||
AC_SUBST(RTEMS_USE_GCC272)
|
||||
AC_SUBST(BARE_CPU_CFLAGS)
|
||||
@@ -37,6 +39,8 @@ AC_SUBST(CC_CFLAGS_DEBUG_V)
|
||||
AC_SUBST(CC_CFLAGS_PROFILE_V)
|
||||
AC_SUBST(CC_LDFLAGS_PROFILE_V)
|
||||
|
||||
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
|
||||
|
||||
# Try to explicitly list a Makefile here
|
||||
AC_OUTPUT(
|
||||
Makefile
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
@SET_MAKE@
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
top_builddir = ../..
|
||||
subdir = mp03/node2
|
||||
|
||||
RTEMS_ROOT = @RTEMS_ROOT@
|
||||
PROJECT_ROOT = @PROJECT_ROOT@
|
||||
|
||||
VPATH = @srcdir@:@srcdir@/..
|
||||
|
||||
NODE = 2
|
||||
TEST = mp03
|
||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||
|
||||
MANAGERS = io mp timer event
|
||||
|
||||
# C source names, if any, go here -- minus the .c
|
||||
C_PIECES = init delay task1
|
||||
C_FILES = $(C_PIECES:%=%.c)
|
||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
||||
|
||||
H_FILES = system.h
|
||||
|
||||
DOCTYPES = doc scn
|
||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||
|
||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||
OBJS = $(C_O_FILES)
|
||||
|
||||
PRINT_SRCS = $(DOCS)
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
PACKHEX = @PACKHEX@
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
||||
|
||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
||||
|
||||
$(INSTALLDIRS):
|
||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
||||
|
||||
#
|
||||
# (OPTIONAL) Add local stuff here using +=
|
||||
#
|
||||
|
||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
||||
CPPFLAGS += -I.
|
||||
CFLAGS +=
|
||||
|
||||
LD_PATHS +=
|
||||
LD_LIBS +=
|
||||
LDFLAGS +=
|
||||
|
||||
#
|
||||
# Add your list of files to delete here. The config files
|
||||
# already know how to delete some stuff, so you may want
|
||||
# to just run 'make clean' first to see what gets missed.
|
||||
# 'make clobber' already includes 'make clean'
|
||||
#
|
||||
|
||||
CLEAN_ADDITIONS +=
|
||||
CLOBBER_ADDITIONS +=
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests
|
||||
$(INSTALL_CHANGE) $(srcdir)/$(TEST).scn \
|
||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
||||
|
||||
${PGM}: $(OBJS) $(LINK_FILES)
|
||||
$(make-exe)
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
File diff suppressed because it is too large.
Load diff
@@ -5,17 +5,11 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@
|
||||
|
||||
PREINSTALLDIRS = $(project_bspdir)/tests/screens/psxtests
|
||||
$(PREINSTALLDIRS):
|
||||
@$(mkinstalldirs) $@
|
||||
|
||||
all-local: $(PREINSTALLDIRS)
|
||||
|
||||
ITRON_DIRS = include tmitronsem01
|
||||
|
||||
SUBDIRS = $(ITRON_DIRS)
|
||||
|
||||
EXTRA_DIST = tmitrontests.am
|
||||
|
||||
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
@@ -37,6 +37,9 @@ AC_SUBST(CC_CFLAGS_DEBUG_V)
|
||||
AC_SUBST(CC_CFLAGS_PROFILE_V)
|
||||
AC_SUBST(CC_LDFLAGS_PROFILE_V)
|
||||
|
||||
OPERATION_COUNT=${OPERATION_COUNT-100}
|
||||
AC_SUBST(OPERATION_COUNT)
|
||||
|
||||
# Try to explicitly list a Makefile here
|
||||
AC_OUTPUT(
|
||||
Makefile
|
||||
|
||||
@@ -18,9 +18,10 @@
|
||||
/*
|
||||
* How many times a particular operation is performed while timed.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef OPERATION_COUNT
|
||||
#define OPERATION_COUNT 100
|
||||
#define IT_COUNT 100
|
||||
#endif
|
||||
|
||||
/* functions */
|
||||
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -35,7 +35,7 @@
|
||||
|
||||
#define put_time( _message, _total_time, \
|
||||
_iterations, _loop_overhead, _overhead ) \
|
||||
printf( \
|
||||
fprintf( stderr, \
|
||||
"%s %d\n", \
|
||||
(_message), \
|
||||
(((_total_time) - (_loop_overhead)) / (_iterations)) - (_overhead) \
|
||||
|
||||
@@ -18,7 +18,7 @@ DOCTYPES = doc
|
||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||
|
||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||
OBJS = $(C_O_FILES) ../../$(ARCH)/stubdr.rel
|
||||
OBJS = $(C_O_FILES) ../../support/stubdr/$(ARCH)/stubdr.rel
|
||||
|
||||
PRINT_SRCS = $(DOCS)
|
||||
|
||||
|
||||
@@ -142,6 +142,19 @@ void _POSIX_Mutex_MP_Send_extract_proxy (
|
||||
Thread_Control *the_thread
|
||||
);
|
||||
|
||||
/*
|
||||
* _POSIX_Threads_mutex_MP_support
|
||||
*
|
||||
* DESCRIPTION:
|
||||
*
|
||||
* This routine XXX
|
||||
*/
|
||||
|
||||
void _POSIX_Threads_mutex_MP_support(
|
||||
Thread_Control *the_thread,
|
||||
Objects_Id id
|
||||
);
|
||||
|
||||
/*
|
||||
* _POSIX_Mutex_MP_Get_packet
|
||||
*
|
||||
|
||||
@@ -62,7 +62,7 @@ typedef struct {
|
||||
* process operation can be performed on another node.
|
||||
*/
|
||||
|
||||
void _POSIX_Semaphore_MP_Send_process_packet (
|
||||
void _POSIX_Semaphore_MP_Send_process_packet(
|
||||
POSIX_Semaphore_MP_Remote_operations operation,
|
||||
Objects_Id semaphore_id,
|
||||
Objects_Name name,
|
||||
@@ -78,7 +78,7 @@ void _POSIX_Semaphore_MP_Send_process_packet (
|
||||
* directive operation can be initiated on another node.
|
||||
*/
|
||||
|
||||
int _POSIX_Semaphore_MP_Send_request_packet (
|
||||
int _POSIX_Semaphore_MP_Send_request_packet(
|
||||
POSIX_Semaphore_MP_Remote_operations operation,
|
||||
Objects_Id semaphore_id,
|
||||
boolean wait, /* XXX options */
|
||||
@@ -94,7 +94,7 @@ int _POSIX_Semaphore_MP_Send_request_packet (
|
||||
* directive can be performed on another node.
|
||||
*/
|
||||
|
||||
void _POSIX_Semaphore_MP_Send_response_packet (
|
||||
void _POSIX_Semaphore_MP_Send_response_packet(
|
||||
POSIX_Semaphore_MP_Remote_operations operation,
|
||||
Objects_Id semaphore_id,
|
||||
Thread_Control *the_thread
|
||||
@@ -110,7 +110,7 @@ void _POSIX_Semaphore_MP_Send_response_packet (
|
||||
* the request from another node.
|
||||
*/
|
||||
|
||||
void _POSIX_Semaphore_MP_Process_packet (
|
||||
void _POSIX_Semaphore_MP_Process_packet(
|
||||
MP_packet_Prefix *the_packet_prefix
|
||||
);
|
||||
|
||||
@@ -124,7 +124,7 @@ void _POSIX_Semaphore_MP_Process_packet (
|
||||
* the remote node must be informed of this.
|
||||
*/
|
||||
|
||||
void _POSIX_Semaphore_MP_Send_object_was_deleted (
|
||||
void _POSIX_Semaphore_MP_Send_object_was_deleted(
|
||||
Thread_Control *the_proxy
|
||||
);
|
||||
|
||||
@@ -138,7 +138,7 @@ void _POSIX_Semaphore_MP_Send_object_was_deleted (
|
||||
* the remote node must be informed of this.
|
||||
*/
|
||||
|
||||
void _POSIX_Semaphore_MP_Send_extract_proxy (
|
||||
void _POSIX_Semaphore_MP_Send_extract_proxy(
|
||||
Thread_Control *the_thread
|
||||
);
|
||||
|
||||
@@ -150,7 +150,7 @@ void _POSIX_Semaphore_MP_Send_extract_proxy (
|
||||
* This function is used to obtain a semaphore mp packet.
|
||||
*/
|
||||
|
||||
POSIX_Semaphore_MP_Packet *_POSIX_Semaphore_MP_Get_packet ( void );
|
||||
POSIX_Semaphore_MP_Packet *_POSIX_Semaphore_MP_Get_packet( void );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -247,6 +247,20 @@ void _Semaphore_Core_semaphore_mp_support (
|
||||
rtems_id id
|
||||
);
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* _POSIX_Semaphore_MP_support
|
||||
*
|
||||
* DESCRIPTION:
|
||||
*
|
||||
* XXX
|
||||
*/
|
||||
|
||||
void _POSIX_Semaphore_MP_support(
|
||||
Thread_Control *the_thread,
|
||||
Objects_Id id
|
||||
);
|
||||
|
||||
#ifndef __RTEMS_APPLICATION__
|
||||
#include <rtems/rtems/sem.inl>
|
||||
#endif
|
||||
|
||||
@@ -7,5 +7,7 @@ ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
SUBDIRS = @subdirs@
|
||||
|
||||
EXTRA_DIST = PROBLEMS
|
||||
|
||||
include $(top_srcdir)/../../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
@@ -5,16 +5,10 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@
|
||||
|
||||
PREINSTALLDIRS = $(project_bspdir)/tests/screens/itrontests
|
||||
$(PREINSTALLDIRS):
|
||||
@$(mkinstalldirs) $@
|
||||
|
||||
all-local: $(PREINSTALLDIRS)
|
||||
|
||||
SUBDIRS = . itronhello itrontask01 itrontask02 itrontask03 itrontask04 \
|
||||
SUBDIRS = itronhello itrontask01 itrontask02 itrontask03 itrontask04 \
|
||||
itronmbf01 itronmbox01 itronsem01 itrontime01
|
||||
|
||||
EXTRA_DIST = itrontests.am
|
||||
|
||||
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
@@ -5,19 +5,10 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
project_bspdir=$(PROJECT_ROOT)/@RTEMS_BSP@
|
||||
|
||||
PREINSTALLDIRS = \
|
||||
$(project_bspdir)/tests/screens/mptests \
|
||||
$(project_bspdir)/tests/screens/mptests/node1 \
|
||||
$(project_bspdir)/tests/screens/mptests/node2
|
||||
$(PREINSTALLDIRS):
|
||||
@$(mkinstalldirs) $@
|
||||
|
||||
all-local: $(PREINSTALLDIRS)
|
||||
|
||||
SUBDIRS = . mp01 mp02 mp03 mp04 mp05 mp06 mp07 mp08 mp09 mp10 mp11 mp12 mp13 \
|
||||
SUBDIRS = mp01 mp02 mp03 mp04 mp05 mp06 mp07 mp08 mp09 mp10 mp11 mp12 mp13 \
|
||||
mp14
|
||||
|
||||
EXTRA_DIST = mptests.am
|
||||
|
||||
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
@@ -5,17 +5,11 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@
|
||||
|
||||
PREINSTALLDIRS = $(project_bspdir)/tests/screens/psxtests
|
||||
$(PREINSTALLDIRS):
|
||||
@$(mkinstalldirs) $@
|
||||
|
||||
all-local: $(PREINSTALLDIRS)
|
||||
|
||||
ITRON_DIRS = include tmitronsem01
|
||||
|
||||
SUBDIRS = $(ITRON_DIRS)
|
||||
|
||||
EXTRA_DIST = tmitrontests.am
|
||||
|
||||
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
@@ -18,9 +18,10 @@
|
||||
/*
|
||||
* How many times a particular operation is performed while timed.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef OPERATION_COUNT
|
||||
#define OPERATION_COUNT 100
|
||||
#define IT_COUNT 100
|
||||
#endif
|
||||
|
||||
/* functions */
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#define put_time( _message, _total_time, \
|
||||
_iterations, _loop_overhead, _overhead ) \
|
||||
printf( \
|
||||
fprintf( stderr, \
|
||||
"%s %d\n", \
|
||||
(_message), \
|
||||
(((_total_time) - (_loop_overhead)) / (_iterations)) - (_overhead) \
|
||||
|
||||
@@ -18,7 +18,7 @@ DOCTYPES = doc
|
||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||
|
||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||
OBJS = $(C_O_FILES) ../../$(ARCH)/stubdr.rel
|
||||
OBJS = $(C_O_FILES) ../../support/stubdr/$(ARCH)/stubdr.rel
|
||||
|
||||
PRINT_SRCS = $(DOCS)
|
||||
|
||||
|
||||
Reference in new issue
Block a user