]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/log
frescor/frsh-forb.git
12 years agoAdded demo skeleton for fwp data sending depending on tx bitrate
Tuka Martin [Thu, 15 Dec 2011 22:47:13 +0000 (23:47 +0100)]
Added demo skeleton for fwp data sending depending on tx bitrate

12 years agoDeleted comments
Tuka Martin [Thu, 15 Dec 2011 22:40:22 +0000 (23:40 +0100)]
Deleted comments

12 years agoFixes for building on my computer
Michal Sojka [Fri, 7 Oct 2011 13:04:07 +0000 (15:04 +0200)]
Fixes for building on my computer

12 years agoChanged executor's thread creation
Tuka Martin [Tue, 4 Oct 2011 20:11:01 +0000 (22:11 +0200)]
Changed executor's thread creation

Threads are created via fosa_thread_create function.

13 years agoUpdate of splitting forb executors
Tuka Martin [Sun, 1 May 2011 17:14:31 +0000 (19:14 +0200)]
Update of splitting forb executors

Function redistribute_spare_capacity is now called from
its own thread.

13 years agofwp_mngr: Splitted forb_executor into 2 instances & threads
Tuka Martin [Sun, 1 May 2011 02:33:51 +0000 (04:33 +0200)]
fwp_mngr: Splitted forb_executor into 2 instances & threads

Added forb instance for contract broker. (For ability
of calling redistribute_spare_capacity function, which is
called after change of rate / new station addition)
TODO: optimalize function calling interval

13 years agoAdded type conversion because of difference in behavior
Tuka Martin [Wed, 27 Apr 2011 22:43:58 +0000 (00:43 +0200)]
Added type conversion because of difference in behavior

Test had unpredictable behavior with hard estimated dependency
(It wasn't able to find some contracts, which was correctly
added to scenario.)
Called frsh_destroy function for corrected end of the test

13 years agoFix linker complains about missing libraries
Michal Sojka [Wed, 27 Apr 2011 05:41:50 +0000 (07:41 +0200)]
Fix linker complains about missing libraries

After an upgrade, I got errors like this:
  /usr/bin/ld: fwp-timing.o: undefined reference to symbol 'clock_nanosleep@@GLIBC_2.2.5'
  /usr/bin/ld: note: 'clock_nanosleep@@GLIBC_2.2.5' is defined in DSO /lib64/librt.so.1 so try adding it to the linker command line
  /lib64/librt.so.1: could not read symbols: Invalid operation

It was sufficient to fix them by adding mentioned libraries explicitely in
Makefile.omk.

13 years agoAdded wvtest macros in fwp_admctrl_utilization
Tuka Martin [Tue, 26 Apr 2011 17:41:30 +0000 (19:41 +0200)]
Added wvtest macros in fwp_admctrl_utilization
function

13 years agoTested every subtask for fwp_admctrl
Tuka Martin [Tue, 26 Apr 2011 13:01:22 +0000 (15:01 +0200)]
Tested every subtask for fwp_admctrl

Added interface.

13 years agoAdded and updated comments, removed unused definitions
Tuka Martin [Tue, 19 Apr 2011 18:34:57 +0000 (20:34 +0200)]
Added and updated comments, removed unused definitions

13 years agoUpdated tests
Tuka Martin [Tue, 19 Apr 2011 10:57:07 +0000 (12:57 +0200)]
Updated tests

In 'fwp_admctrl_utilization' test added fres_block_
register_fwp function for correct handling with FRES_
BLOCK_FWP_SCHED-block

In 'list_of_stations' test updated handling with outputs
and synchronization of processes

13 years agoUpdated list of stations test
Tuka Martin [Sun, 17 Apr 2011 23:54:56 +0000 (01:54 +0200)]
Updated list of stations test

Print via ul_logmsg function, synchronized
processes for output

13 years agoUpdated list of stations test
Tuka Martin [Thu, 14 Apr 2011 23:52:48 +0000 (01:52 +0200)]
Updated list of stations test

