Commit Graph

24211 Commits

Author SHA1 Message Date
Joel Sherrill
cb7b57e174 mghttpd: Requires POSIX to build server and tests
Formerly, mghttpd was conditional only on networking being
enabled. It uses on pthread and must also be conditional
on POSIX threads support being enabled.
2012-10-03 11:09:32 -05:00
Joel Sherrill
8896c97621 threaddispatch.c: Fix typo 2012-10-02 13:28:08 -05:00
Joel Sherrill
196fe5964f score/thread.h: Move Thread_CPU_usage_t definition down
At the previous location, uint32_t was not available.
2012-10-02 13:27:04 -05:00
Joel Sherrill
9e73596610 score/percpu.h: _Thread_Time_of_last_context_switch always available
This field is used whether ticks are used for statistics or not.
2012-10-02 13:24:20 -05:00
Joel Sherrill
b249d7f6a6 score/tod.h: Fix formatting 2012-10-02 13:23:23 -05:00
Joel Sherrill
880e2f370f User's Guide: Correct typos in return status bullets 2012-10-02 11:45:09 -05:00
Sebastian Huber
5633c54cdf nfsclient: Format changes 2012-10-02 15:38:51 +02:00
Sebastian Huber
c69ef3b6a5 nfsclient: Add and use nfsEvaluateStatus()
The NFS status codes do not map directly to the corresponding errno
values.
2012-10-02 15:27:35 +02:00
Sebastian Huber
3becac2ca3 nfsclient: Fix for short enums
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.
2012-10-02 15:27:35 +02:00
Sebastian Huber
86f6e8b73b nfsclient: PR2075: Fix node initialization 2012-10-02 15:27:34 +02:00
Peter Dufault
52c8df84ca bsp/mpc55xx: PR2077: Add BSP_DEFAULT_BAUD_RATE 2012-10-02 15:27:34 +02:00
Peter Dufault
6527d879b7 bsp/mpc55xx: PR2077: Avoid PPC_USE_SPE 2012-10-02 15:27:34 +02:00
Peter Dufault
2a6ec3179b bsp/mpc55xx: PR2077: Mapping for external flash 2012-10-02 15:27:34 +02:00
Peter Dufault
967481a09a bsps: PR2076: SMC91111 fixes for mpc55xxevb BSP
- A typo prevents if_smc.c from being built when configured;
- The argument passed to the interrupt handler was incorrect and the
  addition of support for RTEMS_INTERRUPT_SHARED exposed it;
- A "#ifdef DEBUG" is supposed to be "#if DEBUG" since 0 is supposed to
  make it quiet.
2012-10-02 15:27:34 +02:00
Sebastian Huber
245cad54f2 bsp/mpc55xx: Fix bsp_idle_thread() 2012-10-02 15:27:33 +02:00
Sebastian Huber
94102775e0 bsp/mpc55xx: Add and use MPC55XX_CHIP_FAMILY 2012-10-02 15:27:33 +02:00
Joel Sherrill
29b1bbfdb6 fsrfsbitmap01/test.c: Remove tabs 2012-10-01 15:40:20 -05:00
Joel Sherrill
35c58a5662 misc fstests: Remove spaces at EOL 2012-10-01 15:40:20 -05:00
Krzysztof Miesowicz
445b2bd6c3 New fstest to cover RFS bitmaps - fsrfsbitmap01 2012-10-01 15:40:20 -05:00
Krzysztof Miesowicz
37b18d217a new fstest hitting fpathconf function 2012-10-01 15:40:20 -05:00
Joel Sherrill
2e83663a88 cpukit/configure.ac: Remove unused use ticks for statistics options
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.
2012-09-28 17:19:59 -05:00
Joel Sherrill
63241f8044 pc386: Add Cirrus FB Driver to Makefile and configure.ac
The user has to explicitly enable this driver, choosing
it over the existing (and lame) CGA frame buffer driver
using USE_CIRRUS_GD5446=1 on the configure command line.
2012-09-28 16:38:06 -05:00
Alexandru-Sever Horin
f97e450a66 FB driver for Cirrus GD5446 graphic hardware.
Implementation is tested to work on QEMU simulator only.

QEMU offers this hardware by default for PC platform but
it can be requested by "-vga cirrus" option for other PCI
aware systems in development/next QEMU releases as well.

Next sources have been used for driver implementation:
  - RTEMS fb_vga.c - Rosimildo da Silva ( rdasilva@connecttel.com )
  - Cirrus xf86 driver - used as VGA hardware setup documentation
  - CL-GD5446 Technical Reference Manual, 1996, Second Edition

fb_vga.c has to be replaced by fb_cirrus.c in
  rtems/c/src/lib/libbsp/i386/pc386/Makefile.am
