git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1123 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2009-08-29 08:19:23 +00:00
parent 1421a2fd6c
commit 95b19d5c19
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ struct context {
if (sp - sizeof(struct intctx) - sizeof(Thread) < (char *)_otp) \ if (sp - sizeof(struct intctx) - sizeof(Thread) < (char *)_otp) \
asm volatile ("movs r0, #0 \n\t" \ asm volatile ("movs r0, #0 \n\t" \
"b chDbgPanic"); \ "b chDbgPanic"); \
asm volatile ("svc #0" : : "r" (_otp), "r" (_ntp) : "memory"); \ asm volatile ("svc #0" : : "r" (_otp), "r" (_ntp) : "memory"); \
} }
#else /* !CH_DBG_ENABLE_STACK_CHECK */ #else /* !CH_DBG_ENABLE_STACK_CHECK */
#define port_switch(otp, ntp) { \ #define port_switch(otp, ntp) { \