Commit Graph

27633 Commits

Author SHA1 Message Date
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
Jan Dolezal
d78eac64a8 i386/pc386: cammelCase (struct and function names) to underscores, typedefed structs, break >80 chars lines, removed newlines at EOFs
fb_vesa_rm.c: removed inline from functions declared in fb_vesa.h
              removed unnecessary printks in the end of patch
edid.h, vbe3.h: switched from custom *PACKED_ATTRIBUTE at the structs to the
                RTEMS_COMPILER_PACKED_ATTRIBUTE for easier maintainability
                of doxygen
2014-12-04 13:37:50 -05:00
Sebastian Huber
adc1dbeb39 bsp/leon3: Fix trap table initialization
Fixes bug introduced with dff1803cfb.
2014-12-04 15:16:26 +01:00
Daniel Hellstrom
dff1803cfb SPARC: optimize IRQ enable & disable
* Coding style cleanups.
* Use OS reserved trap 0x89 for IRQ Disable
* Use OS reserved trap 0x8A for IRQ Enable
* Add to SPARC CPU supplement documentation

This will result in faster Disable/Enable code since the
system trap handler does not need to decode which function
the user wants. Besides the IRQ disable/enabled can now
be inline which avoids the caller to take into account that
o0-o7+g1-g4 registers are destroyed by trap handler.

It was also possible to reduce the interrupt trap handler by
five instructions due to this.
2014-12-04 12:51:11 +01:00
Ben Gras
4081032ce0 pc386 bsp fix for default mode
If USE_VBE_RM is 0, vesa_realmode_bootup_init() is not available so the
test should be #if instead of #ifdef.
2014-12-03 18:06:29 +01:00
Sebastian Huber
8905201985 monitor: Replace puts() with proper fprintf() 2014-12-03 13:03:13 +01:00
Sebastian Huber
0104056056 sptests: Add get_one_tick_busy_value()
Extract this function from
interrupt_critical_section_test_support_initialize().
2014-12-03 11:19:53 +01:00
Sebastian Huber
f54e50339c libtests: Omit libdl tests if no RTEMS tools 2014-12-03 08:27:55 +01:00
Nick Withers
fa4fe456b7 Move the flash size probe into bankValidate()
Previously, bankValidate() could be called (e.g., BSP_flashWrite() -> regionCheckAndErase() -> argcheck() -> bankValidate()) without the probe having happened. When it then invoked BSP_flashCheckId(), unmapped memory could be read, possibly causing a fatal exception.
2014-12-03 07:51:02 +01:00
Jiri Gaisler
2501814ee9 sparc/leon2: LEON_Is_interrupt_masked for Leon2 in leon.h wrongly defined
Condition needs to be inverted, as a 1 in the mask register means
    that the interrupt is enabled. Solves ticket #1959 in trac.
2014-12-02 14:04:11 +01:00
Jiri Gaisler
291f30f285 sparc/leon3: LEON_Is_interrupt_masked for Leon3 in leon.h wrongly defined
Condition needs to be inverted, as a 1 in the mask register means
that the interrupt is enabled. Solves ticket #1958 in trac.
2014-12-02 14:04:04 +01:00
Daniel Hellstrom
0d3b5d4742 SPARC: optimize window underflow trap
Save five instructions on underflow handling.

By using an optimized trap entry we can move instructions from
the window underflow function into the trap entry vector. By
setting WIM=0 and using RESTORE it is possible to move the
new WIM register content from the trapped window into the
to-be-restored register window. It is then possible to avoid
the WIM write delay.
2014-12-02 13:57:20 +01:00
Daniel Hellstrom
6930aa7f19 SPARC: optimize window overflow trap entry
By using a optimized trap entry we can move instructions from
the window overflow function into the trap entry vector. By
using the saved locals instead of g1 we don't need to save
that register temporarily. Also spead out non store instructions
inbetween stores to use the write buffer better.
2014-12-02 13:57:15 +01:00
Daniel Hellstrom
348d1812ba SPARC: window overflow optimization
I see no need for waiting the 3 instruction delay for wim to be
written in this case, since the STD after does not depend on WIM
2014-12-02 13:55:50 +01:00
Daniel Hellstrom
e7e92da52e DEVFS04: make test work on LEON3-FT GR712RC
The LEON3 BSP have support for up to 8 termios consoles, the
LEON3-FT GR712RC uses 6 UARTs.

This does not take into account the BSP maximum devices instead
it is hardcoded to 6. This patch increases it the maximum
devices of DEVFS04 from 6 to 10.
2014-12-02 13:47:37 +01:00