summaryrefslogtreecommitdiffstats
path: root/spec/build (follow)
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: Add machine exception signal map testKinsey Moore2021-10-292-0/+24
| | | | | Add a test to verify that mapping of machine exceptions to POSIX signals operates properly when the application requests it.
* cpukit: Add signal mapping supportKinsey Moore2021-10-292-0/+18
| | | | | | This adds a confdef option allowing an application to request mapping machine exceptions to POSIX signals. This is required for some languages such as Ada.
* testsuite: Add machine exception resume testKinsey Moore2021-10-292-0/+22
| | | | | Add a test to verify that intercepted exceptions can be resolved and execution can be resumed.
* cpukit/aarch64: Add exception extensions supportKinsey Moore2021-10-291-0/+1
| | | | | This adds the function implementations necessary to add exception extensions support to AArch64.
* cpukit: Add exception extensionsKinsey Moore2021-10-292-0/+20
| | | | | | | | This adds the set of functions necessary to allow more generic handling of machine exceptions. This initial patch offers the ability to manipulate a CPU_Exception_frame and resume execution using that exception information with or without thread dispatch. These functions are gated behind the RTEMS_EXCEPTION_EXTENSIONS configuration option.
* rtems: Fix rate monotonic statisticsSebastian Huber2021-10-251-0/+1
| | | | | | | | | | | | | | | The rate monotonic period statistics were affected by rtems_cpu_usage_reset(). The logic to detect and work around a CPU usage reset was broken. The Thread_Contol::cpu_time_used is changed to contain the processor time used throughout the entire lifetime of the thread. The new member Thread_Contol::cpu_time_used_at_last_reset is added to contain the processor time used at the time of the last reset through rtems_cpu_usage_reset(). This decouples the resets of the CPU usage and the rate monotonic period statistics. Update #4528.
* spec/libdebugger: Only enable for supported architecturesChris Johns2021-10-224-4/+20
| | | | Closes #4533
* spec/aarch64: Enable previously unbuildable testsKinsey Moore2021-10-206-23/+0
| | | | | | | The spconfig01 and spmisc01 tests were disabled for all AArch64 BSPs due to a toolchain issue preventing them from compiling correctly. The binutils version that contains the fix has been released and integrated into RSB such that these two tests now build and operate correctly.
* microblaze: Rework for RTEMS 6Alex White2021-10-1316-0/+553
| | | | | This reworks the existing MicroBlaze architecture port and BSP to achieve basic functionality using the latest RTEMS APIs.
* Add support for IDLE Thread stack allocatorJoel Sherrill2021-10-114-0/+43
| | | | | | | | Add a stack allocator hook specifically for allocation of IDLE thread stacks. This allows the user to decide if IDLE thread stacks are statically allocated or handled by the same custom allocator mechanism as other thread stacks. Closes #4524.
* cpukit: Add AArch64 SMP SupportKinsey Moore2021-09-214-0/+24
| | | | This adds SMP support for AArch64 in cpukit and for the ZynqMP BSPs.
* bsps/gicv2: Allow BSPs to define IRQ attributesKinsey Moore2021-09-217-0/+7
| | | | | | | ARM's GICv2 is configurable and its attributes vary between implementations including omission of specific interrupts. This allows BSPs to accomodate those varying implementations with customized attribute sets.
* arm/lpc24xx: Use common test definition fileSebastian Huber2021-09-214-68/+2
|
* score: Remove unused default scheduler opsSebastian Huber2021-09-211-1/+0
| | | | | | | | | | If SMP support is enabled and the system has exactly one processor, then it may use an uniprocessor scheduler. The ask for help, reconsider help request, and withdraw node operations can be NULL in this case, since they are only used if a thread has at least one helping scheduler node. At least two schedulers are required to get a helping node and each scheduler involved must own at least one processor. This is not possible on a system with exactly one processor.
* score: Provide two thread pin/unpin defaultsSebastian Huber2021-09-211-0/+1
| | | | | | | | | | | | | | The uniprocessor schedulers do not support systems with more than more processors. So they rivially support thread pinning and thus the SMP_FATAL_SCHEDULER_PIN_OR_UNPIN_NOT_SUPPORTED cannot happen. Add a second default implementation for SMP schedulers which do not support thread pinning. Change license to BSD-2-Clause according to file history and re-licensing agreement. Update #3053.
* testsuites: Wrap putcharAlex White2021-09-1612-0/+12
| | | | The linker flag to wrap putchar was lost in translation from make to waf.
* build: Remove invalid attributesSebastian Huber2021-09-142-2/+0
|
* bsps/arm: Fix ABI flags for Cortex-M4Sebastian Huber2021-09-142-3/+5
| | | | Close #4504.
* bsps/zynqmp: Added I2C support for ZynqMPStephen Clark2021-09-095-0/+87
| | | | Added I2C drivers for ZynqMP and updated build system accordingly.
* bsps/zynq: Moved general i2c files to shared directoriesStephen Clark2021-09-091-3/+3
| | | | | Certain files related to the Zynq BSP's I2C driver are useable by the ZynqMP BSP as well. Moved these files to shared directory in anticipation of I2C support for ZynqMP.
* score: Split up rbtreenext.cSebastian Huber2021-09-061-0/+3
| | | | | | | | | | Split up rbtreenext.c since only _RBTree_Minimum() is used by the operating system core services (thread queues and the EDF scheduler). Change license to BSD-2-Clause according to file history and re-licensing agreement. Update #3053.
* score: Add _TOD_Is_valid_new_time_of_day()Sebastian Huber2021-09-061-0/+1
| | | | | | Move the TOD validation to the callers of _TOD_Set(). This avoids dead code in case only rtems_clock_set() is used in an application because rtems_clock_set() always calls _TOD_Set() with a valid time of day.
* score: Remove TOD_TICKS_PER_SECOND_method()Sebastian Huber2021-09-061-1/+0
| | | | Use _Watchdog_Ticks_per_second instead.
* score: Move _Thread_Dispatch()Sebastian Huber2021-09-031-0/+1
| | | | | | | | | | | | The _Thread_Dispatch() function was customized over time and now the work is done by _Thread_Do_dispatch() and specialized wrappers. The plain _Thread_Dispatch() is now only used in some CPU ports. Move it to a separate file to avoid dead code in the general. Change license to BSD-2-Clause according to file history and re-licensing agreement. Update #3053.
* confstr() support for RTEMSEshan dhawan2021-08-183-0/+23
| | | | | | | | Closes #3373 confstr() style update Signed-off-by: Eshan Dhawan <eshandhawan51@gmail.com>
* build: Merge default-by-family into by-variantSebastian Huber2021-08-18761-764/+1
| | | | | | | Prefix the BSP family name with "bsps/" to make it distinct to the BSP variant names. Update #4468.
* bsps: Move optfdt* files to shared parent directorypranav2021-08-0924-246/+26
|
* score: Split SMP multicast action moduleSebastian Huber2021-07-291-0/+3
| | | | | Split up the SMP multicast action module since the use of the SMP multicast action variants depend on the architecture and BSP.
* score: Move per-CPU jobs supportSebastian Huber2021-07-281-2/+2
| | | | Add percpujobs.c to contain the per-CPU jobs implementation.
* validation: Test rtems_interrupt_handler_iterate()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: Test rtems_interrupt_set_affinity()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: Test rtems_interrupt_get_affinity()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: Test rtems_interrupt_raise_on()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: Test rtems_interrupt_is_pending()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: Test rtems_interrupt_clear()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: Test rtems_interrupt_raise()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: Test rtems_interrupt_entry_remove()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: Test rtems_interrupt_entry_install()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: Test rtems_interrupt_vector_disable()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: Test rtems_interrupt_vector_enable()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: rtems_interrupt_vector_is_enabled()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: Test rtems_interrupt_get_attributes()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: HasInterruptVectorEntriesInstalled()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* validation: Add CallWithinISR()Sebastian Huber2021-07-261-0/+1
| | | | Update #3269.
* bsps/irq: Add rtems_interrupt_entry_install()Sebastian Huber2021-07-264-9/+8
| | | | | | | | | | | | | | | | | | | Add rtems_interrupt_entry_remove(). Split up irq-generic.c into several files. In particular, place all functions which use dynamic memory into their own file. Add optional macros to let the BSP customize the vector installation after installing the first entry and the vector removal before removing the last entry: * bsp_interrupt_vector_install() * bsp_interrupt_vector_remove() Use these new customization options in the m68k/genmcf548x BSP so re-use the generic interrupt controller support. Update #3269.
* bsps/irq: Add rtems_interrupt_raise()Sebastian Huber2021-07-263-0/+3
| | | | | | | | | Add rtems_interrupt_raise_on() and rtems_interrupt_clear(). Add a default implementation which just returns RTEMS_UNSATISFIED for valid parameters. Update #3269.
* rtems: Add rtems_interrupt_vector_enable()Sebastian Huber2021-07-263-0/+3
| | | | | | Add rtems_interrupt_vector_disable(). Update #3269.
* bsps/irq: Move handler iterate to separate fileSebastian Huber2021-07-263-0/+3
| | | | Update #3269.
* bsps/irq: Move get/set affinity to separate fileSebastian Huber2021-07-263-0/+3
| | | | Update #3269.
* build: Remove superfluous library from rcxx01Sebastian Huber2021-07-261-1/+0
|