summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* score: Add scheduler node to set affinity opSebastian Huber2017-07-076-14/+14
| | | | Update #3059.
* score: Fix default set affinitySebastian Huber2017-07-072-7/+7
| | | | | | | | The set of online processors must be a subset of the thread processor affinity for the schedulers without arbitrary processor affinity support to avoid problems in case of processor addition and removal. Update #3059.
* score: Introduce _SMP_Get_online_processors()Sebastian Huber2017-07-077-8/+22
| | | | Update #3059.
* score: Use processor mask for set affinitySebastian Huber2017-07-078-64/+42
| | | | Update #3059.
* rtems: Fix rtems_scheduler_remove_processor()Sebastian Huber2017-07-071-4/+8
| | | | | | | | Account for the thread processor affinity and make sure that it is possible to allocate a processor to each thread dedicated to a scheduler instance. Update #3059.
* score: Add processor set to scheduler contextSebastian Huber2017-07-076-32/+22
| | | | | | | Replace the simple processor count with the processor set owned by the scheduler instance. Update #3059.
* score: Move processor affinity to Thread_ControlSebastian Huber2017-07-0714-150/+36
| | | | Update #3059.
* score: Add some processor mask functionsSebastian Huber2017-07-061-0/+99
| | | | Update #3059.
* score: Add processor mask to/from cpu_set_tSebastian Huber2017-07-063-2/+126
| | | | Update #3059.
* score: Use <sys/bitset.h> for Processor_maskSebastian Huber2017-07-0613-76/+73
| | | | | | | | Implement the Processor_mask via <sys/bitset.h>. Provide _Processor_mask_To_uint32_t() to enable its use in device specific routines, e.g. interrupt affinity register in an interrupt controller. Update #3059.
* xz: Suppress attribute warningsSebastian Huber2017-07-051-0/+7
| | | | Update #2909.
* score: Fix formatSebastian Huber2017-07-051-14/+7
|
* score: Avoid clash with <strings.h> provided fls()Sebastian Huber2017-07-051-1/+2
|
* arm: Fix ARMv7-M interrupt processingSebastian Huber2017-07-042-30/+48
| | | | | | | | | | | | Right after a "msr basepri_max, %[basepri]" instruction an interrupt service may still take place (observed at least on Cortex-M7). However, pendable service calls that are activated during this interrupt service may be delayed until interrupts are enable again. The _ARMV7M_Pendable_service_call() did not check that a thread dispatch is allowed. Move this test from _ARMV7M_Interrupt_service_leave() to _ARMV7M_Pendable_service_call(). Update #3060.
* score: Add assert to _Thread_Dispatch()Sebastian Huber2017-07-041-0/+1
| | | | Update #3060.
* newlib01: Use fopen() instead of freopen()Sebastian Huber2017-06-301-3/+11
| | | | | | | With global stdio streams, a freopen() would close the global stream object. Update #3012.
* smptests/smpschededf01: New testSebastian Huber2017-06-296-0/+215
| | | | Update #3056.
* tests: Move busy loop to test supportSebastian Huber2017-06-294-87/+135
| | | | Update #3056.
* score: Add RTEMS_NO_INLINESebastian Huber2017-06-291-1/+11
| | | | Update #3056.
* score: Add SMP EDF schedulerSebastian Huber2017-06-2915-17/+791
| | | | Update #3056.
* score: Add red-black tree node to Scheduler_NodeSebastian Huber2017-06-297-39/+47
| | | | | | | In SMP configurations, add a red-black tree node to Scheduler_Node to enable an EDF scheduler implementation. Update #3056.
* smptests: Split smpscheduler03Sebastian Huber2017-06-2915-659/+761
| | | | | | Split smpscheduler03 to run the tests with only one processor. Update #3056.
* Add rtems_interrupt_server_handler_iterate()Sebastian Huber2017-06-262-0/+92
|
* psxstat/test.c: Avoid potential string overflowJoel Sherrill2017-06-211-2/+5
|
* psximfs02/init.c: Avoid potential string overflowJoel Sherrill2017-06-211-2/+2
|
* dl03/dl-cache.c: Fix duplicate const warningJoel Sherrill2017-06-211-1/+1
|
* sys/utsname.h: Increase buffer to avoid overflowJoel Sherrill2017-06-211-2/+2
|
* i386/shared/comm/i386-stub-glue.c: Fix duplicate const warningJoel Sherrill2017-06-211-1/+1
|
* lpc176x/misc/restart.c: Fix duplicate const warningJoel Sherrill2017-06-211-1/+1
|
* malloctest/init.c: Disable check maximum size warning to allow error test caseJoel Sherrill2017-06-211-0/+3
|
* capture/rtems-trace-buffer-vars.c: Fix duplicate const warningJoel Sherrill2017-06-211-1/+1
|
* top/task1.c: Fix sprintf() buffer overflowJoel Sherrill2017-06-211-1/+1
|
* rbheap01/init.c: Fix PAGE_SIZE redefined warningJoel Sherrill2017-06-211-37/+37
|
* powerpc: Fix PPC_CONTEXT_VOLATILE_SIZESebastian Huber2017-06-201-0/+4
| | | | Account for legacy AltiVec context.
* powerpc: Fix TLS supportSebastian Huber2017-06-201-10/+11
| | | | | Do not zero the GPR2 in the thread context via dcbz instructions. Bug was introduced by 32b4a0c42704f0076da8e2d5411290f55d1b2965.
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-2036-370/+238
| | | | | | Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable() to not return a status code. Add bsp_interrupt_assert() and use it to validate the vector number in the vector enable/disable implementations.
* bsps/powerpc: Fix warningSebastian Huber2017-06-161-5/+5
| | | | Close #3051.
* shell: Display scheduler instead of current CPUSebastian Huber2017-06-162-11/+19
| | | | | | | Display the scheduler name instead of the current CPU in the "task" shell command. The current CPU could be misleading in case locking protocols are involved. The "cpuuse" command can be used to obtain the current CPU.
* Fix beagle i2c file bbb-i2c.c comment issuesSichen Zhao2017-06-151-19/+23
|
* Add the i2c driver for Beaglebone BlackSichen Zhao2017-06-145-141/+765
| | | | | | | | | | Update ticket #2891 and my GSOC project add c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c modify c/src/lib/libbsp/arm/beagle/include/i2c.h modify c/src/lib/libbsp/arm/beagle/include/bbb-gpio.h modify c/src/lib/libcpu/arm/shared/include/am335x.h modify c/src/lib/libbsp/arm/beagle/Makefile.am Now can read the EEPROM by i2c, the test application link is: https://github.com/hahchenchen/GSOC-test-application
* Remove beagle old i2c codeSichen Zhao2017-06-143-633/+0
| | | | | | modify c/src/lib/libbsp/arm/beagle/Makefile.am modify c/src/lib/libbsp/arm/beagle/include/i2c.h delete c/src/lib/libbsp/arm/beagle/misc/i2c.c
* Remove excessive locking from cache operations.Alexei Pososin2017-06-141-35/+9
| | | | | | | | According to manual, the used operations (Clean Line by PA, Clean and Invalidate Line by PA, Cache Sync) are atomic and do not require locking. Update #3007.
* score: Remove rtems_ada_selfSebastian Huber2017-06-142-12/+0
| | | | | | This task variable is superfluous since we use thread-local storage now. Update #2289.
* tests: Fix build dependenciesSebastian Huber2017-06-137-7/+12
| | | | | | See also: https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html
* xz: Use CRC32Sebastian Huber2017-06-132-7/+2
| | | | | | | This reverts c475924d6d2ea7d5cba160a8a28e88642d6b46d8. Update #2909. Close #2994.
* bsp: Fixes due to header file changesSebastian Huber2017-06-133-24/+37
| | | | Update #2833.
* bsp: Include missing <sys/param.h>Sebastian Huber2017-06-126-0/+6
| | | | Update #2833.
* bsp/beatnik: Fixes due to header file changesSebastian Huber2017-06-122-7/+7
| | | | Update #2833.
* network: Remove FreeBSD specific hackSebastian Huber2017-06-125-21/+8
| | | | | | | | | For whatever reason FreeBSD renames several functions provided by <arpa/inet.h> and uses weak references to provide the standard function names. This causes problems on targets lacking proper support for weak references. We do not need this function renaming on RTEMS.lk:x Update #2833.
* i386: Support thread-local storage (TLS)Sebastian Huber2017-06-127-16/+73
| | | | Update #2468.