to test the driver now. We expect to discus and include driver
section mechanism after driver testing.

Patch version 2:
  - comments style updated according to Joel Sherrill review
  - use static for variables and functions to compile without warnings

Signed-off-by: Alexandru-Sever Horin <alex.sever.h@gmail.com>
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2012-09-28 16:38:06 -05:00
Sebastian Huber
b762488ef5 bsp/mpc55xx: Add e200z7 specific idle task 2012-09-28 16:43:24 +02:00
Sebastian Huber
7f5ab84e38 bsps/arm: Fix rtems_mii_ioctl() usage 2012-09-28 16:43:24 +02:00
Sebastian Huber
afd1967155 bsps/arm: Add LPC_DMA_CHANNEL_COUNT 2012-09-28 16:43:19 +02:00
Sebastian Huber
90e2026b99 telnetd: Map CRLF to CR
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.
2012-09-28 15:41:33 +02:00
Sebastian Huber
e652e5f8db telnetd: Inform client that we will echo
The standard line editor rtems_shell_line_editor() produces an echo.
2012-09-28 15:41:33 +02:00
Joel Sherrill
3850af9511 mpc55xxevb: Fix compilation in start-config-siu-pcr.c 2012-09-06 09:40:17 -05:00
Joel Sherrill
d3c8602342 shell/dd-misc.c: Rename __unused to avoid conflict with new <sys/cdefs.h> 2012-09-05 12:25:38 -05:00
Joel Sherrill
09f2ce38aa mips/idtcpu.h: Fix nested comment warning 2012-09-05 12:23:59 -05:00
Joel Sherrill
d658a9bfc3 coremsg.c: Clean up and comment improvement
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>
2012-08-31 09:58:42 -05:00
Joel Sherrill joel.sherrill@oarcorp.com
66dacbfb8e timespec: Add documentation for struct timespec Helpers
Joel editted the documentation for clarity, grammar and technical
correctness. I also moved it in the manual and added @findex
entries. The core work was just polished.

Author: Krzysztof Mięsowicz <krzysztof.miesowicz@gmail.com>
2012-08-30 18:38:50 -05:00
Krzysztof Mięsowicz
a6eaa5489c timespec helpers: Add wrappers with new test 2012-08-29 07:38:54 -05:00
Krzysztof Mięsowicz
3913e3cf93 sp77: new test to cover allocated message size overflowing
Author:    Krzysztof Mięsowicz <krzysztof.miesowicz@gmail.com>
2012-08-29 07:37:01 -05:00
Christian Mauderer
7b865a44b3 bsp/mpc55xx: Use a one second timeout 2012-08-21 11:06:24 +02:00
Christian Mauderer
f9fe954fa2 bsp/mpc55xx: Fix SMSC9218I_BIG_ENDIAN_SUPPORT 2012-08-21 11:06:24 +02:00
Christian Mauderer
6f89813f42 bsp/mpc55xx: Move work from ISR to task context 2012-08-21 11:06:23 +02:00
Thomas Doerfler
d9af2ed4dd bsp/gen83xx: Add br_uid BSP variant 2012-08-20 10:16:32 +02:00
Sebastian Huber
bd5a138629 libcsupport: Add and use rtems_putc()
This reduces code size and provides a function similar to fputc().
2012-08-20 10:10:25 +02:00
Sebastian Huber
25802b42a6 bsp/lpc32xx: Specify scratch area alignment 2012-08-20 10:10:25 +02:00
Sebastian Huber
f5db5d2266 bsp/lpc32xx: Stop unused DDRAM_CLK 2012-08-20 10:10:25 +02:00
Sebastian Huber
25a8c02258 bsp/lpc32xx: Fix clock name
Rename lpc32xx_dram_clk() in lpc32xx_ddram_clk()
2012-08-20 10:10:25 +02:00
Sebastian Huber
6cfe52fcbc bsp/lpc32xx: Add lpc32xx_select_nand_controller() 2012-08-20 10:10:24 +02:00
Sebastian Huber
833ac6076a bsp/lpc24xx: Use USB RAM for fast data section 2012-08-20 10:10:24 +02:00
Sebastian Huber
6c92e1b8e9 IMFS: Typo 2012-08-09 12:45:37 +02:00
Andreas Heinig
2aff1f0875 PR2069: Similar. Forgot to add missing file. 2012-08-06 13:53:38 -04:00
Andreas Heinig
7a9288fe35 PR2069: [CBS Scheduler] Memory leak and enqueue problem
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)
2012-08-06 13:46:27 -04:00
Gedare Bloom
6c5d6c591f Remove generated files. 2012-08-06 13:08:47 -04:00
Gedare Bloom
ea97782372 Delete leftover bspopts.h.in from revert 2012-08-06 13:06:35 -04:00