Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix broken BSPs due to a shared cache function declaration. | Hesham ALMatary | 2015-04-27 | 1 | -1/+0 |
| | | | | | Get rid of _CPU_cache_invalidate_instruction_range declaration as it doesn't make sense here. | ||||
* | dosfs: Fix warning fix | Sebastian Huber | 2015-04-27 | 1 | -1/+1 |
| | |||||
* | Fix or1k C++ build failure | Hesham ALMatary | 2015-04-26 | 1 | -0/+7 |
| | | | | Closes #2329 | ||||
* | posix: Use right thread dispatch disable function | Sebastian Huber | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | score: Fix POSIX thread join | Sebastian Huber | 2015-04-23 | 3 | -2/+5 |
| | | | | | | | | | | | | A thread join is twofold. There is one thread that exists and an arbitrary number of threads that wait for the thread exit (one-to-many relation). The exiting thread may want to wait for a thread that wants to join its exit (STATES_WAITING_FOR_JOIN_AT_EXIT in _POSIX_Thread_Exit()). On the other side we need a thread queue for all the threads that wait for the exit of one particular thread (STATES_WAITING_FOR_JOIN in pthread_join()). Update #2035. | ||||
* | sp13/system.h: Account for all message buffers | Joel Sherrill | 2015-04-23 | 1 | -2/+2 |
| | | | | | | | There may be a way to reduce the memory requirements but it will require time to ensure the math is right and it passes on all targets. At the current time, it fails on 22 BSPs which run on simulators. | ||||
* | simsh*.tcfg: Add iostream | Joel Sherrill | 2015-04-23 | 4 | -0/+4 |
| | |||||
* | gensh2-testsuite.tcfg: Add iostream | Joel Sherrill | 2015-04-23 | 1 | -0/+1 |
| | |||||
* | gensh1-testsuite.tcfg: Add iostream | Joel Sherrill | 2015-04-23 | 1 | -0/+1 |
| | |||||
* | mbx8xx/include/bsp.h: Add include of <rtems/irq.h> | Joel Sherrill | 2015-04-23 | 1 | -0/+1 |
| | |||||
* | ods68302-testsuite.tcfg: Add iosteam | Joel Sherrill | 2015-04-23 | 1 | -0/+1 |
| | |||||
* | mrm332-testsuite.tcfg: Add iostream and sptls02 | Joel Sherrill | 2015-04-23 | 1 | -0/+2 |
| | |||||
* | mcf5225x-testsuite.tcfg: Add iostream | Joel Sherrill | 2015-04-23 | 1 | -0/+1 |
| | |||||
* | lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add sptls02 | Joel Sherrill | 2015-04-23 | 1 | -0/+1 |
| | |||||
* | lm3s3749-testsuite.tcfg: Add cdtest | Joel Sherrill | 2015-04-23 | 2 | -0/+2 |
| | |||||
* | score: Delete _Thread_queue_Dequeue_priority() | Sebastian Huber | 2015-04-23 | 1 | -19/+0 |
| | |||||
* | score: _CORE_mutex_Seize_interrupt_blocking() | Sebastian Huber | 2015-04-23 | 2 | -7/+15 |
| | | | | | Move some code into _CORE_mutex_Seize_interrupt_blocking() so that the thread queue handling is in one place. | ||||
* | score: Delete Thread_queue_Control::state | Sebastian Huber | 2015-04-23 | 28 | -62/+65 |
| | | | | | Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage. | ||||
* | score: Fix priority message queue insert | Sebastian Huber | 2015-04-23 | 2 | -95/+44 |
| | | | | | | | | Move the linear search into a critical section to avoid corruption due to higher priority interrupts. The interrupt disable time depends now on the count of pending messages. Close #2328. | ||||
* | score: Delete _CORE_RWLock_Timeout() | Sebastian Huber | 2015-04-22 | 7 | -92/+14 |
| | | | | | This function was identical to _Thread_queue_Timeout(). This makes _Thread_queue_Enqueue_with_handler() obsolete. | ||||
* | score: Delete bogus THREAD_QUEUE_WAIT_FOREVER | Sebastian Huber | 2015-04-22 | 8 | -12/+7 |
| | | | | | It makes no sense to use this indirection since the type for timeout values is Watchdog_Interval. | ||||
* | smptests/smpcache01: Enable interrupts before waiting for other CPUs | Daniel Cederman | 2015-04-22 | 1 | -2/+2 |
| | | | | | Otherwise there is a risk that a CPU misses a cache manager message from another CPU and the test hangs. | ||||
* | score: Delete object control block ISR lock | Sebastian Huber | 2015-04-21 | 6 | -181/+1 |
| | | | | | | | The Objects_Control::Lock was a software layer violation. It worked only for the threads since they are somewhat special. Update #2273. | ||||
* | score: Add _Thread_Get_interrupt_disable() | Sebastian Huber | 2015-04-21 | 10 | -108/+145 |
| | | | | | | | | | | Remove _Thread_Acquire() and _Thread_Acquire_for_executing(). Add utility functions for the default thread lock. Use the default thread lock for the RTEMS events. There is no need to disable thread dispatching and a Giant acquire in _Event_Timeout() since this was already done by the caller. Update #2273. | ||||
* | score: Modify _Thread_Dispatch_disable_critical() | Sebastian Huber | 2015-04-21 | 2 | -9/+11 |
| | | | | | Return the current processor to be in line with _Thread_Disable_dispatch(). | ||||
* | score: _Objects_Get_isr_disable() | Sebastian Huber | 2015-04-21 | 4 | -9/+14 |
| | | | | | | | | Do not disable thread dispatching and do not acquire the Giant lock. This makes it possible to use this object get variant for fine grained locking. Update #2273. | ||||
* | score: _Objects_Get_isr_disable() | Sebastian Huber | 2015-04-21 | 11 | -55/+65 |
| | | | | | | | Use ISR_lock_Context instead of ISR_Level to allow use of ISR locks for low-level locking. Update #2273. | ||||
* | score: Add _ISR_lock_ISR_disable/enable() | Sebastian Huber | 2015-04-20 | 3 | -2/+44 |
| | |||||
* | score: Refactor SMP cache manager support | Sebastian Huber | 2015-04-20 | 5 | -197/+224 |
| | |||||
* | Rename or1ksim BSP to generic_or1k | Hesham ALMatary | 2015-04-19 | 24 | -255/+255 |
| | | | | | | | or1ksim BSP was initially named after or1ksim simulator, and it was intented to only run there. But now it can also run on QEMU, jor1k and real FPGA boards without modifications. It makes more sense to give it a new generic name like generic_or1k. | ||||
* | sp13: Document message buffer usage and adjust configuration | Joel Sherrill | 2015-04-17 | 1 | -5/+26 |
| | |||||
* | user/libpci.t: Make it build and clean up | Joel Sherrill | 2015-04-17 | 1 | -16/+19 |
| | |||||
* | or1k-utility.h: Add missing end of C++ header pattern | Joel Sherrill | 2015-04-17 | 1 | -0/+4 |
| | | | | closes 2326. | ||||
* | score: Improve assert | Martin Galvan | 2015-04-17 | 1 | -1/+5 |
| | | | | | While cpu_self->thread_dispatch_disable_level shouldn't ever be zero, it would be better to check it before doing the decrement. | ||||
* | sptests/sp52: Reduce clock tick interval | Sebastian Huber | 2015-04-17 | 1 | -0/+2 |
| | | | | This helps on slow simulators. | ||||
* | Fix build for non-SPARC targets | Sebastian Huber | 2015-04-17 | 2 | -2/+15 |
| | |||||
* | sapi: Avoid declaration in source, fix type | Sebastian Huber | 2015-04-17 | 3 | -5/+5 |
| | |||||
* | score: Fix _TOD_Set_with_timestamp() | Sebastian Huber | 2015-04-17 | 2 | -19/+25 |
| | | | | | Update the current time before the watchdog adjust so that timer routines observe the new time. | ||||
* | LEON3: gptimer drvmgr init simplified wrt boot | Daniel Hellstrom | 2015-04-17 | 1 | -40/+6 |
| | |||||
* | LEON3: move timer variable to where initialized | Daniel Hellstrom | 2015-04-17 | 2 | -5/+2 |
| | |||||
* | LEON3: simplify amba initialization | Daniel Hellstrom | 2015-04-17 | 1 | -7/+2 |
| | |||||
* | LEON3: clock irq always same as timer instance | Daniel Hellstrom | 2015-04-17 | 1 | -10/+1 |
| | | | | | | The leon.h already contains the definition of LEON3_CLOCK_INDEX and irq must always follow that when separate IRQ is supported by the HW. The definitions are resued from leon.h. | ||||
* | DRVMGR: remove struct driver registration func | Daniel Hellstrom | 2015-04-17 | 5 | -123/+50 |
| | |||||
* | DRVMGR: clean-up DRV_OPS_NUM | Daniel Hellstrom | 2015-04-17 | 2 | -3/+4 |
| | |||||
* | DRVMGR: renamed RES_EMPTY to DRVMGR_RES_EMPTY | Daniel Hellstrom | 2015-04-17 | 4 | -4/+4 |
| | |||||
* | DRVMGR: KEY_TYPE now a enum drvmgr_kt | Daniel Hellstrom | 2015-04-17 | 27 | -101/+105 |
| | |||||
* | DRVMGR: renamed info_dev to get_info_dev | Daniel Hellstrom | 2015-04-17 | 4 | -6/+7 |
| | |||||
* | DRVMGR: change name of freq_get to get_freq | Daniel Hellstrom | 2015-04-17 | 4 | -7/+7 |
| | |||||
* | DRVMGR: renamed private drv_mgr and its struct name | Daniel Hellstrom | 2015-04-17 | 9 | -35/+35 |
| | |||||
* | DRVMGR: updated README | Daniel Hellstrom | 2015-04-17 | 1 | -3/+4 |
| |