From dd4f3da00e64d44917e3d209f5a31f4c9f9a3305 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 7 May 2014 14:38:02 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6922 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/ports/e200/compilers/GCC/ivor.s | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'os/rt/ports/e200') 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.*/ -- cgit v1.2.3