Commit Graph

32390 Commits

Author SHA1 Message Date
Sebastian Huber
1e039fb37a rtems: Deprecate rtems_rate_monotonic_period_time_t
The rtems_rate_monotonic_period_time_t typedef as no corresponding API.
It violates the POSIX namespace.  A user can do nothing with it.

Close #3595.
2018-11-09 07:25:09 +01:00
Sebastian Huber
aacc7a035f rtems: Deprecate rtems_thread_cpu_usage_t
The rtems_thread_cpu_usage_t typedef as no corresponding API.  It
violates the POSIX namespace.  A user can do nothing with it.

Close #3593.
2018-11-09 07:25:09 +01:00
Sebastian Huber
d53862a30b rtems: Deprecate region_information_block
The region_information_block typedef as no corresponding API.  It has no
proper namespace prefix.  A user can do nothing with it.

Close #3591.
2018-11-09 07:25:09 +01:00
Sebastian Huber
7e86e0027c rtems: Deprecate rtems_context_fp
The rtems_context_fp typedef as no corresponding API.  A user can do
nothing with it.

Close #3589.
2018-11-09 07:25:09 +01:00
Sebastian Huber
0ac4a777c1 rtems: Deprecate rtems_context
The rtems_context typedef as no corresponding API.  A user can do
nothing with it.

Close #3587.
2018-11-09 07:25:09 +01:00
Chris Johns
06ced255e7 testsuite: Add python verison support to rtems-test-check.py
Closes #3579
2018-11-09 10:20:00 +11:00
Sebastian Huber
947b679f74 h8300: Remove left over files
Update #2452.
2018-11-08 16:48:15 +01:00
Sebastian Huber
942d52a260 build: Fix library order
Update #3551.
2018-11-08 14:00:31 +01:00
Sebastian Huber
4f4ed2f0e3 rtems: Add missing include
Update #3598.
2018-11-08 13:18:28 +01:00
Sebastian Huber
ac8025c113 libcsupport: Add missing include
Update #3598.
2018-11-08 13:18:28 +01:00
Sebastian Huber
2c8b87f998 rtems: Move includes out of extern "C" scope 2018-11-08 13:18:18 +01:00
Malte Münch
795dfaacfe small typo 2018-11-08 12:02:08 +01:00
Sebastian Huber
ea8cf79fb7 config: Move includes out of extern "C" scope 2018-11-08 12:02:08 +01:00
Sebastian Huber
32953f904c bsp/realview-pbx-a9: Update headers.am 2018-11-08 08:38:47 +01:00
Sebastian Huber
ef30eb1c4d monitor: Remove dead code
Update #3587.
Update #3589.
2018-11-08 08:09:25 +01:00
Sebastian Huber
a9767a07a2 score: Use RTEMS_DEPRECATED for deprecated types
Update #3584.
2018-11-08 08:09:25 +01:00
Sebastian Huber
4fea054ca5 score: Remove _ISR_Dispatch()
This function was only used on some m68k variants.  On these m68k
variants there is no need to use a global symbol.  Use a local label
instead.

Remove _ISR_Dispatch() from the architecture-independent layer.
2018-11-08 08:09:25 +01:00
Sebastian Huber
ff081aee72 score: Rename interrupt stack symbols
Rename

  * _Configuration_Interrupt_stack_area_begin in _ISR_Stack_area_begin,
  * _Configuration_Interrupt_stack_area_end in _ISR_Stack_area_end, and
  * _Configuration_Interrupt_stack_size in _ISR_Stack_size.

Move definitions to <rtems/score/isr.h>.  The new names are considerable
shorter and in the right namespace.

Update #3459.
2018-11-08 08:09:20 +01:00
Joel Sherrill
e9f15bee8b psxtmtests_plan.csv: Add psxtmonce01 2018-11-07 12:09:00 -06:00
Joel Sherrill
98cc00e6f3 psxtmonce01/init.c: Use static and Simple Console 2018-11-07 12:07:53 -06:00
Sebastian Huber
e94b73f345 config: Include <rtems.h> for RTEMS_NEWLIB 2018-11-07 14:29:20 +01:00
Sebastian Huber
97a86719af config: Move definitions after includes 2018-11-07 12:59:48 +01:00
Sebastian Huber
2faea99ac2 bsp/realview-pbx-a9: Fix printk() support
Avoid dependencies on the Termios support in case only printk() is used
by the application.
2018-11-07 11:09:51 +01:00
Sebastian Huber
e292beba32 termios: Move default lock functions
Move rtems_termios_device_lock_acquire_default() and
rtems_termios_device_lock_release_default() to a file separate from the
general Termios support.  This avoids complex dependencies in printk()
only scenarios.
2018-11-07 11:09:51 +01:00
Sebastian Huber
d1f7204649 config: Fix CONFIGURE_DISABLE_NEWLIB_REENTRANCY
Move the __getreent() variant using the global reentrancy structure to
librtemscpu.a.  This avoids a definition of __getreent() in the
configuration module if CONFIGURE_DISABLE_NEWLIB_REENTRANCY is defined.
This avoids all the dependencies which would be exposed by a reference
to the global reentrancy structure.