Changed structure so test program runs
as a client (fwp_mngr is a server)
Added function for list printing in forb_wifi_agent
interface

13 years agoAdded test for fwp_admctrl_utilization function
Tuka Martin [Thu, 14 Apr 2011 14:41:38 +0000 (16:41 +0200)]
Added test for fwp_admctrl_utilization function

13 years agoDo not run wifi agent test on background
Michal Sojka [Wed, 13 Apr 2011 21:56:22 +0000 (23:56 +0200)]
Do not run wifi agent test on background

13 years agofwp: Added test for checking list of stations
Tuka Martin [Tue, 12 Apr 2011 21:41:49 +0000 (23:41 +0200)]
fwp: Added test for checking list of stations

Adjusted mac address 'to number' converter.
Added test for checking right of handling with list of
stations.
Added function for printing list of stations.

13 years agofwp: Added mac_address identifier for contract
Tuka Martin [Sat, 2 Apr 2011 23:46:24 +0000 (01:46 +0200)]
fwp: Added mac_address identifier for contract

In admission test selected rate from station
according to right contract.

13 years agoMerge remote branch 'origin/master' into wifi-adaptive
Tuka Martin [Tue, 29 Mar 2011 10:27:11 +0000 (12:27 +0200)]
Merge remote branch 'origin/master' into wifi-adaptive

13 years agofwp: Add skeleton of admctrl test
Michal Sojka [Tue, 29 Mar 2011 10:26:49 +0000 (12:26 +0200)]
fwp: Add skeleton of admctrl test

13 years agofwp: Correct compilation issues
Tuka Martin [Tue, 29 Mar 2011 10:07:51 +0000 (12:07 +0200)]
fwp: Correct compilation issues

13 years agoMerge remote branch 'origin/master' into wifi-adaptive
Tuka Martin [Tue, 29 Mar 2011 10:05:48 +0000 (12:05 +0200)]
Merge remote branch 'origin/master' into wifi-adaptive

Conflicts:
src/fwp/fwp/mngr/fwp_mngr.c
src/fwp/fwp/mngr/wifi_agent.h

13 years agofwp: Split frm into manager and agent functions
Tuka Martin [Tue, 29 Mar 2011 09:53:45 +0000 (11:53 +0200)]
fwp: Split frm into manager and agent functions

13 years agohack: Add fixed reference to wifi_agent to all FORBs
Michal Sojka [Tue, 29 Mar 2011 09:49:15 +0000 (11:49 +0200)]
hack: Add fixed reference to wifi_agent to all FORBs

This is only a temporary hack until I implement proper registration and
propagation of regeistered references over TCP transport protocol.

13 years agoEdited cycle for choosing the right station in admission test
Tuka Martin [Fri, 25 Mar 2011 23:51:02 +0000 (00:51 +0100)]
Edited cycle for choosing the right station in admission test

(To be able to compile, TODO: Store MAC addres in contract)
Found better names for variables and structures.

13 years agoChanged format of mac address
Tuka Martin [Fri, 25 Mar 2011 22:27:03 +0000 (23:27 +0100)]
Changed format of mac address

From string to number.
Simplified structures in forb transactions.
(Deleted intern data structure)

13 years agoExtended admission test for diferent bitrate
Tuka Martin [Sun, 20 Mar 2011 18:26:27 +0000 (19:26 +0100)]
Extended admission test for diferent bitrate

(Not complete yet)

13 years agofwp_mngr: Both interfaces run in one thread
Tuka Martin [Mon, 14 Mar 2011 01:08:19 +0000 (02:08 +0100)]
fwp_mngr: Both interfaces run in one thread

Interface for recieving information from stations and
interface for running frm running via one executor.
Moreover, deleted auto-generated files.

13 years agoFixed IDL making, wifi_agent periodically info sending
Tuka Martin [Sun, 13 Mar 2011 23:40:09 +0000 (00:40 +0100)]
Fixed IDL making, wifi_agent periodically info sending

