summaryrefslogtreecommitdiffstats
path: root/spec/build (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-11-30build: Use common objects item for get memorySebastian Huber117-84/+210
2021-11-30score: Split wkspace.cSebastian Huber1-0/+2
Splitting the file avoids unnecessary link-time dependencies.
2021-11-29bsp_specs: Delete last remnants of these.Joel Sherrill1-3/+0
Updates #3937.
2021-11-29build: Remove trailing white spaceSebastian Huber2-2/+2
2021-11-23score: Move _Thread_queue_Extract()Sebastian Huber1-0/+1
Move _Thread_queue_Extract() since this function is not used by the core services (threads, semaphores, mutexes, message queues). Update #4546.
2021-11-23score: Add _Thread_MP_Extract_proxy()Sebastian Huber2-1/+1
Remove _Thread_queue_Extract_with_proxy() and move the proxy extraction to _Thread_MP_Extract_proxy(). Move similar code blocks of the previous caller of _Thread_queue_Extract_with_proxy() to helper functions. Update #4546.
2021-11-23score: Add SMP scheduler make/clean stickySebastian Huber1-0/+1
This patch fixes the following broken behaviour: While a thread is scheduled on a helping scheduler, while it does not own a MrsP semaphore, if it obtains a MrsP semaphore, then no scheduler node using an idle thread and the ceiling priority of the semaphore is unblocked for the home scheduler. This could lead to priority inversion issues and is not in line with the MrsP protocol. Introduce two new scheduler operations which are only enabled if RTEMS_SMP is defined. The operations are used to make the scheduler node of the home scheduler sticky and to clean the sticky property. This helps to keep the sticky handing out of the frequently used priority update operation. Close #4532.
2021-11-23score: Add red-black tree append/prependSebastian Huber1-0/+2
These functions are a faster alternative to _RBTree_Insert_inline() if it is known that the new node is the maximum/minimum node. Update #4531.
2021-11-18rtems: Add external functionsSebastian Huber1-0/+2
These external functions rtems_scheduler_get_processor() and rtems_scheduler_get_processor_maximum() which may be used by bindings for languages other than C/C++.
2021-11-16build: Optional __RTEMS_MAJOR__ via command lineSebastian Huber1-1/+1
Update #4548.
2021-11-15Revert "optvermaj.yml: Allow __RTEMS_MAJOR__ to be overridden so RTEMS 7 ↵Sebastian Huber1-5/+3
tools can be tested" This reverts commit d1bbfbea5f60f552b2b3138bb1df35c3372f2461.
2021-11-15score: Introduce CPU budget operationsSebastian Huber1-1/+3
This patch set replaces the CPU budget algorithm enumeration with a set of CPU budget operations which implement a particular CPU budget algorithm. This helps to hide the CPU budget algorithm implementation details from the general thread handling. The CPU budget callouts are turned into CPU budget operations. This slightly reduces the size of the thread control block. All schedulers used the default scheduler tick implementation. The tick scheduler operation is removed and the CPU budget operations are directly used in _Watchdog_Tick() if the executing thread uses a CPU budget algorithm. This is performance improvement for all threads which do not use a CPU budget algorithm (default behaviour).
2021-11-12optvermaj.yml: Allow __RTEMS_MAJOR__ to be overridden so RTEMS 7 tools can ↵Joel Sherrill1-3/+5
be tested
2021-11-01cpukit/aarch64: Add libdebugger supportKinsey Moore3-0/+18
This adds support for libdebugger under AArch64 using software breakpoints and the single-step execution mode present in all AArch64 CPUs.
2021-11-01aarch64: Break out MMU definitionsKinsey Moore5-0/+5
This moves the AArch64 MMU memory type definitions into cpukit for use by libdebugger since remapping of memory is required to insert software breakpoints.
2021-10-29testsuite: Add machine exception signal map testKinsey Moore2-0/+24
Add a test to verify that mapping of machine exceptions to POSIX signals operates properly when the application requests it.
2021-10-29cpukit: Add signal mapping supportKinsey Moore2-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.
2021-10-29testsuite: Add machine exception resume testKinsey Moore2-0/+22
Add a test to verify that intercepted exceptions can be resolved and execution can be resumed.
2021-10-29cpukit/aarch64: Add exception extensions supportKinsey Moore1-0/+1
This adds the function implementations necessary to add exception extensions support to AArch64.
2021-10-29cpukit: Add exception extensionsKinsey Moore2-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.
2021-10-25rtems: Fix rate monotonic statisticsSebastian Huber1-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.
2021-10-22spec/libdebugger: Only enable for supported architecturesChris Johns4-4/+20
Closes #4533
2021-10-20spec/aarch64: Enable previously unbuildable testsKinsey Moore6-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.
2021-10-13microblaze: Rework for RTEMS 6Alex White16-0/+553
This reworks the existing MicroBlaze architecture port and BSP to achieve basic functionality using the latest RTEMS APIs.
2021-10-11Add support for IDLE Thread stack allocatorJoel Sherrill4-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.
2021-09-21cpukit: Add AArch64 SMP SupportKinsey Moore4-0/+24
This adds SMP support for AArch64 in cpukit and for the ZynqMP BSPs.
2021-09-21bsps/gicv2: Allow BSPs to define IRQ attributesKinsey Moore7-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.
2021-09-21arm/lpc24xx: Use common test definition fileSebastian Huber4-68/+2
2021-09-21score: Remove unused default scheduler opsSebastian Huber1-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.
2021-09-21score: Provide two thread pin/unpin defaultsSebastian Huber1-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.
2021-09-16testsuites: Wrap putcharAlex White12-0/+12
The linker flag to wrap putchar was lost in translation from make to waf.
2021-09-14build: Remove invalid attributesSebastian Huber2-2/+0
2021-09-14bsps/arm: Fix ABI flags for Cortex-M4Sebastian Huber2-3/+5
Close #4504.
2021-09-09bsps/zynqmp: Added I2C support for ZynqMPStephen Clark5-0/+87
Added I2C drivers for ZynqMP and updated build system accordingly.
2021-09-09bsps/zynq: Moved general i2c files to shared directoriesStephen Clark1-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.
2021-09-06score: Split up rbtreenext.cSebastian Huber1-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.
2021-09-06score: Add _TOD_Is_valid_new_time_of_day()Sebastian Huber1-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.
2021-09-06score: Remove TOD_TICKS_PER_SECOND_method()Sebastian Huber1-1/+0
Use _Watchdog_Ticks_per_second instead.
2021-09-03score: Move _Thread_Dispatch()Sebastian Huber1-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.
2021-08-18confstr() support for RTEMSEshan dhawan3-0/+23
Closes #3373 confstr() style update Signed-off-by: Eshan Dhawan <eshandhawan51@gmail.com>
2021-08-18build: Merge default-by-family into by-variantSebastian Huber761-764/+1
Prefix the BSP family name with "bsps/" to make it distinct to the BSP variant names. Update #4468.
2021-08-09bsps: Move optfdt* files to shared parent directorypranav24-246/+26
2021-07-29score: Split SMP multicast action moduleSebastian Huber1-0/+3
Split up the SMP multicast action module since the use of the SMP multicast action variants depend on the architecture and BSP.
2021-07-28score: Move per-CPU jobs supportSebastian Huber1-2/+2
Add percpujobs.c to contain the per-CPU jobs implementation.
2021-07-26validation: Test rtems_interrupt_handler_iterate()Sebastian Huber1-0/+1
Update #3269.
2021-07-26validation: Test rtems_interrupt_set_affinity()Sebastian Huber1-0/+1
Update #3269.
2021-07-26validation: Test rtems_interrupt_get_affinity()Sebastian Huber1-0/+1
Update #3269.
2021-07-26validation: Test rtems_interrupt_raise_on()Sebastian Huber1-0/+1
Update #3269.
2021-07-26validation: Test rtems_interrupt_is_pending()Sebastian Huber1-0/+1
Update #3269.
2021-07-26validation: Test rtems_interrupt_clear()Sebastian Huber1-0/+1
Update #3269.