Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | score: Add _IO_Printf() and _IO_Vprintf() | Sebastian Huber | 2017-11-06 | 8 | -298/+613 |
| | | | | | | | | | | | | | | The previous vprintk() implementation had a questionable licence header, lacks support for the 'z' and 'j' format specifiers, is not robust against invalid format specifiers, uses a global variable for output. Replace it with a stripped down version of the FreeBSD kernel kvprintf() function. The new implementation allows a low overhead rtems_snprintf() if necessary. Update #3199. Close #3216. | ||||
* | smpscheduler02: Avoid sporadic test failures | Sebastian Huber | 2017-11-03 | 1 | -0/+4 |
| | |||||
* | posix: Use far future for very long timeouts | Sebastian Huber | 2017-11-02 | 4 | -29/+90 |
| | | | | Close #3205. | ||||
* | tests: Use printf() instead of fprintf() | Sebastian Huber | 2017-11-02 | 11 | -158/+143 |
| | | | | | Update #3170. Update #3199. | ||||
* | tests: Delete obsolete TESTS_USE_PRINTF | Sebastian Huber | 2017-11-02 | 4 | -4/+0 |
| | | | | | Update #3170. Update #3199. | ||||
* | bsp/imx: More robust and faster bsp_reset() | Sebastian Huber | 2017-11-02 | 1 | -3/+3 |
| | | | | Update #3090. | ||||
* | bsp/imx: Drain console before reset | Sebastian Huber | 2017-11-02 | 3 | -1/+18 |
| | | | | Update #3090. | ||||
* | bsp/imx: Implement bsp_reset() | Sebastian Huber | 2017-11-02 | 4 | -1/+79 |
| | | | | Update #3090. | ||||
* | smppsxaffinity02: Fix thread attribute usage | Sebastian Huber | 2017-11-02 | 1 | -0/+4 |
| | | | | | | | | | The pthread_getattr_np() returns now the stack address and size. Do not use this stack for the new threads. Update #2514. Update #3145. Update #3168. | ||||
* | bsp: Make riscv_generic work for both riscv32 and riscv64 - v2 | Hesham Almatary | 2017-11-01 | 23 | -15/+21 |
| | | | | Update #3109 | ||||
* | cpukit: RISC-V - make riscv32 code work for riscv64 - v2 | Hesham Almatary | 2017-11-01 | 23 | -51/+77 |
| | | | | | | | | | * Use #ifdefs for 32/64 bit code * Use unsigned long which is 32-bit on riscv32 and 64-bit on riscv64 (register size) * Move the code to a new shared riscv folder to be shared between riscv32 and riscv64 * Rename RTEMS_CPU extracted from command line to shared riscv target s/riscv*/riscv Update #3109 | ||||
* | testsuite: Add bspIo for a local printk. | Chris Johns | 2017-10-30 | 1 | -0/+2 |
| | | | | | Update #3170. Update #3199. | ||||
* | score: Fix non-SMP build | Sebastian Huber | 2017-10-29 | 1 | -1/+1 |
| | |||||
* | tests: Remove TEST_INIT | Sebastian Huber | 2017-10-28 | 549 | -1096/+1 |
| | | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199. | ||||
* | tests: Remove obsolete TESTS_USE_PRINTK | Sebastian Huber | 2017-10-28 | 40 | -43/+0 |
| | | | | | Update #3170. Update #3199. | ||||
* | tests: Use rtems_test_printer in general | Sebastian Huber | 2017-10-28 | 10 | -180/+59 |
| | | | | | Update #3170. Update #3199. | ||||
* | tests: Use rtems_print_printer_fprintf_putc() | Sebastian Huber | 2017-10-28 | 10 | -10/+10 |
| | | | | | | | | Use rtems_print_printer_fprintf_putc() instead of rtems_print_printer_printf() to output via rtems_putc(). Update #3170. Update #3199. | ||||
* | tests: Use rtems_test_printer | Sebastian Huber | 2017-10-28 | 7 | -39/+21 |
| | | | | | Update #3170. Update #3199. | ||||
* | rtems: Add rtems_print_printer_fprintf_putc() | Sebastian Huber | 2017-10-28 | 3 | -11/+82 |
| | | | | | Update #3170. Update #3199. | ||||
* | tests: Move rtems_test_printer definition | Sebastian Huber | 2017-10-28 | 15 | -17/+14 |
| | | | | | | | Statically initialize it to use printk(). Update #3170. Update #3199. | ||||
* | riscv32: Add missing preinstall.am | Sebastian Huber | 2017-10-28 | 3 | -0/+185 |
| | | | | Update #3109. | ||||
* | sptests/spscheduler01: Test POSIX set/get affinity | Sebastian Huber | 2017-10-28 | 2 | -23/+98 |
| | |||||
* | score: Fix _Scheduler_Set_affinity() | Sebastian Huber | 2017-10-28 | 3 | -6/+23 |
| | |||||
* | posix: Fix pthread_create() with user stack | Sebastian Huber | 2017-10-28 | 1 | -3/+11 |
| | | | | | | | In case the user provides a stack with address and size, then do not alter the stack size. Close #3211. | ||||
* | score: Simplify SMP get lowest scheduled | Sebastian Huber | 2017-10-28 | 3 | -28/+18 |
| | | | | | | There is no need to pass in the order relation since the scheduled threads reside on an already ordered chain. The caller will decide what to do with the lowest scheduled thread. | ||||
* | bsp: Add new riscv_generic bsp v3 | Hesham Almatary | 2017-10-28 | 19 | -0/+1495 |
| | | | | | | | | * Only runs/tested on simulator/spike. * Ticker, hello, capture work proprely * Tested via RTEMS Tester, Passed: 525/565 (92%) Update #3109 | ||||
* | cpukit: Add basic riscv32 architecture port v3 | Hesham Almatary | 2017-10-28 | 17 | -0/+3446 |
| | | | | | | | Limitations: * NO FPU support [TODO] Update #3109 | ||||
* | cpukit: librpc - add riscv* to xdr_float.c v3 | Hesham Almatary | 2017-10-28 | 1 | -0/+1 |
| | |||||
* | Add riscv32 to autotools files v3 | Hesham Almatary | 2017-10-28 | 3 | -0/+3 |
| | |||||
* | smptests: Fix format warnings | Sebastian Huber | 2017-10-26 | 2 | -3/+3 |
| | |||||
* | psxtests/psxstat: Fix format warnings | Sebastian Huber | 2017-10-26 | 1 | -2/+2 |
| | |||||
* | psxtests/psxclockrealtime01: Fix warnings | Sebastian Huber | 2017-10-26 | 1 | -0/+2 |
| | | | | Update #3182. | ||||
* | score: Delete _Scheduler_Thread_set_priority() | Sebastian Huber | 2017-10-26 | 1 | -12/+0 |
| | |||||
* | leon,gr740: start ASR22:23 up-counter on boot by writing ASR22 | Daniel Hellstrom | 2017-10-25 | 1 | -1/+1 |
| | | | | | | According to data sheet bit 31 in ASR22 must be written with a zero to start the up-counter. GRMON starts the up-counter for us. This patch is important when running in "flight" from ROM without GRMON. | ||||
* | smptests: Remove duplicate Makefile targets | Sebastian Huber | 2017-10-25 | 1 | -2/+0 |
| | | | | Close #3187. | ||||
* | confdefs: CONFIGURE_MICROSECONDS_PER_TICK | Sebastian Huber | 2017-10-25 | 1 | -0/+4 |
| | | | | Reject non-positive CONFIGURE_MICROSECONDS_PER_TICK values. | ||||
* | rtems: rtems_clock_get_ticks_per_second() | Sebastian Huber | 2017-10-25 | 3 | -0/+8 |
| | | | | | | | Add macro implementation for rtems_clock_get_ticks_per_second() for C/C++ to avoid the function call overhead. A rtems_clock_get_ticks_per_second() is still provided for language bindings (e.g. Ada). | ||||
* | testsuite: Fix build | Chris Johns | 2017-10-25 | 1 | -0/+2 |
| | | | | Updates #3170. | ||||
* | score: Move thread queue timeout handling | Sebastian Huber | 2017-10-24 | 50 | -878/+640 |
| | | | | | Update #3117. Update #3182. | ||||
* | score: Rename function threadq support function | Sebastian Huber | 2017-10-24 | 19 | -26/+23 |
| | | | | | | | | | Rename _Thread_queue_Context_set_do_nothing_enqueue_callout() into _Thread_queue_Context_set_enqueue_do_nothing_extra(). More _Thread_queue_Context_set_enqueue_*() functions will follow. Update #3117. Update #3182. | ||||
* | score: Add _Thread_Continue() | Sebastian Huber | 2017-10-24 | 2 | -10/+33 |
| | | | | | Update #3117. Update #3182. | ||||
* | score: _Watchdog_Per_CPU_lazy_insert_monotonic() | Sebastian Huber | 2017-10-24 | 1 | -0/+25 |
| | | | | | Update #3117. Update #3182. | ||||
* | score: Add _Watchdog_Monotonic_from_timespec() | Sebastian Huber | 2017-10-24 | 1 | -0/+16 |
| | | | | | Update #3117. Update #3182. | ||||
* | score: Add _Watchdog_Nanoseconds_per_tick | Sebastian Huber | 2017-10-24 | 4 | -10/+15 |
| | | | | | | | Move it from the configuration to a separate variable. Update #3117. Update #3182. | ||||
* | score: _Watchdog_Is_far_future_monotonic_timespec | Sebastian Huber | 2017-10-24 | 4 | -0/+20 |
| | | | | | Update #3117. Update #3182. | ||||
* | score: Add _Watchdog_Is_valid_interval_timespec() | Sebastian Huber | 2017-10-24 | 1 | -0/+7 |
| | | | | | Update #3117. Update #3182. | ||||
* | score: _Watchdog_Is_far_future_realtime_timespec() | Sebastian Huber | 2017-10-24 | 1 | -9/+32 |
| | | | | | Update #3117. Update #3182. | ||||
* | score: Rename _Watchdog_Ticks_from_*() | Sebastian Huber | 2017-10-24 | 6 | -9/+9 |
| | | | | | | | | | | Rename _Watchdog_Ticks_from_*() to _Watchdog_Realtime_from_*(). This highlights that these routines are used for the CLOCK_REALTIME watchdogs (in contrast to CLOCK_MONOTONIC). Update #3117. Update #3182. | ||||
* | confdefs: Warn about problematic ticks per second | Sebastian Huber | 2017-10-24 | 1 | -0/+4 |
| | | | | | | | | A non-integer clock ticks per second value may lead to inaccurate time format conversions. Update #3117. Update #3182. | ||||
* | rtems: Simplify RTEMS_MILLISECONDS_TO_MICROSECONDS | Sebastian Huber | 2017-10-24 | 1 | -1/+1 |
| | | | | | | | Remove the cast so that it can be used in C pre-processor directives. Update #3117. Update #3182. |