Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | score: Add CPU counter support | Sebastian Huber | 2014-02-14 | 97 | -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 handler | Sebastian Huber | 2014-02-13 | 1 | -1/+1 |
| | |||||
* | sparc: Increase CPU_STRUCTURE_ALIGNMENT to 32 | Sebastian Huber | 2014-02-13 | 1 | -1/+1 |
| | | | | Recent LEON4 systems use a cache line size of 32 bytes. | ||||
* | testsuites: Add TESTS_USE_PRINTF | Sebastian Huber | 2014-02-12 | 1 | -0/+16 |
| | | | | | Make it possible to use normal printf() if requested to allow output of floating point numbers. | ||||
* | score: Change debug helper functions | Sebastian Huber | 2014-02-12 | 18 | -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 context | Sebastian Huber | 2014-02-12 | 3 | -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 Huber | 2014-02-11 | 1 | -1/+1 |
| | | | | The expression "*pi++" post-increments the pointer (not the value). | ||||
* | bsps/arm: Use Global Timer for Cortex-A9 MPCore | Sebastian Huber | 2014-02-10 | 5 | -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 file | Sebastian Huber | 2014-02-10 | 3 | -3/+7 |
| | |||||
* | score: Format _Thread_Get_maximum_internal_threads | Sebastian Huber | 2014-02-10 | 1 | -3/+2 |
| | |||||
* | Revert "bsp/leon3: New BSP variant leon3_qemu" | Sebastian Huber | 2014-02-07 | 9 | -99/+0 |
| | | | | | | This reverts commit 7579e255127ee0cf04901bbab6c1538559053508. Improve QEMU to support AMBA plug and play instead. | ||||
* | bsp/leon3: New BSP variant leon3_qemu | Sebastian Huber | 2014-02-06 | 9 | -0/+99 |
| | |||||
* | bsp/leon3: Declare bsp_debug_uart_init() in header | Sebastian Huber | 2014-02-06 | 3 | -5/+5 |
| | | | | Do not return a status. | ||||
* | rtems: Add rtems_status_code_description() | Sebastian Huber | 2014-02-06 | 8 | -7/+167 |
| | |||||
* | score: _CPU_Context_switch_to_first_task_smp() | Sebastian Huber | 2014-02-05 | 7 | -69/+1 |
| | | | | | Delete _CPU_Context_switch_to_first_task_smp() and use _CPU_Context_restore() instead. | ||||
* | bsps: Delete unused bsp_smp_delay() | Sebastian Huber | 2014-02-05 | 2 | -27/+0 |
| | |||||
* | bsp/leon3: Avoid magic delays for IPI broadcast | Sebastian Huber | 2014-02-05 | 1 | -5/+3 |
| | |||||
* | bsp/leon3: Fix SMP initialization | Sebastian Huber | 2014-02-05 | 3 | -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 early | Sebastian Huber | 2014-02-05 | 1 | -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 enabled | Sebastian Huber | 2014-02-05 | 1 | -9/+10 |
| | |||||
* | sptests/spsem0[12]: Use rtems_test_exit() | Sebastian Huber | 2014-02-05 | 2 | -4/+4 |
| | |||||
* | bsps/sparc: Fix comment | Sebastian Huber | 2014-02-05 | 1 | -1/+1 |
| | |||||
* | bsps/sparc: Remove confusing nop | Sebastian Huber | 2014-02-04 | 1 | -1/+0 |
| | |||||
* | bsps/sparc: Order load/store by increasing offsets | Sebastian Huber | 2014-02-04 | 1 | -7/+7 |
| | | | | This may increase the cache hit performance. | ||||
* | bsps/sparc: Fix comments | Sebastian Huber | 2014-02-04 | 1 | -3/+1 |
| | |||||
* | bsp/leon3: Console driver changes | Sebastian Huber | 2014-02-04 | 3 | -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 driver | Sebastian Huber | 2014-02-04 | 1 | -39/+23 |
| | |||||
* | bsp/leon3: Fix interrupt-driven console driver | Sebastian Huber | 2014-02-04 | 1 | -72/+98 |
| | |||||
* | Add thread-local storage (TLS) support | Sebastian Huber | 2014-02-04 | 77 | -60/+1132 |
| | | | | | Tested and implemented on ARM, m68k, PowerPC and SPARC. Other architectures need more work. | ||||
* | bsps: Thread-local storage (TLS) for linkcmds | Sebastian Huber | 2014-02-04 | 79 | -44/+1279 |
| | |||||
* | score: Add _Thread_Get_maximum_internal_threads() | Sebastian Huber | 2014-02-04 | 2 | -11/+20 |
| | |||||
* | score: Add _Heap_Size_with_overhead() | Sebastian Huber | 2014-02-04 | 3 | -0/+44 |
| | |||||
* | score: Add _Workspace_Allocate_aligned() | Sebastian Huber | 2014-02-04 | 5 | -0/+34 |
| | |||||
* | bsp/v850: Use proper ABI in linkcmds | Sebastian Huber | 2014-02-04 | 1 | -3/+3 |
| | |||||
* | dosfs/fat.c: Remove use of register keyword | Joel Sherrill | 2014-02-03 | 1 | -1/+1 |
| | |||||
* | calloc.c: Remove use of register keyword | Joel Sherrill | 2014-02-03 | 1 | -3/+3 |
| | |||||
* | posix/*.c: Remove use of register keyword | Joel Sherrill | 2014-02-03 | 13 | -26/+26 |
| | |||||
* | rtems/*.c: Remove use of register keyword | Joel Sherrill | 2014-02-03 | 37 | -73/+73 |
| | |||||
* | libtests/block11: Use custom device driver | Sebastian Huber | 2014-02-03 | 1 | -3/+36 |
| | |||||
* | bsp/xilinx_zynq: Support configuraton of memory map. Remove SMP variants. | Chris Johns | 2014-02-02 | 16 | -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 up | Joel Sherrill | 2014-01-31 | 1 | -5/+5 |
| | |||||
* | bsps/sparc: Fix linkcmds part of new network stack | Sebastian Huber | 2014-01-30 | 1 | -3/+3 |
| | |||||
* | bsps: Fix barrier section definitions | Sebastian Huber | 2014-01-30 | 2 | -6/+6 |
| | |||||
* | bsp/stm32f4: Use BSP_SMALL_MEMORY for a variant | Sebastian Huber | 2014-01-30 | 1 | -0/+1 |
| | |||||
* | bsp/lpc24xx: Fix compile error | Sebastian Huber | 2014-01-30 | 1 | -1/+1 |
| | |||||
* | powerpc/flash: give string variables const attribute | Nick Withers | 2014-01-23 | 5 | -22/+22 |
| | |||||
* | Add warnings to MOTLoad-equipped BSPs' READMEs that a "waitProbe", "netShut" ↵ | Nick Withers | 2014-01-23 | 3 | -0/+16 |
| | | | | sequence must be executed in MOTLoad before booting RTEMS to remove its network interface interrupt handlers, lest memory corruption occur | ||||
* | libchip/serial: Documentation | Sebastian Huber | 2014-01-23 | 1 | -10/+1 |
| | |||||
* | IMFS: Improved support for generic nodes | Sebastian Huber | 2014-01-21 | 2 | -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 nodes | Sebastian Huber | 2014-01-21 | 1 | -1/+2 |
| |