Sebastian Huber
1ac4a85ebf
score: Fix thread initialization
...
Close the thread object if a thread create extension fails. Also call
the delete extension to avoid resource leaks in early extensions if a
late extension fails.
Close #4270 .
2021-02-26 09:23:02 +01:00
Sebastian Huber
c96644e873
libtest: Print SHA256 hash in base64url
2021-02-26 09:10:09 +01:00
Sebastian Huber
74eff26c1d
libtest: Report target hash
...
Update #4267 .
2021-02-26 09:10:09 +01:00
Sebastian Huber
7480c34698
bsps: Add default rtems_get_target_hash()
...
Update #4267 .
2021-02-26 09:10:09 +01:00
Sebastian Huber
bc6ffc3be8
Add system initialization step for target hash
...
Update #4267 .
2021-02-26 09:10:09 +01:00
Sebastian Huber
fb17af2756
rtems: Add rtems_get_target_hash()
...
Update #4267 .
2021-02-26 09:10:09 +01:00
Sebastian Huber
dea125d02c
score: Add Hash Handler
...
Update #4267 .
2021-02-26 09:10:07 +01:00
Sebastian Huber
5f8bc839e8
score: Add _IO_Base64url()
...
Update #4267 .
2021-02-25 16:16:25 +01:00
Sebastian Huber
da8ad67e88
libtest: Report build label
...
Update #4269 .
2021-02-25 16:16:20 +01:00
Sebastian Huber
d8bfa5a9bc
rtems: Add rtems_get_build_label()
...
Update #4269 .
2021-02-25 16:16:16 +01:00
Sebastian Huber
d138a7906a
config: Adjust stack allocator initialization
...
Use the right system initialization step for the stack allocator
initialization. Do the stack allocator initialization before the
workspace initialization so that _Memory_Allocate() can be used to get
memory for the allocator.
2021-02-24 13:32:35 +01:00
Sebastian Huber
32b0d6f84a
bsps: Change license to BSD-2-Clause of some files
...
Change license to BSD-2-Clause according to file histories and
re-licensing agreement.
Update #3899 .
2021-02-24 11:15:07 +01:00
Sebastian Huber
e8284a3458
build: Sort source lists
...
Use the Python sorted() function to sort the "source" lists.
2021-02-24 09:22:54 +01:00
Sebastian Huber
006c7020f4
validation: Simplify message queue construct tests
2021-02-24 09:22:36 +01:00
Sebastian Huber
fd83860323
validation: Add missing barrier create test case
2021-02-24 09:22:36 +01:00
Sebastian Huber
5be6e61481
libtest: Add support to seize/surrender objects
2021-02-24 09:22:36 +01:00
Sebastian Huber
d6a649d5bf
rtems: Move rtems_task_priority definition
...
This type is not only used by Task Manager directives. This is a
preparation to move the rtems_scheduler_*() directives from
<rtems/rtems/tasks.h> to a new <rtems/rtems/scheduler.h>.
2021-02-24 09:22:36 +01:00
Sebastian Huber
88543adeb5
score: Remove _CORE_barrier_Do_flush()
...
Call _Thread_queue_Flush_critical() directly.
2021-02-24 09:22:36 +01:00
Sebastian Huber
3cbdf19eac
score: Simplify core barrier
...
Use the number of threads which must arrive at the barrier to trip the
automatic release also to indicate if the barrier is a manual release
barrier.
2021-02-24 09:22:36 +01:00
Sebastian Huber
0b263b0eb7
score: Remove _Objects_Open()
...
Use the type safe _Objects_Open_u32() instead. Return the object
identifier to enforce a common usage pattern.
2021-02-24 09:22:36 +01:00
Sebastian Huber
3353820be7
build: Fix format in wscript
2021-02-23 10:05:52 +01:00
Sebastian Huber
508f868237
rtems: Simplify rtems_task_mode()
...
Do the preemption and ASR processing changes in one rush and acquire the
thread state lock only once.
2021-02-20 15:22:29 +01:00
Sebastian Huber
a7e180b95d
rtems: Avoid potential recursion in ASR handling
...
Do the mode changes necessary for the ASR processing directly under
protection of the thread state lock to avoid the recursive calls to
thread dispatching done in rtems_task_mode().
Close #4244 .
2021-02-20 15:21:34 +01:00
Sebastian Huber
08adc0dc7f
rtems: Add _Modes_Apply_timeslice_to_thread()
...
Update #4244 .
2021-02-20 15:18:49 +01:00
Sebastian Huber
8778a0e118
rtems: New errors for rtems_signal_catch()
...
Ensure that no invalid modes are set during ASR processing.
Update #4244 .
2021-02-20 15:18:49 +01:00
Sebastian Huber
1739bd2439
rtems: Remove _Modes_Set_interrupt_level()
...
This call just obfuscated the call to _ISR_Set_level().
Update #4244 .
2021-02-20 15:18:49 +01:00
Sebastian Huber
b207b37898
posix: Remove superfluous check
...
The api pointer is never NULL.
Update #4244 .
2021-02-20 15:18:49 +01:00
Sebastian Huber
f6a97f5992
rtems: Simplify signal handling
...
Remove superfluous ASR_Information::signals_posted. Move code out of
trivial inline functions.
Update #4244 .
2021-02-20 15:18:49 +01:00
Sebastian Huber
74ca8b7517
rtems: Move _Signal_Action_handler()
...
Move _Signal_Action_handler() and signal MP initialization to
rtems_signal_send(). The goal is to make _Signal_Action_handler() a
static function in a follow up patch.
Update #4244 .
2021-02-20 15:18:49 +01:00
Sebastian Huber
a52e5d9c7e
rtems: Remove unused ASR_Information::nest_level
...
Update #4244 .
2021-02-20 15:18:49 +01:00
Sebastian Huber
9d5d73be63
rtems: Remove unused _Modes_Change()
...
Update #4244 .
2021-02-20 15:18:49 +01:00
Sebastian Huber
600360dadf
rtems: Remove unused _Modes_Mask_changed()
...
Update #4244 .
2021-02-20 15:18:49 +01:00
Sebastian Huber
f9a59164e8
score: Add _Thread_Append_post_switch_action()
...
Update #4244 .
2021-02-20 15:18:48 +01:00
Sebastian Huber
fea848bbbc
score: Change thread action locking
...
Require that the corresponding lock is acquired before the action
handler returns. This helps to avoid recursion in the signal
processing.
Update #4244 .
2021-02-20 15:18:48 +01:00
Sebastian Huber
3e7d658033
validation: Add signal manager tests
...
Update #4244 .
2021-02-20 15:18:48 +01:00
Sebastian Huber
f38c0de407
validation: Add Validation1 test suite
...
Update #4244 .
2021-02-20 15:18:48 +01:00
Ryan Long
fac1ff1820
grspw_pkt.c: Fix Dereference before null check (CID #1399846 )
...
CID 1399846: Dereference before null check in grspw_addr_ctrl().
Closes #4253
2021-02-19 14:05:50 -06:00
Ryan Long
1fd56a96fc
grtc.c: Fix Dereference before null check (CID #1399840 )
...
CID 1399840: Dereference before null check in grtc_ioctl().
Closes #4252
2021-02-19 14:05:49 -06:00
Ryan Long
4edcdf43c7
b1553rt.c: Fix Deference before null check (CID #1399830 )
...
CID 1399830: Dereference before null check in rt_control().
Closes #4251
2021-02-19 14:05:49 -06:00
Ryan Long
eff3d7c05f
b1553brm.c: Fix Dereference before null check (CID #1399829 )
...
CID 1399829: Dereference before null check in brm_control().
Closes #4250
2021-02-19 14:05:49 -06:00
Sebastian Huber
8b1b987201
rtems: Generate <rtems/rtems/signal.h>
...
Change license to BSD-2-Clause according to file histories and
documentation re-licensing agreement.
Update #3899 .
Update #3993 .
2021-02-19 07:07:04 +01:00
Sebastian Huber
be60372136
basedefs: Add RTEMS_ALIGNOF()
2021-02-19 07:07:04 +01:00
Ryan Long
fa25b73ac1
shell.c: Fix Dereference before null check (CID #1467420 )
...
CID 1467420: Dereference before null check in rtems_shell_line_editor().
Closes #4254
2021-02-18 13:34:33 -06:00
Sebastian Huber
407e351e11
rtems: Generate <rtems/rtems/sem.h>
...
Change license to BSD-2-Clause according to file histories and
documentation re-licensing agreement.
Update #3899 .
Update #3993 .
2021-02-17 18:57:24 +01:00
Sebastian Huber
276828053e
rtems: Generate <rtems/rtems/clock.h>
...
Change license to BSD-2-Clause according to file histories and
documentation re-licensing agreement.
Update #3899 .
Update #3993 .
2021-02-17 18:57:24 +01:00
Sebastian Huber
0c4c03532c
rtems: Generate <rtems/rtems/barrier.h>
...
Change license to BSD-2-Clause according to file histories and
documentation re-licensing agreement.
Update #3899 .
Update #3993 .
2021-02-17 18:57:24 +01:00
Sebastian Huber
97825daf9c
rtems: Clarify object services documentation
...
Unify the wording across similar directives of other managers.
Update #3993 .
2021-02-17 18:57:07 +01:00
Sebastian Huber
7a1828ac61
rtems: Clarify IO manager documentation
...
Unify the wording across similar directives of other managers.
Update #3993 .
2021-02-17 18:56:50 +01:00
Sebastian Huber
bf3b9f4536
rtems: Clarify partition manager documentation
...
Unify the wording across similar directives of other managers.
Update #3993 .
2021-02-17 18:56:22 +01:00
Sebastian Huber
f9dc44afc7
rtems: Clarify timer manager documentation
...
Unify the wording across similar directives of other managers. Add
"CONSTRAINTS" section.
Update #3993 .
2021-02-17 18:56:04 +01:00