summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-12posix: Return error code if mmap is usedsmp-fr-1Daniel Cederman
2015-03-12posix: Move function to file with matching nameDaniel Cederman
mmap was previously in munmap.c and munmap was in mmap.c.
2015-03-12rtems: Use atomic operation with correct typeDaniel Cederman
2015-03-11doc: Update Ada User Guide to match CJoel Sherrill
2015-03-11capture01: Update screen fileJoel Sherrill
2015-03-11smptests/smpcapture01: Avoid livelock conditionSebastian Huber
2015-03-09LEON3: Clear timer pending bit together with tick update in critical sectionDaniel Cederman
2015-03-09testsuite: disable non-buildable dl01 dl02 testsDaniel Hellstrom
2015-03-09SPARC: support for runtime FPU detectionDaniel Hellstrom
With this patch it is possible to compile a kernel that works on both FPU and non-FPU SPARC systems. The SPARC PSR register contains a bit indicating if FPU is present. It is a minimal increase to the foot-print.
2015-03-09PSXALARM01: fails sometimes on LEONDaniel Hellstrom
The printf() causing the problem is removed temporarily. It must be analysed more in depth why this problem occurs. The stack is overflowed when the signal handler is called. What triggers it might be related to a slow UART, but I believe the actual problem is something else. The following steps can be seen: 1. Thread is switched in, a call frame is added for the signal handler. 2. The signal handler calls printf() 3. a semaphore is taken which blocks the signal handler 4. the task switched in again, but now it starts execcuting the signal handler *again*. Jump to 1. After a couple of loops the stack is overflowed. It might be that systems with a larger UART FIFO or faster UART is not affected.
2015-03-09LEON3: add dedicated SMP BSP configDaniel Hellstrom
In order to support older toolchains and LEON3 v7 systems the -mcpu=leon3 flag can not be used. The SMP kernel however requires -mcpu=leon3 for the CAS support only present in GCC-4.8.3 and GCC-4.9.
2015-02-25posix: fix error return code for pthread_mutex_trylockGedare Bloom
pthread_mutex_trylock() should return EBUSY if the mutex is already locked. The translations of CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED is EDEADLK which is correct for pthread_mutex_lock(). This fixes the translation for trylock. Closes #2170.
2015-02-24Panic on RTEMS_FAST_MUTEX network semaphore claim/release.Chris Johns
Fix the code to panic rather than perform a bad access if the network semaphore is accessed without the stack being intialised. Closes #2229.
2015-02-23sparc64: fix copyright notices.Gedare Bloom
The sparc64 port had some incorrect copyright notices affixed to source code files.
2015-02-23rpc: misaligned pointer dereference in clnt_udp.c line 363Jeffrey Hill
closes #2248
2015-02-23rpc: misaligned address exception in get_myaddress.cJeffrey Hill
closes #2249 see #1401
2015-02-23rtems-bin2c: Fix Windows buildSebastian Huber
Update #2238.
2015-02-23networking: alignment exception in ioctl(SIOCGIFCONF)Till Straumann
Access memory using a byte stream when copying to avoid unaligned access. update #1401
2015-02-23Use counted strnlen in bin2c. Closes #2238.Gedare Bloom
2015-02-23psxtests: add string param to printf. closes #2241Gedare Bloom
2015-02-20ARM: Support VFP-D16Martin Galvan
This patch allows the existing FPU code to support both VFP-D16 and VFP-D32. According to ARM, writes to D32DIS are ignored for D16 so there's no need to enclose the bic instruction with an #ifdef. We tested it on a TMS570LS3137 using TI initialization code and it works fine. Signed-off by: Martin Galvan <martin.galvan@tallertechnologies.com>
2015-02-20IMFS: Fix copy on write for linfilesSebastian Huber
2015-02-20Don't fail to create passwd and group files if /etc already existsNick Withers
2015-02-19doc: Note that rename() is only partially implemented.Nick Withers
Replacing of existing files is not supported. See #2169.
2015-02-19bfin: do not reset dispatch neededGedare Bloom
Closes #2148 Fix suggested in above ticket. On examination, the assembly appears to be clearing the DISPATCH_NEEDED flag before jumping to _Thread_Dispatch.
2015-02-19sptests: Add missing test extensionSebastian Huber
2015-02-19score: Make <rtems/score/atomic.h> availableSebastian Huber
Make <rtems/score/atomic.h> available for all RTEMS configurations. Use inline functions instead of macros. Use ISR disable/enable on uni-processor configurations to ensure atomicity. Update #2273.
2015-02-18IMFS: Silence warningSebastian Huber
2015-02-17score: Fix _Thread_Start_multitasking() on SMPSebastian Huber
Close #2268.
2015-02-17score: Fix FP context restore via _Thread_HandlerSebastian Huber
After a context switch we end up in the second part of _Thread_Dispatch() or in _Thread_Handler() in case of new threads. Use the same function _Thread_Restore_fp() to restore the floating-point context. It makes no sense to do this in _Thread_Start_multitasking(). This fixes also a race condition in SMP configurations. Update #2268.
2015-02-17score: Add _CPU_SMP_Prepare_start_multitasking()Sebastian Huber
Update #2268.
2015-02-15IMFS: Implement variable length node namesSebastian Huber
This reduces the average node size and adds more flexibility.
2015-02-14IMFS: Add CONFIGURE_IMFS_DISABLE_READDIRSebastian Huber
2015-02-13lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add ftp01Joel Sherrill
2015-02-13lpc1768_mbed-testsuite.tcfg: Add ftp01Joel Sherrill
2015-02-13score: Mention ticket in commentSebastian Huber
2015-02-13IMFS: Rename CONFIGURE_IMFS_DISABLE_FCHMODSebastian Huber
Rename CONFIGURE_IMFS_DISABLE_FCHMOD to CONFIGURE_IMFS_DISABLE_CHMOD.
2015-02-13IMFS: Add CONFIGURE_IMFS_DISABLE_MKNOD_FILESebastian Huber
2015-02-13IMFS: CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEMSebastian Huber
Resurrect CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM.
2015-02-13sapi/Makefile.am: Do not install libsapi.aJoel Sherrill
sapi/preinstall.am: Regenerated
2015-02-13sys/event.h: Update to FreeBSD 9.3Sebastian Huber
2015-02-12psxhdrs: Reorganize into subdirectories per .h file and rename filesJoel Sherrill
This is a better organization and makes it clearer which file is testing which method from which header file.
2015-02-12psxhdrs: Remove test of pthread_attr_[gs]et_cputimeJoel Sherrill
These methods are no longer in the tree and the API tests should have been removed. closes 1981
2015-02-12psxhdrs: Add tests for <sys/socket.h> API complianceJoel Sherrill
2015-02-12sys/socket.h: Include <sys/types.h> for ssize_tJoel Sherrill
closes 2245
2015-02-12IMFS: Add fine grained configurationSebastian Huber
Remove miniIMFS. Statically initialize the root IMFS. Add configuration options to disable individual features of the root IMFS, e.g. o CONFIGURE_IMFS_DISABLE_CHOWN, o CONFIGURE_IMFS_DISABLE_FCHMOD, o CONFIGURE_IMFS_DISABLE_LINK, o CONFIGURE_IMFS_DISABLE_MKNOD, o CONFIGURE_IMFS_DISABLE_MOUNT, o CONFIGURE_IMFS_DISABLE_READLINK, o CONFIGURE_IMFS_DISABLE_RENAME, o CONFIGURE_IMFS_DISABLE_RMNOD, o CONFIGURE_IMFS_DISABLE_SYMLINK, o CONFIGURE_IMFS_DISABLE_UNMOUNT, and o CONFIGURE_IMFS_DISABLE_UTIME.
2015-02-12IMFS: Allow static initialization of FS infoSebastian Huber
2015-02-12IMFS: Fix resource leakSebastian Huber
2015-02-12IMFS: Add root directory to FS infoSebastian Huber
Fix memory leak in IMFS_fsunmount().
2015-02-12IMFS: Simplify IMFS_symlink()Sebastian Huber