git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7793 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
b35acec16a
commit
bd89c86c06
|
@ -88,12 +88,12 @@ _port_thread_start:
|
||||||
#if CH_DBG_STATISTICS
|
#if CH_DBG_STATISTICS
|
||||||
bl _stats_stop_measure_crit_thd
|
bl _stats_stop_measure_crit_thd
|
||||||
#endif
|
#endif
|
||||||
#if !CORTEX_SIMPLIFIED_PRIORITY
|
#if CORTEX_SIMPLIFIED_PRIORITY
|
||||||
movs r3, #0
|
|
||||||
msr BASEPRI, r3
|
|
||||||
#else /* CORTEX_SIMPLIFIED_PRIORITY */
|
|
||||||
cpsie i
|
cpsie i
|
||||||
#endif /* CORTEX_SIMPLIFIED_PRIORITY */
|
#else
|
||||||
|
movs r3, #0 /* CORTEX_BASEPRI_DISABLED */
|
||||||
|
msr BASEPRI, r3
|
||||||
|
#endif
|
||||||
mov r0, r5
|
mov r0, r5
|
||||||
blx r4
|
blx r4
|
||||||
bl chThdExit
|
bl chThdExit
|
||||||
|
|
|
@ -92,6 +92,9 @@ _port_switch:
|
||||||
_port_thread_start:
|
_port_thread_start:
|
||||||
#if CH_DBG_SYSTEM_STATE_CHECK
|
#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
|
#endif
|
||||||
cpsie i
|
cpsie i
|
||||||
mov r0, r5
|
mov r0, r5
|
||||||
|
|
|
@ -88,10 +88,13 @@ _port_thread_start:
|
||||||
#if CH_DBG_SYSTEM_STATE_CHECK
|
#if CH_DBG_SYSTEM_STATE_CHECK
|
||||||
bl _dbg_check_unlock
|
bl _dbg_check_unlock
|
||||||
#endif
|
#endif
|
||||||
|
#if CH_DBG_STATISTICS
|
||||||
|
bl _stats_stop_measure_crit_thd
|
||||||
|
#endif
|
||||||
#if CORTEX_SIMPLIFIED_PRIORITY
|
#if CORTEX_SIMPLIFIED_PRIORITY
|
||||||
cpsie i
|
cpsie i
|
||||||
#else
|
#else
|
||||||
movs r3, #CORTEX_BASEPRI_DISABLED
|
movs r3, #0 /* CORTEX_BASEPRI_DISABLED */
|
||||||
msr BASEPRI, r3
|
msr BASEPRI, r3
|
||||||
#endif
|
#endif
|
||||||
mov r0, r5
|
mov r0, r5
|
||||||
|
|
|
@ -88,6 +88,9 @@ _port_switch PROC
|
||||||
_port_thread_start PROC
|
_port_thread_start PROC
|
||||||
#if CH_DBG_SYSTEM_STATE_CHECK
|
#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
|
#endif
|
||||||
cpsie i
|
cpsie i
|
||||||
mov r0, r5
|
mov r0, r5
|
||||||
|
|
|
@ -84,6 +84,9 @@ _port_thread_start PROC
|
||||||
#if CH_DBG_SYSTEM_STATE_CHECK
|
#if CH_DBG_SYSTEM_STATE_CHECK
|
||||||
bl _dbg_check_unlock
|
bl _dbg_check_unlock
|
||||||
#endif
|
#endif
|
||||||
|
#if CH_DBG_STATISTICS
|
||||||
|
bl _stats_stop_measure_crit_thd
|
||||||
|
#endif
|
||||||
#if CORTEX_SIMPLIFIED_PRIORITY
|
#if CORTEX_SIMPLIFIED_PRIORITY
|
||||||
cpsie i
|
cpsie i
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue