Sebastian Huber
610b54d83a
testsuites: Remove stray ';'
2023-07-21 09:32:33 +02:00
Sebastian Huber
bcef89f236
Update company name
...
The embedded brains GmbH & Co. KG is the legal successor of embedded
brains GmbH.
2023-05-20 11:05:26 +02:00
Sebastian Huber
377eae4165
spsysinit01: Fix sem_open() call
...
The O_CREAT flag requires a mode and initial value as third and fourth
argument.
Close #4878 .
2023-03-14 08:00:21 +01:00
Joel Sherrill
ecd8aec911
Remove remnants of rtems_io_lookup_name
...
Updates #3420 .
2022-11-10 15:18:12 -06:00
Sebastian Huber
f6bcf1636b
sptests: Avoid fatal error to end a test
...
End the test with a normal exit instead of
INTERNAL_ERROR_THREAD_EXITTED.
2022-10-25 08:00:32 +02:00
Sebastian Huber
64fbeaa0d1
score: INTERNAL_ERROR_IDLE_THREAD_STACK_TOO_SMALL
...
Ensure that the IDLE storage allocator did allocate a suffiently large area.
Update #3835 .
Update #4524 .
2022-10-14 10:48:23 +02:00
Sebastian Huber
45ee958552
config: Add CONFIGURE_IDLE_TASK_STORAGE_SIZE
...
By default, allocate the IDLE task storage areas from the RTEMS Workspace.
This avoids having to estimate the thread-local storage size in the default
configuration.
Add the application configuration option CONFIGURE_IDLE_TASK_STORAGE_SIZE to
request a static allocation of the task storage area for IDLE tasks.
Update #3835 .
Update #4524 .
2022-10-14 10:48:23 +02:00
Sebastian Huber
1ab93ba480
score: INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED
...
Add the INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED fatal error in case the
creation of an idle thread fails. This may happen due to a failing create
extension provided by the application.
2022-10-14 10:48:22 +02:00
Sebastian Huber
2846b17d7e
config: Changeable size for IDLE stack allocator
...
Allow the IDLE stack allocator to change the stack size. This can be
used by applications with a very dynamic thread-local storage size to
adjust the thread storage area of the IDLE tasks dynamically.
Update #4524 .
2022-10-14 07:29:41 +02:00
Sebastian Huber
dc545608a7
sptls02: Fix alignment check
2022-10-14 07:29:41 +02:00
Sebastian Huber
b9212e242f
sptls01: Disable file system and Newlib reentrancy
...
Update #4560 .
2022-10-14 07:29:41 +02:00
Sebastian Huber
0307c81aa0
sptls0*: Enable stack checker
...
The thread-local storage area is located close to other stacks. Try to detect
overwrites.
2022-10-14 07:29:41 +02:00
Sebastian Huber
a660e9dc47
Do not use RTEMS_INLINE_ROUTINE
...
Directly use "static inline" which is available in C99 and later. This brings
the RTEMS implementation closer to standard C.
Close #3935 .
2022-09-19 09:09:22 +02:00
Sebastian Huber
4d77f725ca
sp54: Fix test case
...
Since commit 6a6580331d , the local table is
zero-initialized. Use an initial object control block instead.
Update #4678 .
2022-08-01 09:15:36 +02:00
Sebastian Huber
7fe6d60bf0
score: Remove PRIORITY_PSEUDO_ISR thread priority
...
The uniprocessor schedulers had some special case logic for the
PRIORITY_PSEUDO_ISR priority. Tasks with a priority of PRIORITY_PSEUDO_ISR
were allowed to preempt a not preemptible task. If other higher priority task
are made ready while a PRIORITY_PSEUDO_ISR task preempts a not preemptible
task, then the other tasks run before the not preemptible task. This made the
RTEMS_NO_PREEMPT mode ineffective.
Remove the PRIORITY_PSEUDO_ISR special case logic. This simplifies the
uniprocessor schedulers. Move the uniprocessor-specific scheduler support to
the new header file <rtems/score/scheduleruniimpl.h>.
Close #2365 .
2022-07-26 11:26:22 +02:00
Sebastian Huber
0a1d2d7814
sptests/spstdc17: New test
2022-07-25 16:11:36 +02:00
Matt Joyce
57a569efe1
sptests: Disable Newlib reentrancy
...
Update #4560 .
2022-07-21 07:22:13 +02:00
Sebastian Huber
ca7c2dd89b
sptls04: Test an external TLS object
2022-07-21 07:22:13 +02:00
Sebastian Huber
0e5f4c5d32
spsysinit01: Account for use of .noinit section
...
The objects control blocks cannot be used to check the pre-initialization state
since they are allocated in a .noinit section.
Update #4678 .
2022-07-18 15:52:20 +02:00
Sebastian Huber
3bb79aabca
spunlimited01: New test
...
Update #4677 .
2022-07-18 09:33:16 +02:00
Sebastian Huber
1bf878f7ff
score: Extend memory dirty/zero actions
...
Dirty or zero also the part of the .noinit section used by RTEMS.
Close #4678 .
2022-07-15 10:46:02 +02:00
Sebastian Huber
4b911a7516
score: Place object controls into .noinit sections
...
Place the statically allocated object control blocks, local tables, and thread
queue heads into the dedicated .noinit intput sections. The output section is
not zero initialized. Placing these elements into the .noinit section reduces
the system initialization time by decreasing the .bss section size.
It may improve the cache efficiency since the mostly read local tables are
placed in a contiguous memory area.
Update #4678 .
2022-07-15 10:46:02 +02:00
Sebastian Huber
da016421cd
spextensions01: Fix assertion
...
Commit 80090639a6 altered the system state
change. Account for this in assert_allocator_protected_thread_context().
2022-07-14 10:47:36 +02:00
Sebastian Huber
013e028f87
sppps01: Fix test in SMP configurations
...
Update #2349 .
2022-07-13 16:06:00 +02:00
Gabriel Moyano
eefaf0687c
sppps01: Add test case for early returns of pps_event()
...
Update #2349 .
2022-07-05 15:17:15 +02:00
Sebastian Huber
03e4d1e931
score: Add _CPU_Use_thread_local_storage()
...
At some point during system initialization, the idle threads are created.
Afterwards, the boot processor basically executes within the context of an idle
thread with thread dispatching disabled. On some architectures, the
thread-local storage area of the associated thread must be set in dedicated
processor registers. Add the new CPU port function to do this:
void _CPU_Use_thread_local_storage( const Context_Control *context )
Close #4672 .
2022-07-04 08:30:42 +02:00
Sebastian Huber
89e910f1aa
spcpuset01: Account for <sys/cpuset.h> API changes
...
Update #4667 .
2022-06-23 10:29:19 +02:00
Chris Johns
6b2c5b5da1
testsuite: Fix gcc 12 warnings
2022-06-21 10:21:13 +10:00
Joel Sherrill
1f23640a9b
sptests/spglobalcon01/init.cc: Change license to BSD-2
...
Updates #3053 .
2022-06-14 10:31:39 -05:00
Joel Sherrill
59a79edb95
sptests/*/*.doc: Change license to BSD-2
...
Updates #3053 .
2022-06-14 10:31:39 -05:00
Joel Sherrill
f98b739119
smptests/*/*.py: Change license to BSD-2
...
Manually adjusted location of SPDX annotation so #! remains first line.
Updates #3053 .
2022-06-14 10:31:39 -05:00
Gabriel Moyano
34ba0e5a8e
sppps01: Improve default handler test
...
Update #2349 .
2022-05-27 13:42:56 +02:00
Gabriel Moyano
6553bf4ab6
testsuites/sptests: Add sppps01 test
...
Update #2349 .
2022-05-23 09:09:06 +02:00
Gabriel Moyano
b3e4f5809d
timepps.h: PPS_SYNC defined by default
...
Update #2349 .
2022-05-23 09:09:01 +02:00
Ryan Long
9a7e6d346b
sp65/init.c: Add file header and license
...
This file had no file header, copyright, or license. Based on git
history, added appropriate copyright and license.
2022-04-27 15:19:25 -05:00
Ryan Long
853860c55a
sp47/init.c: Add file header and license
...
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-04-27 15:19:24 -05:00
Ryan Long
a1c1d3ada3
sp44/init.c: Add file header and license
...
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-04-27 15:19:24 -05:00
Ryan Long
9a6aeb71b1
sptests/sp27*: Manually adding file headers and licenses
...
These files had no file header, copyright, or license. Based on git
history, added appropriate copyright and license.
2022-04-27 15:19:24 -05:00
Ryan Long
855ddeaf51
sptests: Manually adding file headers and licenses
...
Theses files had no file header, copyright, or license. Based on git
history, added appropriate copyrights and licenses.
2022-04-27 15:19:24 -05:00
Joel Sherrill
4160547a24
sp0*/*.doc: Remove junk UTF-8 character
2022-04-05 13:14:14 -05:00
Joel Sherrill
3ed59872de
testsuites/sptests/sp[i-z]*/*.doc: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
df6a7e0a1d
testsuites/sptests/sp[a-h]*/*.doc: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
ce8d47be72
testsuites/sptests/sp[0-7]*/*.doc: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
d865c65efe
testsuites/sptests/sp[s-z]*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
0473b2b36a
testsuites/sptests/sp[g-r]*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
e7d46b738c
testsuites/sptests/sp[a-f*]*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
c50bb51b19
testsuites/sptests/sp[4-7]*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
d987a57be4
testsuites/sptests/sp[2-3]*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
eb579662e4
testsuites/sptests/sp1*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
725101151c
testsuites/sptests/sp0*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00