summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken BSPs due to a shared cache function declaration.Hesham ALMatary2015-04-271-1/+0
| | | | | Get rid of _CPU_cache_invalidate_instruction_range declaration as it doesn't make sense here.
* dosfs: Fix warning fixSebastian Huber2015-04-271-1/+1
|
* Fix or1k C++ build failureHesham ALMatary2015-04-261-0/+7
| | | | Closes #2329
* posix: Use right thread dispatch disable functionSebastian Huber2015-04-241-1/+1
|
* score: Fix POSIX thread joinSebastian Huber2015-04-233-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 buffersJoel Sherrill2015-04-231-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 iostreamJoel Sherrill2015-04-234-0/+4
|
* gensh2-testsuite.tcfg: Add iostreamJoel Sherrill2015-04-231-0/+1
|
* gensh1-testsuite.tcfg: Add iostreamJoel Sherrill2015-04-231-0/+1
|
* mbx8xx/include/bsp.h: Add include of <rtems/irq.h>Joel Sherrill2015-04-231-0/+1
|
* ods68302-testsuite.tcfg: Add iosteamJoel Sherrill2015-04-231-0/+1
|
* mrm332-testsuite.tcfg: Add iostream and sptls02Joel Sherrill2015-04-231-0/+2
|
* mcf5225x-testsuite.tcfg: Add iostreamJoel Sherrill2015-04-231-0/+1
|
* lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add sptls02Joel Sherrill2015-04-231-0/+1
|
* lm3s3749-testsuite.tcfg: Add cdtestJoel Sherrill2015-04-232-0/+2
|
* score: Delete _Thread_queue_Dequeue_priority()Sebastian Huber2015-04-231-19/+0
|
* score: _CORE_mutex_Seize_interrupt_blocking()Sebastian Huber2015-04-232-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::stateSebastian Huber2015-04-2328-62/+65
| | | | | Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage.
* score: Fix priority message queue insertSebastian Huber2015-04-232-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 Huber2015-04-227-92/+14
| | | | | This function was identical to _Thread_queue_Timeout(). This makes _Thread_queue_Enqueue_with_handler() obsolete.
* score: Delete bogus THREAD_QUEUE_WAIT_FOREVERSebastian Huber2015-04-228-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 CPUsDaniel Cederman2015-04-221-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 lockSebastian Huber2015-04-216-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 Huber2015-04-2110-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 Huber2015-04-212-9/+11
| | | | | Return the current processor to be in line with _Thread_Disable_dispatch().
* score: _Objects_Get_isr_disable()Sebastian Huber2015-04-214-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 Huber2015-04-2111-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 Huber2015-04-203-2/+44
|
* score: Refactor SMP cache manager supportSebastian Huber2015-04-205-197/+224
|
* Rename or1ksim BSP to generic_or1kHesham ALMatary2015-04-1924-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 configurationJoel Sherrill2015-04-171-5/+26
|
* user/libpci.t: Make it build and clean upJoel Sherrill2015-04-171-16/+19
|
* or1k-utility.h: Add missing end of C++ header patternJoel Sherrill2015-04-171-0/+4
| | | | closes 2326.
* score: Improve assertMartin Galvan2015-04-171-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 intervalSebastian Huber2015-04-171-0/+2
| | | | This helps on slow simulators.
* Fix build for non-SPARC targetsSebastian Huber2015-04-172-2/+15
|
* sapi: Avoid declaration in source, fix typeSebastian Huber2015-04-173-5/+5
|
* score: Fix _TOD_Set_with_timestamp()Sebastian Huber2015-04-172-19/+25
| | | | | Update the current time before the watchdog adjust so that timer routines observe the new time.
* LEON3: gptimer drvmgr init simplified wrt bootDaniel Hellstrom2015-04-171-40/+6
|
* LEON3: move timer variable to where initializedDaniel Hellstrom2015-04-172-5/+2
|
* LEON3: simplify amba initializationDaniel Hellstrom2015-04-171-7/+2
|
* LEON3: clock irq always same as timer instanceDaniel Hellstrom2015-04-171-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 funcDaniel Hellstrom2015-04-175-123/+50
|
* DRVMGR: clean-up DRV_OPS_NUMDaniel Hellstrom2015-04-172-3/+4
|
* DRVMGR: renamed RES_EMPTY to DRVMGR_RES_EMPTYDaniel Hellstrom2015-04-174-4/+4
|
* DRVMGR: KEY_TYPE now a enum drvmgr_ktDaniel Hellstrom2015-04-1727-101/+105
|
* DRVMGR: renamed info_dev to get_info_devDaniel Hellstrom2015-04-174-6/+7
|
* DRVMGR: change name of freq_get to get_freqDaniel Hellstrom2015-04-174-7/+7
|
* DRVMGR: renamed private drv_mgr and its struct nameDaniel Hellstrom2015-04-179-35/+35
|
* DRVMGR: updated READMEDaniel Hellstrom2015-04-171-3/+4
|