Added rules for automatic IDL generating.
Wifi agent sends now information periodically.
Found better names for structures.

13 years agoforb: proto_inet uses internally sockaddr_in instead of its own type
Michal Sojka [Sun, 13 Mar 2011 22:31:01 +0000 (23:31 +0100)]
forb: proto_inet uses internally sockaddr_in instead of its own type

This is to simplify connecting to known peers in followup patches.

13 years agoUpdate Makefile.rules
Michal Sojka [Sun, 13 Mar 2011 10:33:14 +0000 (11:33 +0100)]
Update Makefile.rules

13 years agofwp: Convert vres test to wvtest framework
Michal Sojka [Sat, 12 Mar 2011 16:15:50 +0000 (17:15 +0100)]
fwp: Convert vres test to wvtest framework

13 years agortems: Use Makefile.rules which pass OMK test suite
Michal Sojka [Sat, 12 Mar 2011 16:15:21 +0000 (17:15 +0100)]
rtems: Use Makefile.rules which pass OMK test suite

13 years agowvtestrun produces nicer and more readable output
Michal Sojka [Sat, 12 Mar 2011 14:40:43 +0000 (15:40 +0100)]
wvtestrun produces nicer and more readable output

Now, when stdout is a TTY, the results are aligned to the same column
and are preceeded by colorized leaders ("........") to easily find the
text matching to the result.

13 years agortems: Build system learned how to compile IDL files
Michal Sojka [Fri, 11 Mar 2011 15:36:08 +0000 (16:36 +0100)]
rtems: Build system learned how to compile IDL files

13 years agofwp: Remove unused crap from tests
Michal Sojka [Fri, 11 Mar 2011 09:16:36 +0000 (10:16 +0100)]
fwp: Remove unused crap from tests

13 years agoFixed Makefile files for manager and committed changes in manager described in previo...
Tuka Martin [Fri, 11 Mar 2011 03:00:41 +0000 (04:00 +0100)]
Fixed Makefile files for manager and committed changes in manager described in previous commit

13 years agoimplemented sending of transmission parameters from all stations to resource manager
Tuka Martin [Fri, 11 Mar 2011 02:41:28 +0000 (03:41 +0100)]
implemented sending of transmission parameters from all stations to resource manager

Wifi_agent is a program which finds out trasmission parameters. (using nl80211 library)
Sending is done with FORB, which was implemented on both sides of communication.
On manager side transmission parameters of all stations are saved in dynamically created linked list (using ulut library). Saved parameters are mac address of station and its transmission bitrate.

13 years agoAdd preliminary configuration for RTEMS build
Michal Sojka [Fri, 25 Feb 2011 15:29:16 +0000 (16:29 +0100)]
Add preliminary configuration for RTEMS build

13 years agoUpdate the main README
Michal Sojka [Fri, 25 Feb 2011 08:14:19 +0000 (09:14 +0100)]
Update the main README

13 years agoRemove "Setup" header from tests
Michal Sojka [Fri, 25 Feb 2011 07:28:47 +0000 (08:28 +0100)]
Remove "Setup" header from tests

This header is no longer necessary as the similar header is produced by
OMK.

13 years agoUpdate Makefile.rules to have better wvtest support
Michal Sojka [Fri, 25 Feb 2011 07:26:25 +0000 (08:26 +0100)]
Update Makefile.rules to have better wvtest support

13 years agoforb: Split forb_port_destroy() to stop and destroy phases
Michal Sojka [Fri, 25 Feb 2011 07:20:28 +0000 (08:20 +0100)]
forb: Split forb_port_destroy() to stop and destroy phases

This allows for proper termination of forb. Now, there are no leaked
file descriptors in the tests.

13 years agoforb: Set cancelation points in receiver thread
Michal Sojka [Fri, 25 Feb 2011 07:17:34 +0000 (08:17 +0100)]
forb: Set cancelation points in receiver thread