This change is only possible since the default configuration moved to
librtemsdefaultconfig.a recently.
2018-11-07 07:52:55 +01:00
Sebastian Huber
e71c097ac3 spconfig02: Check object methods in default config
Ensure that the creation of Classic API objects fails with the expected
status code in the default configuration.

Ensure that the deletion of Classic API objects fails with the expected
status code in the default configuration if the identifier is invalid.

Ensure that only the expected objects are present in the default
configuration via rtems_object_get_classic_name().
2018-11-07 07:52:51 +01:00
Sebastian Huber
a818d13cc0 build: Remove superfluous psxtmonce01/Makefile.am 2018-11-07 07:44:07 +01:00
Zenon
99d6172f06 Correct minor spelling and grammar errors
This work was performed as a GCI 2018 task.
2018-11-06 18:51:32 -06:00
Himanshu40
9bb395167a psxtmonce01: New test written by Himanshu40 as part of GCI2018 2018-11-06 18:36:08 -06:00
Sebastian Huber
878487b024 score: Optimize Objects_Information
Reduce structure internal padding.  Group members used by _Objects_Get()
together.  Reduce size of some members.

Format and simplify _Objects_Extend_information().
2018-11-06 13:36:11 +01:00
Gedare Bloom
d7c51da558 altera-cyclone-v: tweak ingroup 2018-11-05 15:48:20 -05:00
ABR290B
3b930548a2 arm/altera-cyclone-v: update doxygen (GCI 2018) 2018-11-05 15:46:25 -05:00
Sebastian Huber
fa0adf3618 ftpd: Avoid TOCTOU problem
Assume that opendir() returns only non-NULL if we actually open a
directory.

Update #3530.
2018-10-30 13:27:03 +01:00
Sebastian Huber
8c3cd1e81b ftpd: Deal with too long command lines
Update #3530.
2018-10-30 13:27:03 +01:00
Sebastian Huber
706802f870 ftpd: Make send_dirline() more robust
Account for large file names.

Update #3530.
2018-10-30 13:27:03 +01:00
Sebastian Huber
7e2aabd751 config: Fix check networking
This Autoconf macro used cache variables which are not longer present.

Update #3409.
2018-10-30 13:27:03 +01:00
Sebastian Huber
bb3484c9ec posix: Enable more sptests test cases by default
Update #2514.
2018-10-29 10:52:48 +01:00
Sebastian Huber
8dc1ed135a posix: Enable more psxtests by default
Update #2514.
2018-10-29 10:52:48 +01:00
Sebastian Huber
24f3e8fd5b posix: Enable more smptests tests by default
Update #2514.
2018-10-29 10:52:48 +01:00
Sebastian Huber
ef16a111c7 posix: Enable psxtmtests tests by default
Update #2514.
2018-10-29 10:52:48 +01:00
Sebastian Huber
54f3588831 posix: Provide threads by default
Update #2514.
2018-10-29 10:52:45 +01:00
Sebastian Huber
033f31c8af posix: Hide POSIX_API_Control by default
Update #2514.
2018-10-29 10:33:38 +01:00
Sebastian Huber
fe7aefd516 posix: Provide message queues by default
Update #2514.
2018-10-29 10:33:37 +01:00
Sebastian Huber
701057e0b9 posix: Provide shared memory objects by default
Update #2514.
2018-10-29 10:33:37 +01:00
Sebastian Huber
9318cfb050 posix: Provide named semaphores by default
Update #2514.
2018-10-29 10:33:37 +01:00
Sebastian Huber
e97806a5ff posix: Split posix_api_configuration_table
Use separate configuration variables to avoid false dependencies.

Update #2514.
2018-10-29 10:33:37 +01:00
Sebastian Huber
55b69ed28e Move default config to librtemsdefaultconfig.a
An RTEMS application default configuration is contained in
cpukit/libmisc/dummy/default-configuration.c.  This default
configuration was contained in librtemscpu.a.  This had at least two
problems:

1. Application configuration errors may have pulled in the default
   configuration which in turn lead to multiply define symbols error.
   This was quite confusing.  You had to consult the linker map file to
   figure out what cased the pull in of the default configuration.  You
   needed to know what a linker map file is and how you generate it with
   your build system.  This was not very user friendly.

2. It prevented the use of default configuration items for each subsystem
   in librtemscpu.a.  This may be used to reduce the size of the
   configuration itself.

Move the default configuration to the separate library
librtemsdefaultconfig.a.

Close #3551.
2018-10-29 10:33:37 +01:00
Sebastian Huber
7038271845 Remove RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES
Enable support for string objects names unconditionally.  Add const
qualifier throughout.  Split _Objects_Namespace_remove() into
_Objects_Namespace_remove_u32() and _Objects_Namespace_remove_string()
to avoid an unnecessary dependency on _Workspace_Free().

Update #2514.
2018-10-29 10:33:33 +01:00
Sebastian Huber
5090a71bf8 score: Remove bogus thread object name support
Update #2514.
2018-10-29 07:08:34 +01:00
Sebastian Huber
0dbf67b66e posix: Provide aio_suspend() by default
Update #2514.
2018-10-29 07:08:34 +01:00