Commit Graph

27647 Commits

Author SHA1 Message Date
Sebastian Huber
e7d175affb smptests/smpwakeafter01: Fix task count 2015-01-09 14:03:32 +01:00
Sebastian Huber
ad0743db07 smptests/smpmrsp01: Update run indicator only once
On the Freescale T2080 the excessive concurrent write/read lead to a
livelock condition.
2015-01-09 14:03:32 +01:00
Sebastian Huber
2a4f9d7f18 smp: Add and use _SMP_Should_start_processor() 2015-01-09 14:03:32 +01:00
Sebastian Huber
cfe6d05e3b capture: Fix lock initialization 2015-01-09 14:03:32 +01:00
Joel Sherrill
7cdabc49ca pc386: Add Edison base support
The current support for the Edison supports a single polled
UART for input and output plus a simulated clock tick. The
activities forward for supporting the Edison have been posted
on the RTEMS mailing lists and at:

http://rtemsramblings.blogspot.com/2014/12/intel-edison-and-rtems-road-forward.html
2015-01-04 13:44:57 -06:00
Joel Sherrill
09220c8129 untar.c: Coverity ID 26151 and reformat
The Coverity issue was an ignored return value from a read()
in a loop which should have been a seek() since the data
read was ignored.

The file itself needed reformatting to conform to RTEMS style.
2015-01-04 13:44:57 -06:00
Joel Sherrill
1ae7baf2d8 clock_driver_simidle.c: Add BSP_CLOCK_DRIVER_DELAY
This allows the BSP to define an optional spin delay which is
useful for making time appear to pass at a rate closer to
wall time. On the Edison, this was used with a polled console
driver to slow polling to a reasonable rate and make time
pass reasonably close to correctly even with no clock tick
support.
2015-01-04 13:44:57 -06:00
Joel Sherrill
0a36af04bb pc386: Add BSP_ENABLE_COM1_COM4 BSP option
This allows the support for the legacy COM1-COM4 serial ports
to be completely disabled. It is needed to prevent hangs on some
hardware. In particular, the Intel Edison where it is not present.
2015-01-04 13:44:56 -06:00
Joel Sherrill
93546b879f pc386: Add BSP_ENABLE_IDE BSP option
This allows the IDE support to be completely disabled. It is needed to
prevent hangs on some hardware. In particular, the Intel Edison where
it is not present.
2015-01-04 13:44:56 -06:00
Joel Sherrill
607c85465d pc386: Add BSP_ENABLE_VGA BSP option
This allows the VGA and keyboard console to be completely disabled.
It is useful on PCs without displays and prevents a very slow boot
time on the Intel Edison.
2015-01-04 13:44:56 -06:00
Nick Withers
86364e8c6a Correct error return mismatches
Closes #2139
2014-12-23 22:49:26 -05:00
Nick Withers
2d5c486914 Use fixed-width C99 types for PowerPC in_be16() and co.
Also use the const qualifier on the address pointer's target in in_*()

Closes #2128
2014-12-23 22:40:32 -05:00
Till Strauman
2573e698d1 pc386: scan all functions of multi-function PCI devices
The current algorithm scans all PCI busses (0..ff)
 and all devices (0..31) on each bus for bridges
 and determines the maximum of all subordinate
 busses encountered.

 However, the algorithm does not scan all functions
 present in multi-function devices -- I have a PCI express
 root complex (82801H) where multiple (non-zero index)
 functions are 'PCI bridges' whose subordinate bus number is
 missed by the original algorithm.

 This commit makes sure that the scan
 is extended to all functions of multi-function
 devices.

 See #2067
2014-12-23 22:27:25 -05:00
Peter Dufault
da10694a48 libnetworking: Make rtems_dhcp_failsafe() run time configurable
rtems_dhcp_failsafe() can be configured at compile time with
various options. This change makes it possible to instead configure
it at runtime.

This will make it marginally larger. I haven't measured the difference
but I'll guess it's in the lower hundreds of bytes. The change could be
modified to leave it either compile time or run time configurable,
I prefer the simplicity of a single method.

closes #1905
2014-12-23 22:14:50 -05:00
Gedare Bloom
0a789927c5 doc: add some red-black tree documentation
closes #2059
2014-12-19 12:14:06 -05:00
Sebastian Huber
8ce00eaf48 posix: Delete unused _POSIX_Threads_Get()
Close #1759.
2014-12-18 10:48:35 +01:00
Sebastian Huber
864d3475a5 smp: Fix timeout for MrsP semaphores
The previous timeout handling was flawed.  In case a waiting thread
helped out the owner could use the scheduler node indefinitely long.
Update the resource tree in _MRSP_Timeout() to avoid this issue.

Bug reported by Luca Bonato.
2014-12-18 08:33:29 +01:00
Sebastian Huber
481054e087 bsp/moxiesim: Add cache manager implementation
Close #2220.
2014-12-17 08:13:46 +01:00
Sebastian Huber
48cfe6819e doc: Add multilib section to CPU supplement
Add multilib section for ARM and PowerPC
2014-12-16 11:34:47 +01:00
Sebastian Huber
a0b1b5edb8 Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
This define was superfluous, undocumented and used inconsistently.
2014-12-16 11:34:38 +01:00
Ben Gras
1e587f7d6d bsp/beagle: Fix some warnings
The extra includes in console_*.c are to solve a 'no previous prototype'
warning.

