Commit Graph
32229 Commits
Author SHA1 Message Date
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
Sebastian Huber 135cb10efa posix: Provide more functions by default
Update #2514.
2018-10-25 10:04:14 +02:00
Sebastian Huber 4a7be22b5a posix: Fix build with POSIX API disabled
Update #2514.
2018-10-25 10:03:46 +02:00
Sebastian Huber 24b58072ff config: Modify CONFIGURE_INTERRUPT_STACK_SIZE
Use CPU_STACK_MINIMUM_SIZE instead of CONFIGURE_MINIMUM_TASK_STACK_SIZE
to set the default value.

Close #3480.
2018-10-24 10:19:14 +02:00
Sebastian Huber 4b801acc20 posix: Provide simple thread functions by default
Update #2514.
2018-10-24 10:19:14 +02:00
Sebastian Huber c1ce9a20f3 posix: Provide get thread attributes by default
Update #2514.
2018-10-24 10:19:14 +02:00
Sebastian Huber 522d4b9186 malloctest: Hide NULL pointer from compiler
Disabling a warning does not prevent the compiler from reasoning what it
is supposed to do with a somewhat undefined function call.
2018-10-24 10:19:14 +02:00
Sebastian Huber 01595a4f32 bsp/imx: Adjust workspace according to device tree 2018-10-24 10:19:14 +02:00
Sebastian Huber 8ba76b9e28 tmonetoone: Add yield test case 2018-10-22 08:08:10 +02:00
Sebastian Huber 8d816221c1 posix: Provide non-thread functions by default
Update #2514.
2018-10-22 08:08:10 +02:00
Sebastian Huber 0b2808ce0b posix: Provide scheduler support by default
Update #2514.
2018-10-22 08:08:10 +02:00
Sebastian Huber dd804bb16f posix: Provide cancel state/type by default
Sort POSIX sources lexicographically in Makefile.am

Update #2514.
2018-10-22 08:08:10 +02:00