summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-09-18telnetd: Use socklen_tSebastian Huber1-10/+0
2014-09-17redirector: Rename rtems_stdio_redirect_tSebastian Huber2-25/+25
Rename rtems_stdio_redirect_t to rtems_stdio_redirect since the namespace *_t is reserved by POSIX, see also The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 Edition, 2.2.2 The Name Space.
2014-09-16Libmisc/Makefile.am: Build with networking disabledJoel Sherrill1-2/+3
2014-09-16tod.h -> libcsupport like other driver and helper prototype filesJoel Sherrill3-0/+75
This rippled into the handful of files that should have been using <rtems/tod.h>.
2014-09-16Revert: rtems-rfs-buffer.c: Correct printf() format specifiers to eliminate ↵Joel Sherrill1-2/+3
warnings This may actually be a problem in inttypes.h.
2014-09-16Use correct prototype of benchmark_timer_read()Joel Sherrill4-40/+1
This change starts with removing the effectively empty file timerdrv.h. The prototypes for benchmark_timer_XXX() were in btimer.h which was not universally used. Thus every use of timerdrv.h had to be changed to btimer.h. Then the prototypes for benchmark_timer_read() had to be adjusted to return benchmark_timer_t rather than int or uint32_t. I took this opportunity to also correct the file headers to separate the copyright from the file description comments which is needed to ensure the copyright isn't propagated into Doxygen output.
2014-09-16score/cpu/or1k: Follow no_cpu ISR_Handler algorithm.Hesham ALMatary1-0/+10
This patch adjusts ISR_Handler to exactly follow the pseudo code introduced in http://rtems.org/onlinedocs/doc-current/share/rtems/html/porting/Interrupts-Interrupt-Dispatching.html It adds two new checkings on _Thread_Dispatch_disable_level and _ISR_Nest_level after returning from the C handler.
2014-09-16OpenRISC: Account for red-zone (fixup printf bug).Hesham ALMatary2-19/+22
This patch allocate a space in the stack to account for red-zone that gcc may utilize for the use of leaf functions. Care must be taken to handle this red-zone from many places: 1- Upon creation of a new thread stack. 2- Once an interrupt entred. Also moving the enable-thread-dispach() and increment ISR level before checking if dispatch needed was required. The previous modifications solved the printf bug which disabled ticker to output strings after context switches that arise from Thread_Delay_ended.
2014-09-16shell: Add an md5 hash command for files.Chris Johns3-3/+119
This command lets you get an MD5 hash for a file in an RTEMS file system.
2014-09-16libmisc: Add a stdio redirector helper.Chris Johns5-0/+458
This module makes it easy to redirect and capture stdout, stderr or any other fd in your application. The captured data can be sent off board, for example using syslog, or buffered and displayed in a web page.
2014-09-16shell: Add a ping command.Chris Johns4-1/+2100
The ping code is taken from a recent FreeBSD release. Some options have been tested, other not tested or do not work. This could be due to the age of our TCP/IP stack. This version of ping will not work if more than 64 file descriptors are open at once because the select FD size is 64 as set in newlib.
2014-09-11dosfs: Check error statusSebastian Huber1-14/+16
2014-09-11score: Rename _BSP_Exception_frame_print()Sebastian Huber3-24/+3
Rename _BSP_Exception_frame_print() to _CPU_Exception_frame_print() to be in line with other CPU port functions.
2014-09-11powerpc: Delete PPC_BSP_HAS_FIXED_PR288Sebastian Huber1-7/+0
2014-09-10or1k: Let CPU/BSP Fatal handler have access to sourceHesham ALMatary1-2/+2
This patchs follows the latest commit by Daniel Hellstrom that requires _CPU_Fatal_halt to have _source passed to it along with _error number.
2014-09-10Let CPU/BSP Fatal handler have access to sourceDaniel Hellstrom21-25/+26
Without the source the error code does not say that much. Let it be up to the CPU/BSP to determine the error code reported on fatal shutdown. This patch does not change the current behaviour, just adds the option to handle the source of the fatal halt.
2014-09-08score: More strict RTEMS_DEQUALIFY implementation.Pavel Pisa1-1/+53
This implementation is able to catch cast to type which differs not only in qualifiers. The error diagnostic message when used in function is self descriptive. Macro is compatible with used in initializers but there message about not constant initial value signals types incompatibility. The actual implementation does not distinguish between volatile and const removal.
2014-09-08posix: Use RTEMS_DECONST()Sebastian Huber2-3/+3
2014-09-08posix: Fix warningSebastian Huber1-2/+0
2014-09-08libcsupport: Use RTEMS_DECONST()Sebastian Huber1-1/+1
2014-09-08score: Add RTEMS_DECONST|DEVOLATILE|DEQUALIFY()Sebastian Huber1-0/+27
2014-09-05capture: Add support for variable length records.Jennifer Averett10-72/+475
2014-09-05capture: Split user extension methods out.Jennifer Averett4-388/+673
2014-09-04Regenerate preinstall.am for score/cpu/or1kHesham ALMatary1-3/+3
This patch regenerates preinstall.am file after Chris fixup regarding preinstall.am files gerenration from bootstrap -p command.
2014-09-04shell.c: Add cast to match printf() expectations for width specifierJoel Sherrill1-1/+6
2014-09-04rtems-rfs-buffer.c: Correct printf() format specifiers to eliminate warningsJoel Sherrill1-3/+2
2014-09-04rtems/score/assert.h: Rework to allow use of NDEBUGJoel Sherrill1-13/+43
2014-09-04mprotect.c: Remove warning for no prototypeJoel Sherrill1-9/+14
2014-09-03libfs: Fix the warning in the RFS.Chris Johns1-1/+6
Return the first error if one or more happen when deleting an inode.
2014-09-02or1k: Implement context validate and context volatile clobber functions.Hesham ALMatary4-3/+225
score/cpu/or1k: Add two new assembly functions: _CPU_Context_validate and _CPU_Context_volatile_clobber; their implementation follows corresponding ARM functions.
2014-09-02Add missing r31 load instruction _ISR_HandlerHesham ALMatary1-0/+1
_ISR_Handler: r31 was not loaded in restore function. This patch adds this load.
2014-09-02sapi: Add profiling report begin/end messageSebastian Huber1-3/+7
2014-09-01score: Define _CPU_Start_multitasking only for LEON SPARC, not SPARC in generalDaniel Cederman1-2/+4
Rename _BSP_Start_multitasking to _LEON3_Start_multitasking to show that it is LEON specific
2014-08-29Regenerate all preinstall.am files.Chris Johns15-56/+56
With this patch the preinstall.am files are in a set order and not dependent on now perl implements a hash.
2014-08-28Regenerate all preinstall.am files.Joel Sherrill14-48/+48
Apparently, at some point automake output changed and these were not updated.
2014-08-27rtems: SMP fix for timer serverSebastian Huber1-1/+3
2014-08-26rtems: Add more clock tick functionsSebastian Huber1-0/+71
Add rtems_clock_tick_later(), rtems_clock_tick_later_usec() and rtems_clock_tick_before().
2014-08-25Add or1k to the list of targets that use IEEE 754 in xdr_float.cHesham ALMatary1-0/+1
2014-08-25rtems: Inline rtems_clock_get_ticks_since_boot()Sebastian Huber5-47/+14
Update documentation.
2014-08-22score: Add SMP support to the cache managerDaniel Cederman2-0/+101
Adds functions that allows the user to specify which cores that should perform the cache operation. SMP messages are sent to all the specified cores and the caller waits until all cores have acknowledged that they have flushed their cache. If CPU_CACHE_NO_INSTRUCTION_CACHE_SNOOPING is defined the instruction cache invalidation function will perform the operation on all cores using the previous method.
2014-08-22score/sparc: Add comment on icache flush after trap table updateDaniel Cederman1-3/+14
Changes to the trap table might be missed by other cores. If the system state is up, the other cores can be notified using SMP messages that they need to flush their icache. If the up state has not been reached there is no need to notify other cores. They will do an automatic flush of the icache just after entering the up state, but before enabling interrupts. Cache invalidation is required for both single and multiprocessor systems.
2014-08-22bsp/sparc: Flush icache before first time enabling interruptsDaniel Cederman1-0/+4
A secondary processor might miss changes done to the trap table if the instruction cache is not flushed. Once interrupts are enabled any other required cache flushes can be ordered via the cache manager.
2014-08-22score: Rename SMP broadcast message functionDaniel Cederman2-3/+3
Change message type to unsigned long to match other SMP message functions.
2014-08-22score: Add function to send a SMP message to a set of CPUsDaniel Cederman2-0/+31
2014-08-20Add configuration to detect toolset has sigaltstack() prototypeJoel Sherrill2-4/+18
2014-08-20score: PR2179: Fix initially locked PI mutexSebastian Huber1-4/+11
2014-08-18rtems_termios_puts: Copy and write more than one char at onceKolja Waschk1-50/+85
Renamed startXmit(), nToSend is unsigned, just check FL_ORCVXOF, no (void) cast anymore, compute nToSend in single if/else if/else.
2014-08-18Add or1k tick timer register definitionsHesham ALMatary1-2/+14
2014-08-14arm: PR2186: Fix compile errorSebastian Huber1-2/+4
2014-08-12or1k/.../preinstall.am: Add missing fileJoel Sherrill1-0/+49