Commit Graph
28437 Commits
Author SHA1 Message Date
Sebastian Huber 1e744efde9 bsp/leon3: Fix interrupt-driven console driver 2014-02-04 14:54:26 +01:00
Sebastian Huber 022851aba5 Add thread-local storage (TLS) support
Tested and implemented on ARM, m68k, PowerPC and SPARC.  Other
architectures need more work.
2014-02-04 10:06:35 +01:00
Sebastian Huber 960fd8546f bsps: Thread-local storage (TLS) for linkcmds 2014-02-04 10:06:34 +01:00
Sebastian Huber 16a41ccbce score: Add _Thread_Get_maximum_internal_threads() 2014-02-04 10:06:34 +01:00
Sebastian Huber a49bc354a7 score: Add _Heap_Size_with_overhead() 2014-02-04 10:06:34 +01:00
Sebastian Huber a850d040ab score: Add _Workspace_Allocate_aligned() 2014-02-04 10:06:34 +01:00
Sebastian Huber fe535885e6 bsp/v850: Use proper ABI in linkcmds 2014-02-04 10:06:34 +01:00
Joel Sherrill ba386a632e dosfs/fat.c: Remove use of register keyword 2014-02-03 17:45:33 -06:00
Joel Sherrill cfbeaf6da0 calloc.c: Remove use of register keyword 2014-02-03 17:45:32 -06:00
Joel Sherrill e633f3b51c posix/*.c: Remove use of register keyword 2014-02-03 17:45:32 -06:00
Joel Sherrill 3a638ceb4c rtems/*.c: Remove use of register keyword 2014-02-03 17:45:32 -06:00
Sebastian Huber e1b96b83e5 libtests/block11: Use custom device driver 2014-02-03 13:44:36 +01:00
Chris Johns e5d706cba0 bsp/xilinx_zynq: Support configuraton of memory map. Remove SMP variants.
Generate a linker command file from configure letting the user override the
defaults to suite their custom needs. Refer to configure.ac for the details.

Remove the SMP variants and let --enable-smp control if a BSP is built for
SMP.

Make USE_FAST_IDLE 1 only for the realview qemu BSP.
2014-02-02 14:01:18 +11:00
Joel Sherrill 6dce1621b6 bootcard.c: Comment clean up 2014-01-31 08:13:05 -06:00
Sebastian Huber fd49e3f162 bsps/sparc: Fix linkcmds part of new network stack 2014-01-30 16:46:38 +01:00
Sebastian Huber bba0e09a0e bsps: Fix barrier section definitions 2014-01-30 16:42:55 +01:00
Sebastian Huber 6c3517f25d bsp/stm32f4: Use BSP_SMALL_MEMORY for a variant 2014-01-30 16:42:55 +01:00
Sebastian Huber c26a945335 bsp/lpc24xx: Fix compile error 2014-01-30 16:42:55 +01:00
Nick Withers f334847bce powerpc/flash: give string variables const attribute 2014-01-23 11:30:15 -05:00
Nick Withers a7775cbd09 Add warnings to MOTLoad-equipped BSPs' READMEs that a "waitProbe", "netShut" sequence must be executed in MOTLoad before booting RTEMS to remove its network interface interrupt handlers, lest memory corruption occur 2014-01-23 11:28:21 -05:00
Sebastian Huber e16a7ba121 libchip/serial: Documentation 2014-01-23 15:59:25 +01:00
Sebastian Huber 5b34e7ada4 IMFS: Improved support for generic nodes
The rtems_filesystem_location_info_t::node_access_2 was unused by the
IMFS.  Use it to hold the context of generic nodes.  This makes it
possible to use node handlers for objects with and without a
corresponding file system node.

For example network sockets created with socket() have only a file
descriptor, but no corresponding file system node.  The UNIX(4) domain
sockets can be bound to file system nodes.  In both cases the
rtems_filesystem_location_info_t must provide a pointer to the socket
structure used by the socket node handlers.  With the context pointer
(for sockets, this is the socket structure) in
rtems_filesystem_location_info_t::node_access_2 the same node handlers
can be used in both cases.
2014-01-21 13:22:52 +01:00
Sebastian Huber 45e82bb862 IMFS: Allow sockets as generic nodes 2014-01-21 13:22:52 +01:00
Nick Withers a32f996b60 Don't use unsafe buffer operations
Don't use unsafe buffer operations, averting (stack) buffer overflow
when the syslog message length (including Facility and Level encoding)
would exceed 199 characters
2014-01-20 08:52:21 +01:00
Chris Johns 6e6fd513a7 testsuite/psx13: Add linefeed to end of test message.
The lack of a line feed means the output from the test runs into
the MI protocol on GDB as the broken simulator output currently
is not passing through gdb's MI protocol layer.
2014-01-19 10:42:17 +11:00
Cynthia Rempel d7f05338e3 libbsp sh: Add Doxygen file header to coverhd.h 2014-01-14 17:34:00 -06:00
Cynthia Rempel 279d83d33a libbsp powerpc: Add Doxygen file header to coverhd.h 2014-01-14 17:33:48 -06:00
Cynthia Rempel d5d1faee24 libbsp mips: Add Doxygen file header to coverhd.h 2014-01-14 17:33:33 -06:00
Cynthia Rempel f68660071a libbsp m68k: Add Doxygen file header to coverhd.h 2014-01-14 17:33:04 -06:00
Aleksandr Platonov fc6a0ae1a6 rtems_cache_invalidate_multiple_instruction_lines
According with comment in
rtems_cache_invalidate_multiple_instruction_lines(), final_address
indicates the last address which needs to be invalidated.  But if in
while loop we got final_address == i_addr condition then loop breaks and
final_address will not be invalidated.
2014-01-14 14:40:07 +01:00
Sebastian Huber 3a7f5887f3 bsps/arm: Use _ARMV4_Exception_interrupt
This allows read-only vector tables in ROM.  It avoids also an unsolved
problem with MMU/cache synchronization on SMP.
2014-01-14 09:46:13 +01:00
Sebastian Huber eba0626fa2 bsps/arm: Use Normal memory for code and data 2014-01-13 13:24:02 +01:00
Sebastian Huber 4ec210fe3e bsps/arm: Use ALIGN_WITH_INPUT
The ALIGN_WITH_INPUT helps to make this linker script more reliable.
See also:

https://sourceware.org/ml/binutils/2013-06/msg00246.html

https://sourceware.org/binutils/docs-2.24/ld/Forced-Output-Alignment.html#Forced-Output-Alignment

This reverts commit 4a9e52eefc.

This reverts commit 1ab4f76900.
2014-01-13 13:19:02 +01:00
Sebastian Huber 8fdf4e57f8 bsp/lpc24xx: Add PL111 support 2014-01-10 21:44:24 +01:00
Sebastian Huber 3e7590021c bsp/lpc24xx: Add register definition 2014-01-10 21:44:24 +01:00
Sebastian Huber 805ef2f2ba arm: Add ARMv7-M SHCSR register bits 2014-01-10 21:44:24 +01:00
Sebastian Huber c369e84efa bsp/realview-pbx-a9: Fix PL111 color encoding 2014-01-10 21:44:24 +01:00
Sebastian Huber 5b85ccaebc bsps/arm: Use handlers for PL111 set up/tear down 2014-01-10 21:44:24 +01:00
Chris Johns e83be2871f testsuite/rtems++: Output format change.
Alter the output to avoid sending out what is the MI protocol. The SIS
simulator is currently broken and outputs directly to GDB's stdout and
so this output gets parsed as MI output.
2014-01-10 10:57:08 +11:00
Cynthia Rempel e327e692c3 libbsp tm27.h: Add Doxygen file header to all tm27.h 2014-01-09 16:05:54 -06:00
Joel Sherrill 8d7c3cae95 tasksetpriority.c: Remove obsolete comment 2014-01-09 15:59:21 -06:00
HailinGuo 05b3db65f9 spsize/size.c: Fix typo.
From pull request at https://github.com/hazirguo/rtems/commit/fc07a4c501ffebe406464eb9b8dd2097adfd5e60
2014-01-09 09:50:18 -06:00
Cynthia Rempel 46123cf24f libtests: Add contents to rbheap and stackchk documentation files 2014-01-09 09:42:01 -06:00
Cynthia Rempel 4e108d7919 tmtests: Add contents to multiple documentation files 2014-01-09 09:42:01 -06:00
Till Strauman a19a7077ee posix: fix race condition between pthread_create and capture engine
Reproducable crashes occur when using pthreads and the capture engine
at the same time. 'pthread_create()' is the culprit. It creates a SCORE thread
and then calls Thread_Start( ) without disabling thread-dispatching.
2014-01-09 10:24:12 -05:00
Daniel Ramirez 3096f5c967 libtests/termios01: Add tests for cfsetspeed() and cfmakeraw() 2014-01-09 09:21:49 -06:00
Toma Radu 1d325e7b4d sparc BSP shared: Improve Doxygen
Add doxygen to the header files in sparc/shared/include directory.
2014-01-09 09:21:49 -06:00
Daniel Ramirez 8950204093 libtests/uid01: Fix Copyright information 2014-01-09 10:18:45 -05:00
Daniel Ramirez 7cf81ba4aa libtests: added test to confirm patch fixes bug 2014-01-09 10:07:49 -05:00
Allan Hessenflow 66bf2cc909 mw_uid: corrects uid_read_message short timeouts 2014-01-09 10:07:48 -05:00