summaryrefslogtreecommitdiffstats
path: root/cpukit/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* shell: Add i2c and spi commandsChristian Mauderer2020-12-141-0/+28
| | | | | | | | This adds some commands that are usefull for debugging simple serial interfaces. Even if they are a complete re-implementation, the i2c* commands use a simmilar call like the Linux i2c tools.
* config: Fix invalid static assertions in CSebastian Huber2020-12-122-31/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | Expressions in static assertions must be integral constant expressions. In integral constant expressions the use of address constant expressions is not allowed. In static initializers the address constant expressions are allowed. Introduce a new macro _CONFIGURE_ASSERT_NOT_NULL() which leads to a compile time error if the second parameter is NULL. It generates error messages like this if for example #define CONFIGURE_INIT_TASK_ENTRY_POINT NULL is provided by the application: cpukit/include/rtems/confdefs/inittask.h:51:26: error: size of unnamed array is negative 51 | ( _type ) sizeof( int[ ( _value ) != NULL ? 1 : -1 ] ) ) | ^ cpukit/include/rtems/confdefs/inittask.h:170:3: note: in expansion of macro '_CONFIGURE_ASSERT_NOT_NULL' 170 | _CONFIGURE_ASSERT_NOT_NULL( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ This fix relates to CID 1470570 (PARSE_ERROR). Update #4181.
* rtems: Generate <rtems/rtems/timer.h>Sebastian Huber2020-12-031-211/+494
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* score: Return a status in _Objects_Set_name()Sebastian Huber2020-12-031-6/+8
|
* rtems: Generate <rtems/rtems/object.h>Sebastian Huber2020-12-031-257/+449
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* score: Fix Doxygen group membershipSebastian Huber2020-12-021-1/+1
| | | | Update #3706.
* score: Fix Doxygen group nameSebastian Huber2020-12-021-1/+1
| | | | Update #3706.
* rtems: Fix Doxygen return descriptionSebastian Huber2020-12-021-2/+2
|
* rtems: Clarify invalid identifier descriptionsSebastian Huber2020-12-022-7/+8
| | | | Update #3993.
* rtems: Clarify rtems_partition_delete()Sebastian Huber2020-12-021-2/+3
| | | | | | | Move the PTCB sentence to the notes to be in line with rtems_partition_create(). Update #3993.
* rtems: Clarify rtems_partition_create()Sebastian Huber2020-12-021-6/+6
| | | | | | | The rtems_partition_create() returns an object identifier and not just a partition identifier. Update #3993.
* rtems: Fix Doxygen group nameSebastian Huber2020-12-021-1/+1
| | | | Update #3706.
* rtems: Fix Doxygen group membershipsSebastian Huber2020-12-022-2/+2
| | | | Update #3706.
* config: Canonicalize @defgroup and @file commentsSebastian Huber2020-12-0239-73/+118
| | | | | | | Adjust group identifier and names to be in line with a common pattern. Use common phrases for the group and file brief descriptions. Update #3706.
* sapi: Canonicalize @defgroup and @file commentsSebastian Huber2020-12-029-32/+58
| | | | | | | Adjust group identifier and names to be in line with a common pattern. Use common phrases for the group and file brief descriptions. Update #3706.
* score: Canonicalize Doxygen @file commentsSebastian Huber2020-12-02105-274/+326
| | | | | | Use common phrases for the file brief descriptions. Update #3706.
* rtems: Canonicalize Doxygen @file commentsSebastian Huber2020-12-0225-40/+51
| | | | | | Use common phrases for the file brief descriptions. Update #3706.
* score: Always define RTEMSScoreMRSP groupSebastian Huber2020-12-021-5/+4
| | | | This fixes a Doxygen warning.
* score: Canonicalize Doxygen groupsSebastian Huber2020-12-0265-128/+166
| | | | | | | Adjust group identifier and names to be in line with a common pattern. Use common phrases for the group brief descriptions. Update #3706.
* rtems: Canonicalize implementation Doxygen groupsSebastian Huber2020-12-0237-98/+166
| | | | | | | | | Rename Classic API top-level group from Classic to RTEMSImplClassic. Use RTEMSImplClassic as a prefix for the subgroups. Change the group names to be in line with the API group names. Use common phrases for the group brief descriptions. Update #3706.
* rtems: Add <rtems/rtems/clockimpl.h>Sebastian Huber2020-12-022-30/+73
|
* posix: Delete unused _POSIX_Fatal_error()Sebastian Huber2020-12-021-18/+0
|
* rtems: Fix documentation in <rtems/rtems/part.h>Sebastian Huber2020-12-011-3/+3
| | | | Update #3993.
* rtems: Delete rtems_object_id_api_maximum_class()Sebastian Huber2020-11-271-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | This directive has no implementation. It is documented in the RTEMS Classic API Guide. It was added by commit 6c06288f6452da96fa630f1482aeaaba5d217531 Author: Joel Sherrill <joel.sherrill@OARcorp.com> Date: Tue Jan 29 21:52:21 2008 +0000 without an implementation. The later change commit fdc57ca4b6794dc17c7b7d94ae557da21e314d6a Author: Joel Sherrill <joel.sherrill@OARcorp.com> Date: Mon Nov 23 14:53:04 2009 +0000 renamed the similar rtems_object_id_api_minimum_class() in rtems_object_api_minimum_class(). The rtems_object_api_maximum_class() is documented and implemented. It can be assumed that the rtems_object_id_api_maximum_class() is a fragement left over from development.
* config: Check CONFIGURE_INIT_TASK_STACK_SIZESebastian Huber2020-11-261-0/+2
|
* config: CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZESebastian Huber2020-11-263-13/+93
| | | | | | | | | | In order to better support applications which use the new rtems_task_construct() directive add the CONFIGURE_INIT_TASK_CONSTURCT_STORAGE_SIZE configuration option. If this option is specified, then the Classic API initialization task is constructed with rtems_task_construct(). Update #4181.
* Avoid INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULLSebastian Huber2020-11-262-1/+22
| | | | | | | Replace a runtime check with a compile time assertion. This makes the INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL obsolete. Update #4181.
* config: Clarify the use of pragmasSebastian Huber2020-11-261-1/+9
|
* rtems: Move "Set Errno" group to the APISebastian Huber2020-11-261-5/+5
|
* score: Change _Per_CPU_Information declarationSebastian Huber2020-11-261-1/+1
| | | | | | Change the _Per_CPU_Information declaration so that Doxygen can parse it. This attribute placement is also in line with the _Alignas() specifier of C11.
* rtems: Move _Partition_Allocate()Sebastian Huber2020-11-241-12/+0
| | | | It is only used by rtems_partition_create().
* rtems: Move _Partition_Initialize()Sebastian Huber2020-11-241-25/+0
| | | | It is only used by rtems_partition_create(). Fix integer types.
* rtems: Move _Partition_Is_buffer_area_aligned()Sebastian Huber2020-11-241-7/+0
| | | | | It is only used by rtems_partition_create(). Move code directly into directive which called the inline function. Add a comment.
* rtems: Move _Partition_Is_buffer_size_aligned()Sebastian Huber2020-11-241-7/+0
| | | | | It is only used by rtems_partition_create(). Move code directly into the directive which called the inline function. Add a comment.
* rtems: Move _Partition_Is_buffer_on_boundary()Sebastian Huber2020-11-241-22/+0
| | | | | It is used only by rtems_partition_return_buffer(). Make the PTCB the first parameter. Rename to _Partition_Is_address_on_buffer_boundary().
* rtems: Move _Partition_Is_buffer_valid()Sebastian Huber2020-11-241-23/+0
| | | | | It is used only in one place. Make the PTCB the first parameter. Rename it to _Partition_Is_address_a_buffer_begin().
* libtest: Fix undefined setjmp() behaviourSebastian Huber2020-11-241-1/+2
| | | | | | Bug was introduced by 78baeb757957fa0807c30e6c4d21ae99c9639e6a. Update #3199.
* rtems: Remove _Partition_Destroy()Sebastian Huber2020-11-231-7/+0
| | | | It was a trivial function call wrapper used only in one place.
* rtems: Remove _Partition_Free()Sebastian Huber2020-11-231-14/+0
| | | | It was a trivial function call wrapper used only in one place.
* rtems: Move _Partition_Free_buffer()Sebastian Huber2020-11-231-13/+0
| | | | It is only used by rtems_partition_return_buffer().
* rtems: Move _Partition_Allocate_buffer()Sebastian Huber2020-11-231-14/+0
| | | | It is only used by rtems_partition_get_buffer().
* rtems: Update partition documentationSebastian Huber2020-11-232-31/+84
|
* rtems: Canonicalize partition file documentationSebastian Huber2020-11-232-2/+4
|
* rtems: Update event documentationSebastian Huber2020-11-232-13/+79
|
* rtems: Remove unused _Event_Timeout()Sebastian Huber2020-11-231-8/+0
|
* rtems: Remove EVENT_SETS_NONE_PENDINGSebastian Huber2020-11-231-7/+1
| | | | This define was only used in one place.
* rtems: Remove unused EVENT_CURRENTSebastian Huber2020-11-231-6/+0
|
* rtems: Canonicalize task event file documentationSebastian Huber2020-11-232-2/+3
|
* libio: Move to RTEMS implementation groupSebastian Huber2020-11-231-0/+2
|
* doxygen: Rename Internal to ImplementationSebastian Huber2020-11-2322-22/+22
| | | | | | Use a top-level implementation group to gather implementation related files. The use of "Impl" is shorter and matches with the *impl.h file names.