summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit/configure.ac: Remove unused use ticks for statistics optionsJoel Sherrill2012-09-281-10/+0
| | | | | | | | | | The following were not used in any code: __RTEMS_USE_TICKS_CPU_USAGE_STATISTICS__ __RTEMS_USE_TICKS_RATE_MONOTONIC_STATISTICS__ Both CPU Usage and Rate Monotonic Period Statistics are switched to ticks resolution by configuring with __RTEMS_USE_TICKS_FOR_STATISTICS__ set to 1 on the configure command line.
* telnetd: Map CRLF to CRSebastian Huber2012-09-281-4/+3
| | | | | | It is not so easy to use Termios for that. We already map CRNUL to CR, thus we cannot ignore CRs. We could change the shell code to map CRNL to a single line end, but this is more intrusive than the change here.
* telnetd: Inform client that we will echoSebastian Huber2012-09-281-12/+15
| | | | The standard line editor rtems_shell_line_editor() produces an echo.
* shell/dd-misc.c: Rename __unused to avoid conflict with new <sys/cdefs.h>Joel Sherrill2012-09-051-1/+1
|
* mips/idtcpu.h: Fix nested comment warningJoel Sherrill2012-09-051-1/+1
|
* coremsg.c: Clean up and comment improvementJoel Sherrill2012-08-311-7/+13
| | | | | | | | This code was reviewed as part of coverage analysis improvements. The uncovered range had unclear documentation and the code itself was also cleaned up to be easier to understand. Author: Krzysztof Mięsowicz <krzysztof.miesowicz@gmail.com>
* timespec helpers: Add wrappers with new testKrzysztof Mięsowicz2012-08-294-0/+359
|
* libcsupport: Add and use rtems_putc()Sebastian Huber2012-08-204-9/+35
| | | | This reduces code size and provides a function similar to fputc().
* IMFS: TypoSebastian Huber2012-08-091-1/+1
|
* PR2069: Similar. Forgot to add missing file.Andreas Heinig2012-08-061-0/+38
|
* PR2069: [CBS Scheduler] Memory leak and enqueue problemAndreas Heinig2012-08-062-1/+13
| | | | | | | Due to the fact that CBS extends the EDF scheduler, most parts of EDF are reused. One part is the allocation of the per-thread data. However, the CBS per-thread structure defines a further element (while including the rest of Scheduler_EDF_Per_thread)
* Revert "Add config.h.in."Gedare Bloom2012-08-061-495/+0
| | | | This reverts commit cf42a6ea9dbb6ebee498ae8db319d3e475bcd6be.
* Remove CVS-Ids.Ralf Corsépius2012-07-194-8/+0
|
* Require automake-1.12.2.Ralf Corsépius2012-07-191-1/+1
|
* Require autoconf-2.69.Ralf Corsépius2012-07-191-1/+1
|
* libnetworking: Silence set but not used warningsSebastian Huber2012-07-171-1/+1
|
* score: Change greedy allocation APISebastian Huber2012-07-176-21/+54
|
* mghttpd: Clarify commentChristian Mauderer2012-07-121-4/+4
|
* mghttpd: Add stack size and scheduling optionsChristian Mauderer2012-07-122-0/+66
|
* mghttpd: Use MD5 librarySebastian Huber2012-07-121-0/+5
|
* mghttpd: Use HAVE_CONFIG_HSebastian Huber2012-07-121-0/+4
|
* mghttpd: Update MongooseChristian Mauderer2012-07-124-4797/+4292
| | | | | | Update to Mongoose Mercurial revision 268:38a02c8a6744 available at: https://code.google.com/p/mongoose/
* dosfs: Use fs_info instead of mt_entrySebastian Huber2012-07-1114-267/+234
|
* libblock: Fix read-ahead task wake-upSebastian Huber2012-07-091-5/+10
| | | | | | | | | In case the read-ahead task is not configured we must not send a wake-up event. This would send the wake-up event to the executing task. We must send the wake-up event only in case the request list changes from empty to non-empty. Since otherwise we may send a false transfer event.
* libblock: Move read-ahead trigger checkSebastian Huber2012-07-031-1/+2
| | | | | | In case the read-ahead task has a higher priority than the reading task, this ensures that the read-ahead request is issued after the read miss is serviced.
* libblock: Fix read-ahead trigger and next updateSebastian Huber2012-07-021-1/+1
| | | | | The previous version was sub-optimal for read-ahead transfer counts of one.
* libcsupport: C++ compatibilitySebastian Huber2012-07-021-0/+8
|
* libblock: Fix read-ahead trigger and next updateSebastian Huber2012-07-021-2/+2
|
* libblock: Fix continuous blocks write requestSebastian Huber2012-07-021-13/+6
|
* libblock: Remove unused fieldSebastian Huber2012-07-021-1/+0
|
* score: Fix performance issue for 64-bit timestampsSebastian Huber2012-06-145-62/+22
| | | | | | | | | | | | | The 64-bit timestamps were introduced to simplify the timestamp calculations. This works well since nearly all operations are additions. The previous _TOD_Tickle_ticks() implementation had a serious performance regression in case of 64-bit timestamps due to the usage of two 64-bit divisions which are quite expensive on some architectures. A new field seconds_trigger in TOD_Control is introduced to trigger the _Watchdog_Tickle_seconds() in _TOD_Tickle_ticks(). This avoids the 64-bit divisions completely and only 32-bit additions are used.
* score: New structure TOD_ControlSebastian Huber2012-06-1412-38/+41
| | | | | Group the global TOD variables (_TOD_Now, _TOD_Uptime, and _TOD_Is_set) in a structure to reduce address loads in _TOD_Tickle_ticks().
* sapi: Add nanoseconds_per_tick to configurationSebastian Huber2012-06-142-1/+15
| | | | | | Add nanoseconds_per_tick to rtems_configuration_table. This value will be derived from the microseconds_per_tick value. This avoids some calculations at run-time.
* v850 - byte swap instructions not available on all multilibsJoel Sherrill2012-06-122-7/+33
|
* libblock: Add block device statisticsSebastian Huber2012-06-1211-0/+344
|
* libblock: Remove const qualifierSebastian Huber2012-06-122-18/+18
| | | | This allows addtion of per disk statistics for example.
* v850 port: Initial addition with BSP for simulator in GDBJoel Sherrill2012-06-1112-1/+1928
| | | | | | | | | | | | | | | | | | Port + v850 does not have appear to have any optimized bit scan instructions + v850 does have single instructions for wap u16 and u32 + Code path optimization preferences set + Add BSP variants for each GCC CPU model flag and a README - v850e1 variant does not work (fails during BSP initialization) BSP for GDB v850 Simulator + linkcmds matches defaults in GDB simulator with RTEMS mods + crt1.c added from v850 newlib port for __main() + BSP exits cleanly + printk and console I/O work + uses clock tick from IDLE task + Tests not requiring real clock ISR work Documentation + CPU Supplment chapter for v850 added
* powerpc/cpu.h: Define CPU_SIMPLE_VECTORED_INTERRUPTS and remove ↵Joel Sherrill2012-06-111-2/+14
| | | | _CPU_ISR_Initialize
* mips/cpu.h: Define CPU_SIMPLE_VECTORED_INTERRUPTS and remove _CPU_ISR_InitializeJoel Sherrill2012-06-111-7/+2
|
* i386/cpu.h: Define CPU_SIMPLE_VECTORED_INTERRUPTS and remove _CPU_ISR_InitializeJoel Sherrill2012-06-111-2/+14
|
* arm/cpu.h: Define CPU_SIMPLE_VECTORED_INTERRUPTS and remove _CPU_ISR_InitializeJoel Sherrill2012-06-111-2/+5
|
* isr.c: Do not call _CPU_Initialize_vectors() if PIC Interrupt ModelJoel Sherrill2012-06-111-5/+8
|
* threadhandler.c: Fix spelling of __main() in prototypeJoel Sherrill2012-06-111-5/+8
|
* librpc: PR2066: Fix for short enumsSebastian Huber2012-06-067-15/+23
| | | | | | | | | | The XDR library has a problem on architectures with short enums like the default ARM EABI. Short enums means that the size of the enum type is variable and the smallest integer type to hold all enum values will be selected. For many enums this is char. The XDR library uses int32_t for enum_t. There are several evil casts from an enum type to enum_t which leads to invalid memory accesses on short enum architectures. A workaround is to add appropriate dummy enum values.
* network/bootp: PR2031: Add and use header fileSebastien Bourdeauducq2012-06-066-38/+51
|
* libcsupport: Add rtems_printf_plugin()Sebastian Huber2012-06-043-0/+36
|
* libblock: Rename structureSebastian Huber2012-06-041-3/+3
|
* dosfs: Fix for no space left on device conditionSebastian Huber2012-06-041-3/+5
| | | | | | The file size was wrong in the no space left on device condition. This resulted in turn in a read of an invalid block which lead to an EIO error status.
* libblock: Add read-ahead taskSebastian Huber2012-06-045-130/+293
| | | | | | | | | | | Read-ahead requests were previously executed in the context of the reading task. This blocks the reading task until the complete read with read-ahead transfer is finished. A read-ahead task is introduced to off-load the read-ahead transfer. This allows the reading task to work with the requested block more quickly. The read-ahead is triggered after two misses of ascending consecutive blocks or a read hit of a block read by the most-recent read-ahead transfer. The read-ahead feature is configurable and can be disabled.
* powerpc: Simplify context switchSebastian Huber2012-06-042-146/+134
| | | | | | | | | | | | | | | | | | | PowerPC cores with the SPE (Signal Processing Extension) have 64-bit general-purpose registers. The SPE context switch code has been merged with the standard context switch code. The context switch may use cache operations to increase the performance. It will be ensured that the context is 32-byte aligned (PPC_DEFAULT_CACHE_LINE_SIZE). This increases the overall memory size of the context area in the thread control block slightly. The general-purpose registers GPR2 and GPR13 are no longer part of the context. The BSP must initialize these registers during startup (usually initialized by the __eabi() function). The new BSP option BSP_USE_DATA_CACHE_BLOCK_TOUCH can be used to enable the dcbt instruction in the context switch. The new BSP option BSP_USE_SYNC_IN_CONTEXT_SWITCH can be used to enable sync and isync instructions in the context switch. This should be not necessary in most cases.