This is to ensure that the thread is canceled only in a defined place
and no resources (like references to peer structures) remain in the system.

13 years agofrsh: Simplify negotiation test and rename the full test as renegotiation
Michal Sojka [Fri, 25 Feb 2011 07:14:31 +0000 (08:14 +0100)]
frsh: Simplify negotiation test and rename the full test as renegotiation

It was daunting to look for bugs in the large test, so now, negotiation
program performs only a single negotiation and cancelation.

13 years agofrsh: Update negotiation test
Michal Sojka [Thu, 24 Feb 2011 16:29:01 +0000 (17:29 +0100)]
frsh: Update negotiation test

There were some inconsistencies and missing comments.

13 years agowvtest/sh: Introduce cleanup function and exit on the first error
Michal Sojka [Thu, 24 Feb 2011 16:28:31 +0000 (17:28 +0100)]
wvtest/sh: Introduce cleanup function and exit on the first error

13 years agoDestroy forb in the correct order
Michal Sojka [Thu, 24 Feb 2011 15:58:36 +0000 (16:58 +0100)]
Destroy forb in the correct order

This is to avoid deadlocks during forb_destroy().

13 years agoforb: Update documentation of forb_executor_run()
Michal Sojka [Thu, 24 Feb 2011 15:40:52 +0000 (16:40 +0100)]
forb: Update documentation of forb_executor_run()

13 years agoforb: Add forb_executor_synchronize()
Michal Sojka [Thu, 24 Feb 2011 15:24:16 +0000 (16:24 +0100)]
forb: Add forb_executor_synchronize()

This is used to wait for executors to finish processing ongoing requests
during FORB termination. This ensures that all peer sockets are closed
and wvtest does not complain about open file descriptors at the end of
tests.

13 years agoforb: Update documentation of forb_request_send()
Michal Sojka [Thu, 24 Feb 2011 13:47:28 +0000 (14:47 +0100)]
forb: Update documentation of forb_request_send()

13 years agowvtest/sh: Do not exit shell script unless $WVTEST_DIE_FAST is set
Michal Sojka [Thu, 24 Feb 2011 11:36:14 +0000 (12:36 +0100)]
wvtest/sh: Do not exit shell script unless $WVTEST_DIE_FAST is set

If the shell script performs setup and cleanup for the test, it is
important to cleanup even when the test fails. So by default, we do not
exit, but only return the exit code of failed command.

13 years agofrsh: Do not include test functions
Michal Sojka [Thu, 24 Feb 2011 11:31:54 +0000 (12:31 +0100)]
frsh: Do not include test functions

The output of test is easier to read when the name of the test script is
displayed in the test output. Therefore, we copy the setup/exit code
that is common to the all tests to the tests themselves.

13 years agofrsh: Remove artificial split of a test
Michal Sojka [Thu, 24 Feb 2011 09:29:02 +0000 (10:29 +0100)]
frsh: Remove artificial split of a test

When a single test is split into several parts then the output
of the beginning of the test is not shown when the error occurs in the
later part.

13 years agowvtestrun: Visually delimit the output of failed command
Michal Sojka [Thu, 24 Feb 2011 07:35:26 +0000 (08:35 +0100)]
wvtestrun: Visually delimit the output of failed command

13 years agoforb: script for diskbfq added
Petr Benes [Tue, 22 Feb 2011 16:46:42 +0000 (17:46 +0100)]
forb: script for diskbfq added

13 years agoforb: script invocation of shlibs fixec
Petr Benes [Tue, 22 Feb 2011 16:45:51 +0000 (17:45 +0100)]
forb: script invocation of shlibs fixec

A couple of different small fixes at once.

13 years agoUpdate Makefile.rules -- fixes a bug in bin_SCRIPTS
Michal Sojka [Tue, 22 Feb 2011 15:46:49 +0000 (16:46 +0100)]
Update Makefile.rules -- fixes a bug in bin_SCRIPTS

