WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
osal_debug

函数

void osal_printk (const char *fmt,...)
 Log printing function.
 
void osal_panic (const char *fmt, const char *fun, int line, const char *cond)
 Kernel panic function.
 
void osal_dump_stack (void)
 Kernel backtrace function.
 
void osal_bug_on (unsigned char condition)
 Kernel panic function.
 
void osal_flush_cache (void)
 Kernel dcache flush function.
 

详细描述

函数说明

◆ osal_bug_on()

void osal_bug_on ( unsigned char  condition)

Kernel panic function.

Description:
If the condition is true, the system panics.
Support System:
nonos.

◆ osal_dump_stack()

void osal_dump_stack ( void  )

Kernel backtrace function.

Description:
Backtrace function that prints task call stack information traced from the running task.
Support System:
linux liteos.

◆ osal_flush_cache()

void osal_flush_cache ( void  )

Kernel dcache flush function.

Description:
Flush cpu dcache
Support System:
liteos.

◆ osal_panic()

void osal_panic ( const char *  fmt,
const char *  fun,
int  line,
const char *  cond 
)

Kernel panic function.

Description:
Stack function that prints kernel panics. After this function is called and stack information is printed, the system will fail to respond.
Support System:
linux liteos.

◆ osal_printk()

void osal_printk ( const char *  fmt,
  ... 
)

Log printing function.

Support System:
linux liteos seliteos freertos.