aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/ports/e200
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-07 14:38:02 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-07 14:38:02 +0000
commitdd4f3da00e64d44917e3d209f5a31f4c9f9a3305 (patch)
treeec506520677fc3b46ff3a6370708016f0e2f799f /os/rt/ports/e200
parentb4ebba0b50073bd615b8d2dfbb2168a6c3b34285 (diff)
downloadChibiOS-dd4f3da00e64d44917e3d209f5a31f4c9f9a3305.tar.gz
ChibiOS-dd4f3da00e64d44917e3d209f5a31f4c9f9a3305.tar.bz2
ChibiOS-dd4f3da00e64d44917e3d209f5a31f4c9f9a3305.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6922 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/ports/e200')
-rw-r--r--os/rt/ports/e200/compilers/GCC/ivor.s18
1 files changed, 12 insertions, 6 deletions
diff --git a/os/rt/ports/e200/compilers/GCC/ivor.s b/os/rt/ports/e200/compilers/GCC/ivor.s
index ae478b49f..46961816c 100644
--- a/os/rt/ports/e200/compilers/GCC/ivor.s
+++ b/os/rt/ports/e200/compilers/GCC/ivor.s
@@ -105,14 +105,14 @@ _IVOR10:
#endif
#if CH_DBG_SYSTEM_STATE_CHECK
- bl dbg_check_enter_isr
- bl dbg_check_lock_from_isr
+ bl _dbg_check_enter_isr
+ bl _dbg_check_lock_from_isr
#endif
/* System tick handler invocation.*/
bl chSysTimerHandlerI
#if CH_DBG_SYSTEM_STATE_CHECK
- bl dbg_check_unlock_from_isr
- bl dbg_check_leave_isr
+ bl _dbg_check_unlock_from_isr
+ bl _dbg_check_leave_isr
#endif
#if PPC_USE_IRQ_PREEMPTION
@@ -202,8 +202,11 @@ _ivor_exit:
eaddi %r0, %r0, -1
mtspr 272, %r0
+#if CH_DBG_STATISTICS
+ bl _stats_start_measure_crit_thd
+#endif
#if CH_DBG_SYSTEM_STATE_CHECK
- bl dbg_check_lock
+ bl _dbg_check_lock
#endif
bl chSchIsPreemptionRequired
cmpli cr0, %r3, 0
@@ -211,7 +214,10 @@ _ivor_exit:
bl chSchDoReschedule
.noresch:
#if CH_DBG_SYSTEM_STATE_CHECK
- bl dbg_check_unlock
+ bl _dbg_check_unlock
+#endif
+#if CH_DBG_STATISTICS
+ bl _stats_stop_measure_crit_thd
#endif
/* Restoring the external context.*/