Commit Graph
33111 Commits
Author SHA1 Message Date
Sebastian Huber 782113767f score: Remove _Workspace_Allocate_or_fatal_error()
This function is unused.

Update #3735.
2019-12-13 08:35:21 +01:00
Sebastian Huber 3fba9de2e6 config: Statically allocate MP object controls
Update #3735.
2019-12-13 08:35:21 +01:00
Sebastian Huber 1d9f509e68 config: Statically allocate MP thread proxies
Update #3735.
2019-12-13 08:35:21 +01:00
Sebastian Huber 24f8915a07 config: Add _MPCI_Configuration
Replace the user MPCI configuration table with a system provided
_MPCI_Configuration.

Update #3735.
2019-12-13 08:35:17 +01:00
Sebastian Huber a00dff42cf rtems: Add and use rtems_object_get_local_node()
Update #3841.
2019-12-13 08:22:58 +01:00
Sebastian Huber d24b30156d config: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE
Obsolete the CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE configuration
option.

Update #3735.
2019-12-13 08:22:58 +01:00
Sebastian Huber 6f6091b384 config: Add CONFIGURE_IMFS_ENABLE_MKFIFO
Obsolete undocumented configuration options CONFIGURE_MAXIMUM_FIFOS and
CONFIGURE_MAXIMUM_PIPES.  Replace these options with the new
CONFIGURE_IMFS_ENABLE_MKFIFO configuration option.

Update #3840.
2019-12-13 08:22:58 +01:00
Sebastian Huber f30dd1f13b mptests: Fix configuration
Update #3818.
2019-12-13 08:22:58 +01:00
Joel Sherrill 4e2e3384cd states*.h: Fix naming inconsistency and formatting 2019-12-11 15:23:34 -06:00
Joel Sherrill 08bd7d36ce Add TOD Hooks to allow BSP to take action when TOD is set
Two use cases were envisioned for this.

1) a BSP or application which desires to update a real-time clock
   when the RTEMS TOD is set.

2) a paravirtualized BSP can use this to propagate setting the time
   in an RTEMS application to the hosting environment. This enables
   the entire set of applications in the virtualized environments
   to have a single consistent TOD.
2019-12-11 15:22:33 -06:00
Sebastian Huber b1b6dd71d0 pipe: Use condition variables
Use self-contained condition variables instead of Classic API barriers.
This simplifies the implementation and configuration.

Update #3840.
2019-12-11 17:45:31 +01:00
Chris Johns 86c70e71f9 Support pasring - in a version string
Closes #3839
2019-12-12 02:43:51 +11:00
Sebastian Huber 84aee2e982 mpci: Simplify MPCI configuration
Use watchdog for shared memory driver instead of a Classic API Timer.
2019-12-11 09:05:07 +01:00
Sebastian Huber 4686554260 rtems: Simplify semaphore configuration
The MrsP semaphore implementation predates the addition of
self-contained synchronization objects.  At this time, the potential
memory reduction was justified considering the more complex
configuration and additional use of the workspace.  With the
availability of self-contained synchronization options, e.g. POSIX
mutexes, this is no longer justified.  Memory constrained applications
should use the self-contained synchronization objects.   Remove the
CONFIGURE_MAXIMUM_MRSP_SEMAPHORES configuration option. This has only an
impact on applications which use SMP and a large number of scheduler
instances.

Update #3833.
2019-12-11 09:05:07 +01:00
Sebastian Huber 01f8c12ee5 rtems: Optimize semaphore control block
Move variant, discipline, and global information to flags stored in a
node pointer of active semaphores.

Update #3833.
2019-12-11 09:05:07 +01:00
Sebastian Huber cc466a53a1 score: Optimize _TLS_Get_size() 2019-12-11 09:05:07 +01:00
Sebastian Huber bb99cd0d83 clock: Simplify driver initialization
Use a system initialization handler instead of a legacy IO driver.

Update #3834.
2019-12-11 09:05:07 +01:00
Sebastian Huber a6b2080e1c clock: Remove Clock_exit() from API
This function is no longer supported by the standard clock driver
implementation (clockimpl.h).

Update #3436.
2019-12-11 09:04:49 +01:00
Sebastian Huber 189da5f442 score: Optimize _Per_CPU_Get_index()
Optimize _Per_CPU_Get_index() in uniprocessor configurations.
2019-12-10 08:29:53 +01:00
Sebastian Huber 5e589d965d userext: Fix configuration 2019-12-09 08:52:11 +01:00
Sebastian Huber 5ae6112559 userext: Simplify configuration
Avoid the use of the workspace and use statically allocated switch
controls for the initial extensions.
2019-12-09 08:00:52 +01:00
Sebastian Huber 1380c822a5 bsp/xen: Use BSP options for all linkcmds vars
Update #3818.
2019-12-05 07:51:46 +01:00
Jeff Kubascik 4c30acf2c8 bsp/xen: Create BSP
Create the Xen BSP for Xen on ARM.
2019-12-05 07:25:52 +01:00
Jeff Kubascik b51a1d07d0 bsps/arm: Unmask generic timer in interrupt handler
Xen will mask the virtual timer before injecting the interrupt to the
guest.
2019-12-05 07:25:52 +01:00
Jeff Kubascik 001cd9bd5c bsps/arm: Add zImage boot header
Xen currently only supports the zImage loader for 32 bit guests on ARM
targets.
2019-12-05 07:25:52 +01:00
Sebastian Huber d0b704b09c libtest: Change expected pass state string
Use separator character '_' for all test states.
2019-12-05 07:10:59 +01:00
Sebastian Huber a6879a418d testsuites: Remove rtems_test_pause*()
The rtems_test_pause() and rtems_test_pause_and_screen_number() macros
had different implementations depending on the RTEMS_TEST_NO_PAUSE
define.  This define was defined to 1 by default.  The user was able to
change this via the undocumented --disable-test-no-pause configure
command line option.

