From: AceVest Date: Fri, 27 Jul 2018 08:44:21 +0000 (+0800) Subject: ... X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=19f793762697103708450f65415d4c935a2164a8;p=acecode.git ... --- diff --git a/rtos/components/utils/debug.h b/rtos/components/utils/debug.h index 2abfbdc..13e1321 100644 --- a/rtos/components/utils/debug.h +++ b/rtos/components/utils/debug.h @@ -11,4 +11,7 @@ void debug(); -void asm_debug(); +// 在mac系统调用asm_debug会自动调用_asm_debug +// 在linux系统上会自动调用asm_debug +// 所以这里强制编译器生成的代码只能调用asm_debug +void asm_debug() asm("asm_debug");