summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Add simple affinity support to EDF SMPSebastian Huber2017-07-1010-108/+600
| | | | Update #3059.
* score: Pass scheduler nodes to processor allocatorSebastian Huber2017-07-071-18/+14
| | | | | | | This allows scheduler implementations to easily access scheduler-specific data. Update #3059.
* score: Add scheduler node to set affinity opSebastian Huber2017-07-076-14/+14
| | | | Update #3059.
* score: Fix default set affinitySebastian Huber2017-07-071-4/+3
| | | | | | | | 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-073-2/+14
| | | | Update #3059.
* score: Use processor mask for set affinitySebastian Huber2017-07-076-62/+40
| | | | 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-0711-143/+20
| | | | 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-066-66/+59
| | | | | | | | 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.
* tests: Move busy loop to test supportSebastian Huber2017-06-293-1/+125
| | | | Update #3056.
* score: Add RTEMS_NO_INLINESebastian Huber2017-06-291-1/+11
| | | | Update #3056.
* score: Add SMP EDF schedulerSebastian Huber2017-06-298-17/+701
| | | | 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.
* Add rtems_interrupt_server_handler_iterate()Sebastian Huber2017-06-261-0/+22
|
* sys/utsname.h: Increase buffer to avoid overflowJoel Sherrill2017-06-211-2/+2
|
* capture/rtems-trace-buffer-vars.c: Fix duplicate const warningJoel Sherrill2017-06-211-1/+1
|
* 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.
* 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.
* score: Remove rtems_ada_selfSebastian Huber2017-06-142-12/+0
| | | | | | This task variable is superfluous since we use thread-local storage now. Update #2289.
* xz: Use CRC32Sebastian Huber2017-06-132-7/+2
| | | | | | | This reverts c475924d6d2ea7d5cba160a8a28e88642d6b46d8. Update #2909. Close #2994.
* 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-124-11/+62
| | | | Update #2468.
* i386: Move _CPU_Context_Initialize()Sebastian Huber2017-06-092-46/+65
| | | | Update #2468.
* Simplify TLS support in context switchSebastian Huber2017-06-091-11/+2
| | | | | | There is no need to save the thread pointer in _CPU_Context_switch() since it is a thread invariant. It is initialized once in _CPU_Context_Initialize().
* libblock: FreeBSD kernel-space compatibilitySebastian Huber2017-06-081-1/+1
| | | | Update #2833.
* network: Fix DHCP client protocolStavros Passas2017-06-083-6/+36
| | | | Close #2877.
* Fix CPU_COPY() usageSebastian Huber2017-06-076-7/+7
| | | | | | | | The original CPU_COPY() support of Newlib <sys/cpuset.h> had the parameters in the wrong order. This is fixed in Newlib since 2017-05-22. Update #3023.
* network: Header file compatiblitySebastian Huber2017-06-0711-21/+39
| | | | | | | | Move legacy network stack implementation specifics to <rtems/rtems_bsdnet_internal.h>. Include missing header files. Add interface flags compatibility. Update #2833.
* network: Use inet_ntoa_r()Sebastian Huber2017-06-077-21/+29
| | | | Update #2833.
* network: Update <arpa/inet.h>Sebastian Huber2017-06-076-102/+189
| | | | Update #2833.
* network: Move header filesSebastian Huber2017-06-0714-24/+24
| | | | | | Prevent accidental use of legacy network header files. Update #2833.
* network: Move RTEMS specificsSebastian Huber2017-06-074-18/+32
| | | | | | | | | Move RTEMS specifics to <rtems/rtems_bsdnet.h>. Introduce rtems_tap_ifreq. The interface tap support is RTEMS-specific and only available in the legacy network stack. Update #2833.
* network: Include <sys/uio.h> explicitlySebastian Huber2017-06-073-0/+3
| | | | | | Do not rely on indirect includes via other header files. Update #2833.
* Include missing <sys/param.h>Sebastian Huber2017-06-072-0/+2
| | | | | | Some kernel-space header expect that <sys/param.h> is present. Update #2833.
* rpc: Remove superfluous includesSebastian Huber2017-06-072-2/+0
| | | | Update #2833.
* Do not include <sys/ioctl.h> in kernel-spaceSebastian Huber2017-06-0719-15/+21
| | | | Update #2833.
* Move RTEMS-specific Termios API contentSebastian Huber2017-06-074-34/+11
| | | | | | | Remove obsolete support for OFILL, OFDEL, NLDLY, CRDLY, BSDLY, VTDLY, and FFDLY which is not present on FreeBSD and not implemented in Linux. Update #2833.
* Do not use deprecated <sys/termios.h>Sebastian Huber2017-06-071-1/+1
| | | | Update #2833.
* Test for POSIX headers from Newlib 20170522Sebastian Huber2017-06-075-99/+110
| | | | Update #2833.
* Provide kernel space headers used by NewlibSebastian Huber2017-06-074-0/+39
| | | | Update #2833.
* network: Do not use MSIZESebastian Huber2017-06-074-12/+13
| | | | | | | Do not use the MSIZE for the legacy network stack. Instead use _SYS_MBUF_LEGACY_MSIZE. Update #2833.