Pausing tests and waiting for user input contradicts the goal of having
automated test runs.  Remove this feature.

Update #3818.
2019-12-04 07:40:32 +01:00
Sebastian Huber 9c29cb56ad libtest: Change expected fail state string
Use the value expected by the RTEMS Tester.  There are two separator
characters used ('-' and '_') for the states.  This is a bit
inconsistent.
2019-12-04 07:40:31 +01:00
Sebastian Huber 8f6b7abd1a Move feature macro before "config.h" include
This allows to use header includes in "config.h" to reduce the build
configuration checks.

Update #3818.
2019-12-02 07:46:25 +01:00
Sebastian Huber ae716da79f ada/sp19: Add m4 generated sptest.adb
Update #3818.
2019-11-29 19:12:45 +01:00
Sebastian Huber f4fda72f65 Regenerate headers.am 2019-11-29 19:01:48 +01:00
Sebastian Huber 1fca166597 testsuites/ada: Introduce init.c files
Provide an init.c for each Ada test instead of the #include <config.h>
magic which works only due to hand crafted include paths.

Update #3818.
2019-11-27 11:50:09 +01:00
Sebastian Huber 4551f5f0db untar: Properly make parent path
Close #3823.
2019-11-26 08:10:27 +01:00
Sebastian Huber 4a056523cf libtests/dl*: Rename source files
Rename source files to use a %.c -> %.o and %.cc -> %.o pattern.  Use
*.cc for C++ source files instead of *.cpp to be in line with other C++
source files.

Update #3818.
2019-11-26 07:21:44 +01:00
Sebastian Huber b8b954a3e9 libtests/dl*: Use rtems_tarfs_load()
Use rtems_tarfs_load() instead of Untar_FromMemory() to reduce the
memory demands of the tests.
2019-11-26 07:21:44 +01:00
Sebastian Huber e9fdcd79b7 psxinttypes01: Remove invalid test cases
The functions expect a valid string as input according to POSIX.  On
systems with a NULL pointer protection the test cases ended up in
exceptions.
2019-11-26 07:21:40 +01:00
Sebastian Huber 5c2e7104e7 libtests: Use '-' for TAR file names
Use uniform pattern for all TAR file names.  Use the dl* tests as a
template.

Update #3818.
2019-11-25 13:01:54 +01:00
Sebastian Huber 8f021bdbf9 libtests/dl*: Do not generate files via "echo"
Add the static files to the repository.  This simplifies the build.

Update #3818.
2019-11-25 11:32:19 +01:00
Sebastian Huber 273e8b72c8 libtests/tar0[12]:: Use static archive content
This simplifies the build process.  Do not generate the archive content
through the build system.  Let the version control system deal with
symbolic links.

Update #3818.
2019-11-25 11:32:19 +01:00
Sebastian Huber 2de05dd588 untar: Make path also for symbolic links
Close #3823.
2019-11-25 11:32:19 +01:00
Sebastian Huber b6f66d9345 untar: Unify untar support
Update #3823.
2019-11-25 11:32:19 +01:00
Sebastian Huber a0304e8d62 libtest: Output basename of source files
Output only the basename of source files to be independent of the build
system source paths.

In the future it may be better to use the GCC -fmacro-prefix-map option.
This option is available in GCC 8 and later.  It is not yet available in
clang.

Update #3818.
2019-11-25 11:32:19 +01:00
Sebastian Huber 05a32e15c7 bsp/mpc55xxevb: Remove obsolete linker cmd file
Update #3818.
2019-11-25 11:32:19 +01:00
Sebastian Huber 3e9f5a55ad bsp/gen83xx: Remove obsolete linker command file
Update #3818.
2019-11-25 11:32:18 +01:00
Sebastian Huber 234d155e87 linkersets: Revert to zero-length arrays
This partially reverts commit 7ec08391fe.

Since the RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() cannot control the
alignment of the symbol it cannot be used to define the begin of a
linker set.  File scope basic __asm__ statements cannot have operands,
so there is no way to specify the desired alignment.
2019-11-25 11:32:18 +01:00
Sebastian Huber 4fcc53a069 Document RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() 2019-11-25 11:32:18 +01:00
Hesham Almatary 1a95dd738f testsuite: Only include termios10/termios11 tests if compiled with POSIX
Both need POSIX support
2019-11-21 10:32:46 +00:00
Sebastian Huber 11455b2e6d imfs: Fix IMFS_make_linearfile()
Fix prototype.

Fix node size.  Linfiles are dynamically turned into memfiles.

Update #3823.
2019-11-21 09:06:56 +01:00
Sebastian Huber f377998568 imfs: Add IMFS_make_linfile()
Update #3818.
2019-11-19 16:22:00 +01:00
Sebastian Huber 38207a31e4 Move feature macro before "config.h" include
This allows to use header includes in "config.h" to reduce the build
configuration checks.

Update #3818.
2019-11-19 16:05:54 +01:00