13 years agoGit should ignore *~ everywhere
Michal Sojka [Tue, 22 Feb 2011 14:50:31 +0000 (15:50 +0100)]
Git should ignore *~ everywhere

13 years agoforb: fcb script passes a server id to forbrun
Petr Benes [Tue, 22 Feb 2011 12:08:19 +0000 (13:08 +0100)]
forb: fcb script passes a server id to forbrun

13 years agoforb: Update forb_server_id_to_string() documentation
Michal Sojka [Tue, 22 Feb 2011 11:41:42 +0000 (12:41 +0100)]
forb: Update forb_server_id_to_string() documentation

13 years agoforbrun: Support --serverid command line switch
Michal Sojka [Tue, 22 Feb 2011 11:41:22 +0000 (12:41 +0100)]
forbrun: Support --serverid command line switch

13 years agofcb: Parse command line parameters in wrapper script
Michal Sojka [Tue, 22 Feb 2011 11:32:21 +0000 (12:32 +0100)]
fcb: Parse command line parameters in wrapper script

This is needed for -d to be passed to forbrun instead to libfcb.so.

13 years agoforb: forbrun passes the parameters to shlibs properly
Petr Benes [Tue, 22 Feb 2011 11:24:27 +0000 (12:24 +0100)]
forb: forbrun passes the parameters to shlibs properly

13 years agoforb: makefiles for scripts fixed (make successful)
Petr Benes [Tue, 22 Feb 2011 10:57:28 +0000 (11:57 +0100)]
forb: makefiles for scripts fixed (make successful)

13 years agoforb: scripts fixed by adding -- in front of shlib
Petr Benes [Tue, 22 Feb 2011 10:41:43 +0000 (11:41 +0100)]
forb: scripts fixed by adding -- in front of shlib

13 years agoforbrun: Correctly handle arguments to -i switch
Michal Sojka [Tue, 22 Feb 2011 10:38:05 +0000 (11:38 +0100)]
forbrun: Correctly handle arguments to -i switch

13 years agoforb: scripts calling binaries and shlibs in path
Petr Benes [Tue, 22 Feb 2011 10:29:51 +0000 (11:29 +0100)]
forb: scripts calling binaries and shlibs in path

The relative path does not have to be specified.

13 years agoforb: added scripts executing dynamic shared libraries
Petr Benes [Tue, 22 Feb 2011 09:54:47 +0000 (10:54 +0100)]
forb: added scripts executing dynamic shared libraries

The scripts are responsible for a backward compatibility.
orb_id is now being passed to forbrun from the scripts.

However, the scripts do not pass the make. Omk accepts .sh
extension instead of no extension scripts.

Minor bugs fixed also.

13 years agoUpdate Makefile.rules to have bin_SCRIPTS support
Michal Sojka [Mon, 21 Feb 2011 15:50:57 +0000 (16:50 +0100)]
Update Makefile.rules to have bin_SCRIPTS support

13 years agoMerge branch 'benesp16' of rtime.felk.cvut.cz:/frescor/frsh-forb
Petr Benes [Sun, 20 Feb 2011 12:16:04 +0000 (13:16 +0100)]
Merge branch 'benesp16' of rtime.felk.cvut.cz:/frescor/frsh-forb

13 years agoforb: executable resources and fcb changed into dynamic libs
Petr Benes [Sun, 20 Feb 2011 12:15:21 +0000 (13:15 +0100)]
forb: executable resources and fcb changed into dynamic libs

13 years agoforb: Fix synchronization error in forbrun
Michal Sojka [Sun, 20 Feb 2011 09:42:58 +0000 (10:42 +0100)]
forb: Fix synchronization error in forbrun

forbrun starts servers synchronously, i.e. the next server is started
only after the previous one is fully initialized (see
forb_signal_server_ready()). This synchronization was broken because
forb_signal_server_ready() was incorrectly called in
forb_execute_object() called from forb_execution_thread() called from
forb_init(). This caused that the semaphore for the synchronization had
the value of one (instead of zero) when forb_init() finished.
Therefore, the first waiting for the semaphore returned immediately
without actually waiting for the server.

