| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Unify the wording across similar directives of other managers. Add
"CONSTRAINTS" section.
Update #3993.
|
|
|
|
|
|
|
| |
Unify the wording across similar directives of other managers. Add
"CONSTRAINTS" section.
Update #3993.
|
|
|
|
|
|
|
| |
These macros are to be used to check the status from calls that are flagged
by Coverity as 'Unchecked return value'.
Fix file assert.h
|
|
|
|
|
|
|
|
|
| |
- Move the heap sbrk code into a separate routnine.
- Update heap and workspace greedy allocators to use the common
sbrk greedy support.
Closes #3982
|
|
|
|
|
|
| |
Change RTEMS_STRING() and RTEMS_XSTRING() to accept a variable number of
arguments which is stringified. This can be used for example to create
register lists for inline assembler statements.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add the bool flag no_regular_file_mknod to the mount table so a file
system can indicate creating regular files is not done by
use the mknod handler. The file system will handle creating a
file node in the open handler.
- Note, the mount option is an enum which means there is only one
exclusive option supported. As a result no encapsulation is
provided and file systems need to set no_regular_file_mknod directly.
Closes #4222
|
|
|
|
|
|
|
| |
This fixes a missing decrement of the number of waiting threads during a
barrier wait timeout.
Close #4230.
|
|
|
|
| |
Update #4230.
|
|
|
|
| |
Update #4230.
|
|
|
|
|
|
|
| |
Unify the wording across similar directives of other managers. Add
"Constraints" paragraph.
Update #3993.
|
|
|
|
|
|
|
| |
Change _Objects_Build_name() so that the result is independent of the
signedness of char.
Close #4228.
|
|
|
|
|
|
|
|
|
| |
Add a "Constraints" paragraph to the documentation.
Provide prototypes for programming language bindings. Use the macro
implementation to implement the corresponding functions.
Update #3993.
|
|
|
|
|
|
|
|
|
| |
The goal is to reduce false positive NULL_RETURNS,
PW.NORETURN_FUNCTION_DOES_RETURN, PW.SET_BUT_NOT_USED,
UNUSED_VALUE, etc. issues produced by Coverity.
Define RTEMS_STATIC_ANALYSIS if a static analysis run by Coverity is
performed.
|
| |
|
| |
|
|
|
|
| |
This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
|
| |
|
|
|
|
| |
This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
|
|
|
|
| |
This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
|
|
|
|
|
| |
This fix relates to a Coverity issue
(PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE).
|
|
|
|
|
|
|
| |
Do not shadow the queue_context parameter with a local variable. Reuse
the queue context to reduce the required stack space.
This fix relates to a Coverity issue (PW.PARAMETER_HIDDEN).
|
|
|
|
| |
This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
|
|
|
|
| |
This fix relates to a Coverity issue (NULL_RETURNS).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We do not need all the checks if we have a valid indentifier to a thread
class object.
Using the new _Thread_Get_objects_information() instead of the inline
function _Thread_Get_objects_information_by_id() avoids dead code since
the identifier in a thread control is always valid and the return NULL
path in _Thread_Get_objects_information_by_id() would be dead code. The
_Thread_Get_objects_information_by_id() should be an inline function
since it is used by _Thread_Get() and thus performance critical. Static
analyzers which cannot derive that the identifier in a thread control is
always valid, may find a potential NULL pointer access (or otherwise
find dead code).
The identifier in an object control is always valid, see
_Objects_Initialize_information() and _Objects_Extend_information().
Move _RTEMS_tasks_Free() to the only source file which calls this
function.
|
|
|
|
|
|
| |
Rename _Thread_Get_objects_information() in
_Thread_Get_objects_information_by_id() to emphasize that this thread
method uses an object identifier and not a thread control.
|
|
|
|
|
|
|
| |
Place the paragraphs in the same order as the directive documentation in
the RTEMS Classic API Guide.
Update #3993.
|
|
|
|
|
| |
The first block must be a proper block. Account for this in
_Heap_Area_overhead().
|
| |
|
|
|
|
|
|
| |
Add "extern" similar to RTEMS_LINKER_RWSET_ITEM_ORDERED_DECLARE().
Close #4221.
|
|
|
|
| |
This allows a SPI driver to add a hardware specific ioctl.
|
|
|
|
|
|
|
|
| |
Return STATUS_DEADLOCK (RTEMS_INCORRECT_STATE) to indicate a nested
seize since this is a kind of deadlock. This status code is also used
for other deadlocks.
Update #4217.
|
|
|
|
|
|
|
| |
It seems we need valid values or assumptions in the FreeBSD about
these values breaks some of the code.
Closes #4207
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
Change license to BSD-2-Clause according to file histories and
documentation re-licensing agreement.
Update #3899.
Update #3993.
|
| |
|
|
|
|
|
|
|
|
| |
Change license to BSD-2-Clause according to file histories and
documentation re-licensing agreement.
Update #3899.
Update #3993.
|
|
|
|
| |
Update #3706.
|
|
|
|
| |
Update #3706.
|
| |
|
|
|
|
| |
Update #3993.
|
|
|
|
|
|
|
| |
Move the PTCB sentence to the notes to be in line with
rtems_partition_create().
Update #3993.
|
|
|
|
|
|
|
| |
The rtems_partition_create() returns an object identifier and not just a
partition identifier.
Update #3993.
|
|
|
|
| |
Update #3706.
|
|
|
|
| |
Update #3706.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Use common phrases for the file brief descriptions.
Update #3706.
|
|
|
|
|
|
| |
Use common phrases for the file brief descriptions.
Update #3706.
|