summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* score: Add flexible per-CPU dataSebastian Huber2018-09-1011-22/+591
| | | | Update #3507.
* cpukit/Makefile.am: CleanupSebastian Huber2018-09-101-62/+1
|
* network: Use kernel/user space header filesSebastian Huber2018-09-10178-221/+483
| | | | | | | | | | Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
* network: Remove man page installationSebastian Huber2018-09-101-7/+0
| | | | | | The man page installation is broken since 2004-01-11 (commit 8c31a89fdf9bc3351d837df6ec26045bc9d5f021). Nobody complained about this, so just remove some dead code from the Makefile.am.
* network: Remove unused filesSebastian Huber2018-09-108-1016/+0
|
* Move <poll.h> to set of default header filesSebastian Huber2018-09-103-1/+1
| | | | | The <poll.h> is a POSIX header file and just includes <sys/poll.h> which contains the real content.
* score: Debug aid for _Chain_Extract_unprotected()Sebastian Huber2018-09-101-0/+2
| | | | Ensure that a chain node is not off chain while doing the chain extract.
* nfsclient: Fix unused variable warningSebastian Huber2018-09-071-1/+0
|
* sptests/spconfig01: New testSebastian Huber2018-09-065-0/+150
| | | | Close #3435.
* bsp/qoriq: Add struct qoriq to allow forward declsSebastian Huber2018-09-061-2/+2
|
* bsps/powerpc: Simplify ppc_exc_initialize()Sebastian Huber2018-09-0621-154/+22
| | | | | | | Remove parameters from ppc_exc_initialize() since all BSPs passed the same values. Update #3459.
* bsp/mpc55xxevb: Fix format warningSebastian Huber2018-09-051-1/+3
| | | | Close #3504.
* libchip/ata: Fix ATA_DRIVER_TABLE_ENTRYSebastian Huber2018-09-051-1/+1
| | | | | | | Drop unused and deprecated functions from the ATA_DRIVER_TABLE_ENTRY. Update #3358. Close #3510.
* score: Fix EDF SMP schedulerSebastian Huber2018-09-032-1/+48
| | | | | Fix a special case: block a one-to-one scheduled thread while having a non-empty affine ready queue on the same processor.
* score: Generalize SMP scheduler block supportSebastian Huber2018-09-036-8/+18
| | | | | | Add extract from scheduled function to the _Scheduler_SMP_Block() operation. This allows a scheduler implementation to do extra work in case a scheduled node is blocked.
* bsps: BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGINSebastian Huber2018-09-0315-48/+10
| | | | | | | Remove the BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN hack. The interrupt stacks are now allocated by the linker. Update #3459.
* bootstrap: Correct help messageJoel Sherrill2018-08-301-1/+1
| | | | closes #3509.
* Remove bsps/sparc64/shared/helenos/boot/generic/string.cJoel Sherrill2018-08-293-213/+0
|
* rtems/score/epiphany-utility.h: Fix not a prototype warningJoel Sherrill2018-08-291-1/+1
|
* score/cpu/bfin/cpu.c: Fix _CPU_Thread_Idle_body() prototypeJoel Sherrill2018-08-291-1/+1
|
* psim/include/tm27.h: Fix not a prototype warningsJoel Sherrill2018-08-291-4/+4
|
* mvme5500/include/tm27.h: Fix not a prototype warningsJoel Sherrill2018-08-291-2/+2
|
* uC5282/clock/clock.c: Correct bsp_idle_thread() prototypeJoel Sherrill2018-08-291-1/+1
|
* gen68340/include/m340timer.h: Fix not a prototype warningsJoel Sherrill2018-08-291-4/+4
|
* lpc32xx/include/bsp.h: Resolve set but not used warningJoel Sherrill2018-08-291-0/+1
|
* monlib.[ch]: Fix warnings for external vs internal use of .hJoel Sherrill2018-08-292-6/+7
|
* qoriq/include/tm27.h: Fix warningsJoel Sherrill2018-08-291-5/+5
|
* gen5200/include/tm27.h: Fix warningsJoel Sherrill2018-08-291-4/+5
|
* mpc55xxevb/clock/clock-config.c: Remove unused mpc55xx_clock_cleanup() methodJoel Sherrill2018-08-291-10/+0
|
* gen5200/include/bsp/bestcomm.h: Fix unused variable warningJoel Sherrill2018-08-291-0/+3
|
* bsps/i386/shared/cache/cache.c: Fix warningsJoel Sherrill2018-08-291-20/+2
|
* gdbarmsim/include/bsp.h: Fix warningsJoel Sherrill2018-08-291-3/+3
|
* cpukit/telnetd/pty.c: Fix format overflow warning on sprintf()Joel Sherrill2018-08-291-5/+6
| | | | | | | | cpukit/telnetd/pty.c:436:47: warning: '%X' directive writing between 1 and 8 bytes into a region of size 3 [-Wformat-overflow=] The devname area was malloc'ed. Now it is statically allocated and sufficiently large to account for the potential buffer overflow.
* bsps/m68k/shared/cache/cache.h: Fix warnings and clean upJoel Sherrill2018-08-291-38/+43
|
* score: Remove redundant #ifdef RTEMS_SMPSebastian Huber2018-08-291-2/+0
|
* bsp/qoriq: Remove READMESebastian Huber2018-08-291-29/+0
| | | | Update #2854.
* Include <stdbool.h> in <machine/_kernel_types.h>Sebastian Huber2018-08-271-0/+2
| | | | | | The FreeBSD kernel started to use the bool type. Update #3472.
* Add FreeBSD kernel space header filesSebastian Huber2018-08-278-0/+498
| | | | | | | | Move the kernel space content of some Newlib provided header files to RTEMS and libbsd. This allows to use the Newlib provided header files with different FreeBSD baselines. Update #3472.
* spglobalcon01: LLVM optimization makes variable i always 1Daniel Hellstrom2018-08-241-2/+2
| | | | | Declare i volatile to avoid compiler optimization putting i into data section with initialization value 1.
* psxfile01: floating point context required when calling fprintfDaniel Hellstrom2018-08-241-0/+2
| | | | | This avoids an exception (FP disabled) when RTEMS/Newlib have been built with LLVM/Sparc.
* psx13: floating point context required when calling fprintfDaniel Hellstrom2018-08-241-0/+2
| | | | | This avoids an exception (FP disabled) when RTEMS/Newlib have been built with LLVM/Sparc.
* capture: prevent unaligned access when reading timeDaniel Hellstrom2018-08-241-1/+3
| | | | | | | | | | | | LLVM warns about this: cpukit/libmisc/capture/capture.c:405:30: warning: taking address of packed member 'time' of class or structure 'rtems_capture_record' may result in an unaligned pointer value [-Waddress-of-packed-member] rtems_capture_get_time (&in.time); And on sparc it generates an unaligned trap which makes smpcapture01 and smpcapture02 test to fail on sparc.
* leon,grspw_pkt: remove incorrect comment on SMP not being testedDaniel Hellstrom2018-08-241-1/+1
| | | | | | To clarify, SMP with GRSWP_PKT driver API has been extended to take advantage of multi-core, is now SMP-safe, and has been tested on GR740.
* leon,apbuart: replace termios c_cflag & CBAUD with c_{i,o}speedDaniel Hellstrom2018-08-241-61/+3
| | | | | | | | | | | ince some time RTEMS started to use the termios c_ispeed and c_ospeed variables in the termios struct to hold the UART baudrate. However the APBUART driver still uses the old c_cflag sometimes causing other UART parameters to get overwritten, for example the partiy setting no mapped to the same bits as the old CBAUD mask. At the same time the RTEMS primitievs for setting/reading c_{i,o}speed is now used.
* leon,greth: enable MAC filtering (promiscous mode, multicast)Daniel Hellstrom2018-08-242-1/+105
| | | | | | | | | | | | | | | | It enabled promiscous mode or sets the multicast filter according to the configuration and parameters to ioctl(SIOCSIFFLAGS), ioctl(SIOCADDMULTI) and ioctl(SIOCDELMULTI). On SIOCADDMULTI/SIOCDELMULTI requests the greth ioctl calls the Ethernet helper functions ether_addmulti()/ether_delmulti() which tells the greth driver when its required to update the MAC multicast filtering. The interface notifies support for multicast by setting IFF_MULTICAST. The GRETH has two registers which contains a bit-mask of allowed MAC addresses. The incomming MAC address is CRC:ed and the CRC is used as an index into the bit-mask to determine to allow or drop the frame.
* leon, greth: 10/100 MAC enable TX BD interruptDaniel Hellstrom2018-08-241-5/+5
| | | | | | | Missed to enable interrupt per TX descriptor. Could lead to TX buffer starvation. Does not affect the GBit code.
* sparc,smp: typo in start.S causing SMP not workingDaniel Hellstrom2018-08-241-1/+1
|
* sparc: Restore npc when returning from the syscall_lazy_fp_switch trapDaniel Cederman2018-08-241-1/+1
| | | | | If the floating point trap occurred in a delay slot it is not certain that npc will be equal to pc + 4.
* Update FreeBSD kernel timespec supportSebastian Huber2018-08-232-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is based on the following FreeBSD commit: "Make timespecadd(3) and friends public The timespecadd(3) family of macros were imported from NetBSD back in r35029. However, they were initially guarded by #ifdef _KERNEL. In the meantime, we have grown at least 28 syscalls that use timespecs in some way, leading many programs both inside and outside of the base system to redefine those macros. It's better just to make the definitions public. Our kernel currently defines two-argument versions of timespecadd and timespecsub. NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define three-argument versions. Solaris also defines a three-argument version, but only in its kernel. This revision changes our definition to match the common three-argument version. Bump _FreeBSD_version due to the breaking KPI change. Discussed with: cem, jilles, ian, bde Differential Revision: https://reviews.freebsd.org/D14725" To make the change public (outside #ifdef _KERNEL) it must be integrated in Newlib. Update #3472.
* score: Do not inline _Thread_Dispatch_enable()Sebastian Huber2018-08-232-27/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This function is slighly too complex for inlining with two if statements. The caller already needs a stack frame due to the potential call to _Thread_Do_dispatch(). In _Thread_Dispatch_enable() the call to _Thread_Do_dispatch() can be optimized to a tail call. A text size comparision (text size after patch - text size before patch) / text size before patch on sparc/erc32 with SMP enabled showed these results: Minimum -0.000697892 (fsdosfsname01.exe) Median -0.00745021 (psxtimes01.exe) Maximum -0.0233032 (spscheduler01.exe) A text size comparision text size after patch - text size before patch on sparc/erc32 with SMP enabled showed these results: Minimum -3312 (ada_sp09.exe) Median -1024 (tm15.exe) Maximum -592 (spglobalcon01.exe)