This is now fixed by introduction of default_executor which is declared
in struct forb. This executor is initialized "manually", without
forb_execute_object(), so that the forb_signal_server_ready() is not
called.

In future, we might want use the default executor for executing requests
to other objects, which do not require a separate thread.

13 years agoforb: Regref test converted to wvtest style
Michal Sojka [Sun, 20 Feb 2011 08:56:06 +0000 (09:56 +0100)]
forb: Regref test converted to wvtest style

Propagation of references from one orb to another is currently broken
and the test for that is commented out.

13 years agoforb: Convert syncobj test to wvtest style
Michal Sojka [Sun, 20 Feb 2011 08:37:39 +0000 (09:37 +0100)]
forb: Convert syncobj test to wvtest style

13 years agowvtest: WVFAIL(cond) returns cond
Michal Sojka [Sun, 20 Feb 2011 08:31:58 +0000 (09:31 +0100)]
wvtest: WVFAIL(cond) returns cond

Previously WVFAIL returned !cond. In my optinion it was confusing
because the statements
  if (cond) print_error();
and
  if (WVFAIL(cond)) print_error();
behaved differently. Now, they are functionally equivalent. In the
implementation we use C extensions typeof() and "statement expression"
to avoid duplication of side-effects caused by cond evaluation.

13 years agoforb: Increase log level for executor test
Michal Sojka [Sat, 19 Feb 2011 22:59:33 +0000 (23:59 +0100)]
forb: Increase log level for executor test

13 years agoforb: Fix deadlock in executor
Michal Sojka [Sat, 19 Feb 2011 22:57:48 +0000 (23:57 +0100)]
forb: Fix deadlock in executor

The first iteration of executor loop waited for the request without
actually checking that there is no request in the queue. Therefore,
when the client sent the request before the executor called
fosa_cond_wait()  for the first time, the executor blocked indefinitely.

13 years agoforb: Convert some older tests to wvtest framework
Michal Sojka [Sat, 19 Feb 2011 15:22:37 +0000 (16:22 +0100)]
forb: Convert some older tests to wvtest framework

13 years agoforb: Fix incorrect parameter of forb_peer_put()
Michal Sojka [Sat, 19 Feb 2011 15:00:11 +0000 (16:00 +0100)]
forb: Fix incorrect parameter of forb_peer_put()

13 years agoforb: Free "new_peers" on destroy
Michal Sojka [Sat, 19 Feb 2011 14:59:15 +0000 (15:59 +0100)]
forb: Free "new_peers" on destroy

The so called new_peers were not freed and their sockets were not closed.
We are fixing it now.

13 years agoforb: Do not compile inet_broadcast if it is not used
Michal Sojka [Sat, 19 Feb 2011 13:42:16 +0000 (14:42 +0100)]
forb: Do not compile inet_broadcast if it is not used

When inet is the default protocol, broadcasts are not used (because they
are not reliable). Previously, if inet was the default, we didn't bind the
socket to multicast address and thus we were not able to receive the
broadcasts. This situation was confusing and therefore it is better omit
the implementation of inet_broadcast entirely to make this clear that it
is not used.

13 years agoforbrun: Enable uLUt-based logging
Michal Sojka [Fri, 18 Feb 2011 23:42:20 +0000 (00:42 +0100)]
forbrun: Enable uLUt-based logging

It had no sense to disable it -- it works fine for FORB logging. If it
is needed to change log levels of server, this could be implemented in
forb_main() of the particular server.

13 years agoforbrun: Do not set ID if it is not specified on command line
Michal Sojka [Fri, 18 Feb 2011 23:35:20 +0000 (00:35 +0100)]
forbrun: Do not set ID if it is not specified on command line

13 years agoforb: Destroy forb at the end of executor_test
Michal Sojka [Fri, 18 Feb 2011 23:27:42 +0000 (00:27 +0100)]
forb: Destroy forb at the end of executor_test

