Commit Graph

24229 Commits

Author SHA1 Message Date
Sebastian Huber
e9e5b92d36 bsp/lpc24xx: Evaluate LPC17XX pin type
New pin type LPC17XX_PIN_TYPE_OPEN_DRAIN.
2012-10-12 15:37:08 +02:00
Sebastian Huber
4275124e9b bsp/lpc24xx: Enable USB clock by PLL0 for LPC17XX 2012-10-12 15:37:08 +02:00
Sebastian Huber
6671ddd048 bsp/lpc24xx: Fix warnings 2012-10-12 15:37:08 +02:00
Joel Sherrill
0e27119f80 Use proper 3 line form of license text 2012-10-11 15:52:51 -05:00
Joel Sherrill
b8fa5013fd threadqextractwithproxy.c: Doxygen header and spacing 2012-10-11 15:52:51 -05:00
Ralf Corsépius
c1412db5c3 Use %zu instead of %lu to print size_t's. 2012-10-11 18:27:34 +02:00
Ralf Corsépius
d498e5c3d5 Import from automake-1.12.4. 2012-10-11 18:26:40 +02:00
Ralf Corsépius
fd7161017b Cleanup Krzysztof's copyright notices. 2012-10-11 18:25:03 +02:00
Ralf Corsépius
22fb90e491 Misc. cosmetic changes. 2012-10-09 19:26:51 +02:00
Ralf Corsépius
06e1086ae6 Import from automake-1.12.4. 2012-10-09 19:26:51 +02:00
Ralf Corsépius
34a8f36998 Remove stray '/'. 2012-10-09 18:43:46 +02:00
Sebastian Huber
d880d40afe bsp/qoriq: Fix maximum packet size 2012-10-08 16:25:07 +02:00
Sebastian Huber
75025a6e96 rtems: PR1844: Fix MP process packet size 2012-10-08 16:24:26 +02:00
Sebastian Huber
78f417f897 Filesystem: Rename function
Rename rtems_filesystem_location_exists_in_same_fs_instance_as() into
rtems_filesystem_location_exists_in_same_instance_as() for consistency
with other file system instance related functions.
2012-10-07 17:17:27 +02:00
Sebastian Huber
8b65f389aa Filesystem: Rename function
Rename rtems_filesystem_location_is_root() into
rtems_filesystem_location_is_instance_root() to distinguish this from
the file system root directory of the current task environment.
2012-10-07 17:12:49 +02:00
Sebastian Huber
39d7d51fe3 fstests/fsimfsgeneric01: Avoid global state 2012-10-07 17:11:30 +02:00
Sebastian Huber
c17d0b315b Filesystem: Reject removal of root nodes
Reject the removal of file system instance root nodes in rmdir() and
unlink() and return the EBUSY error status.  File system instances can
be removed with unmount().  Remove root node special cases in IMFS,
DOSFS, and RFS.
2012-10-07 17:03:20 +02:00
Sebastian Huber
9b83a66546 score: Critical fix for thread dispatching
The changes in _Thread_Dispatch() of commits
dad36c52b8 and
d4dc7c8196 introduced a severe bug which
destroys the real-time properties of RTEMS completely.

Consider the following scenario.  We have three tasks L (lowest
priority), M (middle priority), and H (highest priority).  Now let a
thread dispatch from M to L happen.  An interrupt occurs in
_Thread_Dispatch() here:

void _Thread_Dispatch( void )
{
  [...]

post_switch:

  _ISR_Enable( level );

  <-- INTERRUPT
  <-- AFTER INTERRUPT

  _Thread_Unnest_dispatch();

  _API_extensions_Run_postswitch();
}

The interrupt event makes task H ready.  The interrupt code will see
_Thread_Dispatch_disable_level > 0 and thus doesn't perform a
_Thread_Dispatch().  Now we return to position "AFTER INTERRUPT".  This
means task L executes now although task H is ready!  Task H will execute
once someone calls _Thread_Dispatch().
2012-10-07 14:40:49 +02:00
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