summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/assert.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Rename _ISR_Disable() and _ISR_Enable()Sebastian Huber2016-05-201-12/+1
| | | | | | | | | Rename _ISR_Disable() into _ISR_Local_disable(). Rename _ISR_Enable() into _ISR_Local_enable(). Remove _Debug_Is_owner_of_giant(). This is a preparation to remove the Giant lock. Update #2555.
* score: Add and use RTEMS_UNREACHABLESebastian Huber2016-03-231-9/+0
|
* basedefs.h: Add and use RTEMS_NO_RETURNSebastian Huber2015-10-261-1/+1
|
* score: Add _SMP_Assert()Sebastian Huber2015-05-191-0/+9
|
* rtems/score/assert.h: Rework to allow use of NDEBUGJoel Sherrill2014-09-041-13/+43
|
* Minor conditionals to enable building Scheduler Simulator on GNU/LinuxJoel Sherrill2014-05-301-4/+22
| | | | | | | | | | | - rtems/score/assert.h: Scheduler Simulator uses glibc assert.h on GNU/Linux. This will likely need to be adjusted more for other host compilers and C libraries. Also disable _Assert_Not_reached() because some of these paths do actually return to the called on the Scheduler Simulator. - basedefs.h: Do not use noreturn attribute when on Scheduler Simulator. Paths which context switch can return to the command interpreter on the Scheduler Simulator.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* score: Add _Assert_Not_reached()Sebastian Huber2014-03-191-0/+5
|
* score: Add _Debug_Is_owner_of_allocator()Sebastian Huber2014-03-191-0/+8
|
* score: Delete _Assert_Owner_of_giant()Sebastian Huber2014-03-191-5/+7
| | | | | Add _Debug_Is_owner_of_giant(). This makes it possible to assert the opposite.
* score: Delete _Assert_Thread_dispatching_repressedSebastian Huber2014-03-191-5/+3
| | | | | | | | Add _Debug_Is_thread_dispatching_allowed(). This makes it possible to assert the opposite. Use _ISR_Disable_without_giant()/_ISR_Enable_without_giant() to avoid misleading secondary assertion failures.
* smp: Add and use _Assert_Owner_of_giant()Sebastian Huber2013-08-301-0/+9
| | | | | | | | | | | | | | Add and use _ISR_Disable_without_giant() and _ISR_Enable_without_giant() if RTEMS_SMP is defined. On single processor systems the ISR disable/enable was the big hammer which ensured system-wide mutual exclusion. On SMP configurations this no longer works since other processors do not care about disabled interrupts on this processor and continue to execute freely. On SMP in addition to ISR disable/enable an SMP lock must be used. Currently we have only the Giant lock so we can check easily that ISR disable/enable is used only in the right context.
* score: Add _Assert_Thread_dispatching_repressed()Sebastian Huber2013-07-301-0/+12
|
* score: New header file <rtems/score/assert.h>Sebastian Huber2013-07-301-0/+45