This make wvtest happy because it closes all the file descriptors
that were open by FORB so the final check in wvmain passes.

Now, all wvtests passes!

13 years agoforbrun: Comment out not passing test
Michal Sojka [Fri, 18 Feb 2011 23:19:46 +0000 (00:19 +0100)]
forbrun: Comment out not passing test

This test does not pass because the registered references are not
distributed to other servers. This will be hopefully implemented later
through some kind of name server.

13 years agoforb: Rephrase documentation
Michal Sojka [Fri, 18 Feb 2011 23:15:44 +0000 (00:15 +0100)]
forb: Rephrase documentation

13 years agoforbrun: Handle errors in test_client
Michal Sojka [Fri, 18 Feb 2011 22:32:40 +0000 (23:32 +0100)]
forbrun: Handle errors in test_client

13 years agoforbrun: Simplify argument processing
Michal Sojka [Fri, 18 Feb 2011 22:25:28 +0000 (23:25 +0100)]
forbrun: Simplify argument processing

13 years agoforb: Fix races between instances of forb_main_thread
Michal Sojka [Fri, 18 Feb 2011 22:03:58 +0000 (23:03 +0100)]
forb: Fix races between instances of forb_main_thread

The data passed to forb_main_thread must be allocated for each thread
separately. Otherwise, threads may access data intended for other threads.

13 years agoforb: Add tests for forbrun command line parameters
Michal Sojka [Fri, 18 Feb 2011 21:40:50 +0000 (22:40 +0100)]
forb: Add tests for forbrun command line parameters

13 years agoforb: Update forbrun usage help
Michal Sojka [Fri, 18 Feb 2011 21:19:23 +0000 (22:19 +0100)]
forb: Update forbrun usage help

13 years agoUpdate Makefile.rules to the latest version
Michal Sojka [Thu, 17 Feb 2011 23:33:37 +0000 (00:33 +0100)]
Update Makefile.rules to the latest version

There is an improved support for wvtest framework.

13 years agoforb: fixed passing parameters to shared libraries in forbrun
Petr Benes [Thu, 17 Feb 2011 15:59:16 +0000 (16:59 +0100)]
forb: fixed passing parameters to shared libraries in forbrun

13 years agoforbrun: Exit whenever the first forb_main() returns
Michal Sojka [Thu, 17 Feb 2011 14:32:30 +0000 (15:32 +0100)]
forbrun: Exit whenever the first forb_main() returns

The exit code of forbrun is the returned value of forb_main().

13 years agoforb: Use new syntax for forbrun command line
Michal Sojka [Thu, 17 Feb 2011 14:29:37 +0000 (15:29 +0100)]
forb: Use new syntax for forbrun command line

We have added '--' before the name of the first library as it simplifies
command line parsing.

13 years agoforb: Add tests for forbrun
Michal Sojka [Thu, 17 Feb 2011 13:55:50 +0000 (14:55 +0100)]
forb: Add tests for forbrun

13 years agoforb: Move shared library tests under forbrun/ directory
Michal Sojka [Thu, 17 Feb 2011 11:18:57 +0000 (12:18 +0100)]
forb: Move shared library tests under forbrun/ directory

13 years agoforb: First implementation of forbrun
Michal Sojka [Tue, 15 Feb 2011 16:12:15 +0000 (17:12 +0100)]
forb: First implementation of forbrun

Not tested! forbrun should executed FORB servers implemented as shared
libraries. Its aim is to allow execution of multiple independent servers
in a single process. This is done in preparation of porting FRSH/FORB to
RTEMS (and other single-address space executives).

13 years agoforb: Add support for synchronized initialization of multiple servers
Michal Sojka [Tue, 15 Feb 2011 15:24:32 +0000 (16:24 +0100)]
forb: Add support for synchronized initialization of multiple servers

This is needed in forbrun (future commit) to start multiple servers in a
single address space.