Solves #2212 in trac.
2014-12-15 19:19:15 +01:00
Joel Sherrill
b2a78a3ec4 mcf5225x-testsuite.tcfg: Add fileio 2014-12-15 09:42:08 -06:00
Joel Sherrill
a37ffeb136 sync.c: Revert previous patch with assertions
Some file systems do not support sync() at all and return an
error indicating this on any sync() call. In particular, the
IMFS is one of these and thus this assertion is tripped in
normal testing.

Since sync() is void per POSIX, the error just must be ignored.
2014-12-15 09:40:28 -06:00
Sebastian Huber
20aba89b77 bsp/mpc55xxevb: Fix warnings 2014-12-15 11:55:27 +01:00
Sebastian Huber
b7cd6d51d8 bsp/t32mppc: Fix warnings 2014-12-15 11:49:10 +01:00
Sebastian Huber
5063e1a568 bsps/powerpc: Disable SPE for soft-float variants 2014-12-15 11:26:06 +01:00
Sebastian Huber
b2ee119f7a sys/endian.h: Fix 16-bit int problems 2014-12-15 08:27:32 +01:00
Nick Withers
f42d4292cb Enable WebSocket support in the Mongoose HTTP server 2014-12-15 07:44:56 +01:00
Sebastian Huber
3acc6196a4 bsp/lpc32xx: Fix memory map
Fixes bug introduced with f0c564c5ae.

close #2218
2014-12-15 07:40:04 +01:00
Sebastian Huber
3cd3a260a6 bsp/mpc8xx: Fix warnings
close #2211
2014-12-12 16:36:39 +01:00
Sebastian Huber
e4e66d4f16 doc: Clarify rate-monotonic statistics 2014-12-12 15:47:56 +01:00
Sebastian Huber
22cce675ef doc: Clarify rtems_task_set_priority() 2014-12-12 15:39:16 +01:00
Sebastian Huber
3507f3f953 bsp/mpc8xx: Fix warnings
close #2211
2014-12-12 15:32:40 +01:00
Sebastian Huber
25e5f616fe libcsupport: Do not use _Assert() for sync()
Use a best-effort approach.
2014-12-12 13:16:29 +01:00
Sebastian Huber
26e04e2f02 shell: Add 'all' topic for help for all commands 2014-12-12 13:16:28 +01:00
Sebastian Huber
7bdb765a67 Add POSIX key value pairs to resource snapshot 2014-12-12 13:16:28 +01:00
Sebastian Huber
172e953147 posix: Delete key/value if value is set to NULL 2014-12-12 13:16:25 +01:00
Sebastian Huber
dac340dd66 posix: Simplify _POSIX_Keys_Find() 2014-12-12 13:16:03 +01:00
Sebastian Huber
3feb3727a4 confdefs.h: Fix workspace size if idle task is FP 2014-12-12 08:07:49 +01:00
Nick Withers
9d9c42601a Teach rtems_tarfs_load() about symlinks 2014-12-11 08:12:13 +01:00
Gedare Bloom
71d97c92e5 sparc64: put each copyright on one line 2014-12-08 13:16:37 -05:00
Sebastian Huber
f3730d5660 libtests/complex: Avoid multiple definitions 2014-12-08 09:47:58 +01:00
Sebastian Huber
a2097c56ad shell: Avoid __DATE__ and adjust welcome message
The use of __DATE__ prevents reproducible builds.
2014-12-05 13:09:11 +01:00
Sebastian Huber
b657ea4d33 nfsclient: Avoid __FILE__ and __LINE__
The __FILE__ prevents reproducible builds.
2014-12-05 13:05:34 +01:00
Sebastian Huber
4a3db517e4 bsps/sparc: Fix trap table initialization
Fixes bug introduced with dff1803cfb.
2014-12-05 11:07:02 +01:00
Sebastian Huber
1207288022 Update bug report URL 2014-12-05 07:47:32 +01:00
Sebastian Huber
e870941bb0 libmisc: More useful default configuration
The dummy.c was a de-facto default configuration.  Rename it to
default-configuration.c.  Use unlimited objects and the stack checker.
This makes it easier for new RTEMS users which will likely use this file
if they just work with the usual main() function as the application
entry point.  Provide proper arguments for main() using the BSP command
line.  Add spare user extensions and drivers.

Do not initialize the network by default.  Delete bspinit.c.
2014-12-05 07:47:06 +01:00
Ben Gras
13d9029453 beagle bsp: disable watchdog on am335x
On recent u-boots, the watchdog is turned on / left enabled. The
Beaglebone Black rev. C ships with such a u-boot internally so any
application booting from it must disable the watchdog.

Therefore this change is needed to boot an RTEMS app out-of-the-box
on a BBB Rev C - otherwise the user button must be held during boot
(to bypass the stock uboot) or the internal uboot must be updated. To
allow for a better out-of-the-box experience, we just turn off the
watchdog.
2014-12-05 04:05:45 +01:00
Jan Dolezal
4251b88736 doxygen: expand specified compiler macros to empty string, so they are ignored by doxygen 2014-12-04 13:37:51 -05:00
Jan Dolezal
038e1dba31 i386: doxygen and comments related to VESA real mode framebuffer 2014-12-04 13:37:50 -05:00