summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* validation: Test rtems_message_queue_construct()Sebastian Huber2020-09-282-0/+1869
| | | | Update #4007.
* rtems: Add rtems_message_queue_construct()Sebastian Huber2020-09-2817-169/+590
| | | | | | | | | | | In contrast to message queues created by rtems_message_queue_create(), the message queues constructed by this directive use a user-provided message buffer storage area. Add RTEMS_MESSAGE_QUEUE_BUFFER() to define a message buffer type for message buffer storage areas. Update #4007.
* rtems: Remove Message_queue_Control::attribute_setSebastian Huber2020-09-284-10/+26
| | | | | | | Add Message_queue_Control::is_global if RTEMS_MULTIPROCESSING is defined. This reduces the Message_queue_Control size in standard RTEMS configurations. Update #4007.
* score: Add <rtems/score/coremsgbuffer.h>Sebastian Huber2020-09-284-38/+99
| | | | | | | | | | Move the CORE_message_queue_Buffer definition to a separate header file to be able to use it independent of the remaining Message Queue Handler API. Change license to BSD-2-Clause according to file history. Update #3053. Update #4007.
* score: Simplify CORE_message_queue_BufferSebastian Huber2020-09-2810-76/+72
| | | | | | | | | | Merge CORE_message_queue_Buffer structure into CORE_message_queue_Buffer_control. Use a zero-length array for the actual message buffer. This reduces the structure size on all targets. Update #4007.
* score: Improve _CORE_message_queue_Initialize()Sebastian Huber2020-09-287-40/+52
| | | | | | Return a status code and differentiate between error conditions. Update #4007.
* score: Gather message queue control initializationSebastian Huber2020-09-281-16/+11
| | | | | | | Initialize the structure in a single code block after the error checks and calculations. Update #4007.
* score: Fix allocation size calculationSebastian Huber2020-09-281-51/+23
| | | | | | | | | | The previous multiplication error check is broken on 64-bit machines. Use the recommended check from SEI CERT C Coding Standard, "INT30-C. Ensure that unsigned integer operations do not wrap". Make sure the message size computation does not overflow. Update #4007.
* score: Use RTEMS_ALIGN_UP()Sebastian Huber2020-09-281-3/+4
| | | | Update #4007.
* build: Add commentSebastian Huber2020-09-281-0/+4
| | | | Update #3818.
* build: Fix option default valuesSebastian Huber2020-09-271-3/+4
| | | | | | | For the option default values we have to use the BSP name defined by the build specification and not the user. Update #3818.
* build: Fix enabled-by evaluationSebastian Huber2020-09-271-1/+2
| | | | | | | For the enabled-by evaluation we have to use the BSP name defined by the build specification and not the user. Update #3818.
* build: Simplify get_compiler()Sebastian Huber2020-09-271-2/+2
| | | | Update #3818.
* build: Add RTEMS_PROFILINGSebastian Huber2020-09-252-0/+18
| | | | Update #3818.
* libtest: Remove superfluous assignmentSebastian Huber2020-09-241-1/+0
| | | | Issue found by Coverity (CID 1437643).
* bsps/pc386: Add missing license headerJan Sommer2020-09-231-0/+26
| | | | Closes #4093.
* or1k: Do not use printk() for _CPU_Fatal_halt()Sebastian Huber2020-09-231-4/+0
| | | | Debug output can be added to user-defined fatal error handlers.
* or1k: Remove superfluous includesSebastian Huber2020-09-231-2/+0
| | | | Including <stdio.h> in <rtems/score/cpu.h> breaks libbsd.
* bsps/riscv: Add bsp_fdt_map_intr()Sebastian Huber2020-09-231-0/+6
| | | | This function is required by libbsd.
* libmisc/capture: Add rtems-trace-buffer-default.c to the autotools buildChris Johns2020-09-231-0/+1
|
* cpukit/rtems: Add taskconstruct.c to the autotools buildChris Johns2020-09-231-0/+1
|
* rtems: Install missing header fileSebastian Huber2020-09-221-0/+1
| | | | Update #3053.
* bsp/gen83xx: Add missing source fileSebastian Huber2020-09-211-0/+1
| | | | Update #3818.
* bsps/powerpc: Remove __ppc_generic defineSebastian Huber2020-09-208-36/+0
| | | | | | Do not force BSPs to define __ppc_generic. This was probably the last command line define in the BSPs.
* bsp/motorola_powerpc: Remove obsolete GCC optionSebastian Huber2020-09-202-4/+1
| | | | | | | | | | | | | | | | | | | commit 20c89ab7c5091ee48535392cae2177aa1a1c43eb Author: Segher Boessenkool <segher@kernel.crashing.org> Date: Fri Jan 12 21:50:52 2018 +0100 rs6000: Remove -mstring -mstring is only enabled by default on 601, and with -Os on some configurations. It is almost always slower (than not using it) and does not very often lead to smaller code. This patch disables it. If a user uses -mstring he gets a warning (but not with -mno-string). I left the target attribute in place, it just doesn't do anything anymore. The patch also deletes a whole bunch of code. The 'N' and 'O' output modifiers are now unused, but now is not the time to delete them.
* bsps/powerpc: Remove -fno-commonSebastian Huber2020-09-209-11/+0
| | | | Remove -fno-common because it is the default since GCC 10.
* capture: Move default trace dataSebastian Huber2020-09-204-28/+63
| | | | | | | Provide the default trace data in a separate file to avoid issues on targets with a small-data area. Close #3883.
* build: Fix linker pathSebastian Huber2020-09-201-2/+2
| | | | | | | | | | | Use -B for the linker since some architectures use extra start files defined by the GCC specification and provided by the BSP, for example powerpc. Start files are not found by -L. In the long run, the GCC defined start files should be provided by GCC. This is a GCC 11 topic. Update #3818
* score: Document _Scheduler_Try_to_schedule_node()Sebastian Huber2020-09-181-10/+34
|
* rtems: Generate <rtems.h>Sebastian Huber2020-09-181-33/+67
| | | | | | | | | Change license to BSD-2-Clause according to file history and documentation re-licensing agreement. Update #3053. Update #3899. Update #3993.
* rtems: From <rtems.h> to <rtems/rtems/mp.h>Sebastian Huber2020-09-182-25/+16
| | | | | Move multiprocessing related definitions to <rtems/rtems/mp.h>. This makes <rtems.h> an include only header file.
* rtems: From <rtems.h> to <rtems/rtems/types.h>Sebastian Huber2020-09-182-7/+7
| | | | | Move type related definition to <rtems/rtems/types.h>. The goal is to make <rtems.h> an include only header file.
* rtems: From <rtems.h> to <rtems/rtems/tasks.h>Sebastian Huber2020-09-182-29/+29
| | | | | Move task related declarations and definitions to <rtems/rtems/tasks.h>. The goal is to make <rtems.h> an include only header file.
* rtems: From <rtems.h> to <rtems/rtems/object.h>Sebastian Huber2020-09-182-59/+59
| | | | | | Move object related declarations and definitions to <rtems/rtems/object.h>. The goal is to make <rtems.h> an include only header file.
* rtems: Move from <rtems.h> to <rtems/config.h>Sebastian Huber2020-09-184-18/+19
| | | | | | Move configuration related declarations and definitions to <rtems/config.h>. The goal is to make <rtems.h> an include only header file.
* score: Improve Scheduler Handler documentationSebastian Huber2020-09-182-14/+38
|
* gitignore: ignore top-level ini filesGedare Bloom2020-09-181-0/+1
|
* doxygen: Wrap long linesSebastian Huber2020-09-181-10/+20
|
* rtems: Fix typoSebastian Huber2020-09-171-1/+1
| | | | Update #3959.
* validation: rtems_task_construct() errorsSebastian Huber2020-09-172-0/+2368
| | | | | | | This is the first test case generated from a specification item in the rtems-central repository. Update #3959.
* validation: Add general purpose test suiteSebastian Huber2020-09-178-1/+286
| | | | | | | | | Add a general purpose test suite for validation tests. This is the first test suite generated from a specification item in the rtems-central repository. Update #3959.
* doxygen: Move top-level group definitionsSebastian Huber2020-09-172-18/+44
| | | | Update #3959.
* rtems: Add rtems_task_construct()Sebastian Huber2020-09-1711-236/+604
| | | | | | | | | | | | | | | | | In contrast to rtems_task_create() this function constructs a task with a user-provided task storage area. The new directive uses a configuration structure instead of individual parameters. Add RTEMS_TASK_STORAGE_SIZE() to calculate the recommended size of a task storage area based on the task attributes and the size dedicated to the task stack and thread-local storage. This macro may allow future extensions without breaking the API. Add application configuration option CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE to adjust RTEMS Workspace size estimate. Update #3959.
* CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZESebastian Huber2020-09-1713-8/+186
| | | | | | | | | | | Add this application configuration option. This configuration option can be used to reserve space for the dynamic linking of modules with thread-local storage objects. Add RTEMS_TASK_STORAGE_ALIGNMENT to define the minium alignment of a thread-local storage size. Update #4074.
* rtems: Add RTEMS_ALIGN_UP()Sebastian Huber2020-09-171-0/+15
| | | | | Update #3959. Update #4074.
* rtems: Add RTEMS_ALIGN_DOWN()Sebastian Huber2020-09-171-0/+15
| | | | | Update #3959. Update #4074.
* build: Allow test program item UIDs with a "-"Sebastian Huber2020-09-171-2/+4
| | | | Update #3818.
* build: Fix mghttpd01 test excludeSebastian Huber2020-09-173-17/+2
| | | | Update #3818.
* libtest: Fix T_thread_switch_record()Sebastian Huber2020-09-171-0/+1
| | | | | | | If RTEMS_DEBUG is not defined, then we have to explicitly set the node off the chain. Update #3199.
* riscv: Make sifive_test finisher 4 bytesHesham Almatary2020-09-171-1/+1
| | | | | | QEMU is now stricter with MMIO sizes and accesses. uintptr_t on RV64 is 8 bytes and generates an sd instruction that Store/AMO faults because sifive_test MMIO expects 4 bytes accesses.