summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* score: Add CPU counter supportSebastian Huber2014-02-1497-5/+985
| | | | | | | | | Add a CPU counter interface to allow access to a free-running counter. It is useful to measure short time intervals. This can be used for example to enable profiling of critical low-level functions. Add two busy wait functions rtems_counter_delay_ticks() and rtems_counter_delay_nanoseconds() implemented via the CPU counter.
* bsps/arm: Fix Cortex-A9 MPCore nanoseconds handlerSebastian Huber2014-02-131-1/+1
|
* sparc: Increase CPU_STRUCTURE_ALIGNMENT to 32Sebastian Huber2014-02-131-1/+1
| | | | Recent LEON4 systems use a cache line size of 32 bytes.
* testsuites: Add TESTS_USE_PRINTFSebastian Huber2014-02-121-0/+16
| | | | | Make it possible to use normal printf() if requested to allow output of floating point numbers.
* score: Change debug helper functionsSebastian Huber2014-02-1218-132/+95
| | | | | | | | Rename rtems_internal_error_description() to rtems_internal_error_text(). Rename rtems_fatal_source_description() to rtems_fatal_source_text(). Rename rtems_status_code_description() to rtems_status_text(). Remove previous implementation of rtems_status_text().
* sparc: Save/restore only non-volatile contextSebastian Huber2014-02-123-79/+78
| | | | | | | | | | The _CPU_Context_switch() is a normal function call. The following registers are volatile (the caller must assume that the register contents are destroyed by the callee) according to "SYSTEM V APPLICATION BINARY INTERFACE - SPARC Processor Supplement", Third Edition: g1, o0, o1, o2, o3, o4, o5. Drop these registers from the context. Ensure that offset defines match the structure offsets.
* bsps/sparc: Fix ambapp_find_by_idx()Sebastian Huber2014-02-111-1/+1
| | | | The expression "*pi++" post-increments the pointer (not the value).
* bsps/arm: Use Global Timer for Cortex-A9 MPCoreSebastian Huber2014-02-105-29/+78
| | | | | | Use the Global Timer for the Cortex-A9 MPCore clock driver instead of the Private Timer. This enables a consistent nanoseconds since last context switch value across all processors.
* bsps/arm: Include missing header fileSebastian Huber2014-02-103-3/+7
|
* score: Format _Thread_Get_maximum_internal_threadsSebastian Huber2014-02-101-3/+2
|
* Revert "bsp/leon3: New BSP variant leon3_qemu"Sebastian Huber2014-02-079-99/+0
| | | | | | This reverts commit 7579e255127ee0cf04901bbab6c1538559053508. Improve QEMU to support AMBA plug and play instead.
* bsp/leon3: New BSP variant leon3_qemuSebastian Huber2014-02-069-0/+99
|
* bsp/leon3: Declare bsp_debug_uart_init() in headerSebastian Huber2014-02-063-5/+5
| | | | Do not return a status.
* rtems: Add rtems_status_code_description()Sebastian Huber2014-02-068-7/+167
|
* score: _CPU_Context_switch_to_first_task_smp()Sebastian Huber2014-02-057-69/+1
| | | | | Delete _CPU_Context_switch_to_first_task_smp() and use _CPU_Context_restore() instead.
* bsps: Delete unused bsp_smp_delay()Sebastian Huber2014-02-052-27/+0
|
* bsp/leon3: Avoid magic delays for IPI broadcastSebastian Huber2014-02-051-5/+3
|
* bsp/leon3: Fix SMP initializationSebastian Huber2014-02-053-51/+34
| | | | | | | Avoid usage of the same stack area by multiple secondary processors at the same time. Avoid magic delay loops.
* bsp/leon3: Install IPI handler earlySebastian Huber2014-02-051-7/+4
| | | | | | | | Install inter-processor interrupt (IPI) handler before secondary CPUs are started. This ensures that secondary CPUs fetch the newly installed handler. Remove superfluous return statement.
* bsp/leon3: Use printk() only if debug is enabledSebastian Huber2014-02-051-9/+10
|
* sptests/spsem0[12]: Use rtems_test_exit()Sebastian Huber2014-02-052-4/+4
|
* bsps/sparc: Fix commentSebastian Huber2014-02-051-1/+1
|
* bsps/sparc: Remove confusing nopSebastian Huber2014-02-041-1/+0
|
* bsps/sparc: Order load/store by increasing offsetsSebastian Huber2014-02-041-7/+7
| | | | This may increase the cache hit performance.
* bsps/sparc: Fix commentsSebastian Huber2014-02-041-3/+1
|
* bsp/leon3: Console driver changesSebastian Huber2014-02-043-68/+56
| | | | | Move declaration of global variables and functions to <leon.h> header file. Make several global variables and functions static.
* bsp/leon3: Avoid copy and paste in console driverSebastian Huber2014-02-041-39/+23
|
* bsp/leon3: Fix interrupt-driven console driverSebastian Huber2014-02-041-72/+98
|
* Add thread-local storage (TLS) supportSebastian Huber2014-02-0477-60/+1132
| | | | | Tested and implemented on ARM, m68k, PowerPC and SPARC. Other architectures need more work.
* bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber2014-02-0479-44/+1279
|
* score: Add _Thread_Get_maximum_internal_threads()Sebastian Huber2014-02-042-11/+20
|
* score: Add _Heap_Size_with_overhead()Sebastian Huber2014-02-043-0/+44
|
* score: Add _Workspace_Allocate_aligned()Sebastian Huber2014-02-045-0/+34
|
* bsp/v850: Use proper ABI in linkcmdsSebastian Huber2014-02-041-3/+3
|
* dosfs/fat.c: Remove use of register keywordJoel Sherrill2014-02-031-1/+1
|
* calloc.c: Remove use of register keywordJoel Sherrill2014-02-031-3/+3
|
* posix/*.c: Remove use of register keywordJoel Sherrill2014-02-0313-26/+26
|
* rtems/*.c: Remove use of register keywordJoel Sherrill2014-02-0337-73/+73
|
* libtests/block11: Use custom device driverSebastian Huber2014-02-031-3/+36
|
* bsp/xilinx_zynq: Support configuraton of memory map. Remove SMP variants.Chris Johns2014-02-0216-149/+89
| | | | | | | | | | 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.
* bootcard.c: Comment clean upJoel Sherrill2014-01-311-5/+5
|
* bsps/sparc: Fix linkcmds part of new network stackSebastian Huber2014-01-301-3/+3
|
* bsps: Fix barrier section definitionsSebastian Huber2014-01-302-6/+6
|
* bsp/stm32f4: Use BSP_SMALL_MEMORY for a variantSebastian Huber2014-01-301-0/+1
|
* bsp/lpc24xx: Fix compile errorSebastian Huber2014-01-301-1/+1
|
* powerpc/flash: give string variables const attributeNick Withers2014-01-235-22/+22
|
* Add warnings to MOTLoad-equipped BSPs' READMEs that a "waitProbe", "netShut" ↵Nick Withers2014-01-233-0/+16
| | | | sequence must be executed in MOTLoad before booting RTEMS to remove its network interface interrupt handlers, lest memory corruption occur
* libchip/serial: DocumentationSebastian Huber2014-01-231-10/+1
|
* IMFS: Improved support for generic nodesSebastian Huber2014-01-212-3/+3
| | | | | | | | | | | | | | | | 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.
* IMFS: Allow sockets as generic nodesSebastian Huber2014-01-211-1/+2
|