WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
zdiag_dfx.c 文件参考
#include "diag_dfx.h"
#include "soc_module.h"
#include "diag.h"
#include "soc_diag_cmd_id.h"
#include "errcode.h"
#include "soc_diag_util.h"
#include "soc_diag_msg_id.h"
zdiag_dfx.c 的引用(Include)关系图:

宏定义

#define THIS_FILE_ID   DIAG_FILE_ID_TEST_DIAG_D
 
#define THIS_MOD_ID   SOC_ID_BSP
 

枚举

enum  diag_dfx_cmd_case_id_t {
  DIAG_DFX_CMD_CASE_GET_STAT , DIAG_DFX_CMD_CASE_REPORT_MSG , DIAG_DFX_CMD_CASE_REPORT_FIX_MSG , DIAG_DFX_CMD_CASE_LAST_DUMP ,
  DIAG_DFX_CMD_CASE_SYS_MSG , DIAG_DFX_CMD_CASE_FAULT_MOCKED
}
 

函数

void dfx_last_dump_data (uint32_t dump_id, uintptr_t addr, uint32_t size)
 
zdiag_dfx_stat_tuapi_zdiag_get_dfx_stat (void)
 
STATIC errcode_t diag_dfx_report_sys_msg (uint16_t cmd_id, const void *cmd_param, uint16_t cmd_param_size, const diag_option_t *option)
 
STATIC errcode_t diag_dfx_last_dump (uint16_t cmd_id, void *cmd_param, uint16_t cmd_param_size, const diag_option_t *option)
 
STATIC errcode_t diag_dfx_cmd_get_stat (uint16_t cmd_id, const void *cmd_param, uint16_t cmd_param_size, diag_option_t *option)
 
STATIC errcode_t diag_dfx_cmd_report_msg (uint16_t cmd_id, const void *cmd_param, uint16_t cmd_param_size, diag_option_t *option)
 
STATIC errcode_t diag_dfx_cmd_report_fix_msg (uint16_t cmd_id, const void *cmd_param, uint16_t cmd_param_size, const diag_option_t *option)
 
STATIC errcode_t diag_dfx_cmd_fault_mocked (uint16_t cmd_id, void *cmd_param, uint16_t cmd_param_size, const diag_option_t *option)
 
errcode_t diag_dfx_cmd (uint16_t cmd_id, void *cmd_param, uint16_t cmd_param_size, diag_option_t *option)
 

变量

zdiag_dfx_stat_t g_zdiag_dfx_stat
 

宏定义说明

◆ THIS_FILE_ID

#define THIS_FILE_ID   DIAG_FILE_ID_TEST_DIAG_D

◆ THIS_MOD_ID

#define THIS_MOD_ID   SOC_ID_BSP

枚举类型说明

◆ diag_dfx_cmd_case_id_t

枚举值
DIAG_DFX_CMD_CASE_GET_STAT 
DIAG_DFX_CMD_CASE_REPORT_MSG 
DIAG_DFX_CMD_CASE_REPORT_FIX_MSG 
DIAG_DFX_CMD_CASE_LAST_DUMP 
DIAG_DFX_CMD_CASE_SYS_MSG 
DIAG_DFX_CMD_CASE_FAULT_MOCKED 

函数说明

◆ dfx_last_dump_data()

void dfx_last_dump_data ( uint32_t  dump_id,
uintptr_t  addr,
uint32_t  size 
)

◆ diag_dfx_cmd()

errcode_t diag_dfx_cmd ( uint16_t  cmd_id,
void *  cmd_param,
uint16_t  cmd_param_size,
diag_option_t option 
)

◆ diag_dfx_cmd_fault_mocked()

STATIC errcode_t diag_dfx_cmd_fault_mocked ( uint16_t  cmd_id,
void *  cmd_param,
uint16_t  cmd_param_size,
const diag_option_t option 
)

◆ diag_dfx_cmd_get_stat()

STATIC errcode_t diag_dfx_cmd_get_stat ( uint16_t  cmd_id,
const void *  cmd_param,
uint16_t  cmd_param_size,
diag_option_t option 
)

◆ diag_dfx_cmd_report_fix_msg()

STATIC errcode_t diag_dfx_cmd_report_fix_msg ( uint16_t  cmd_id,
const void *  cmd_param,
uint16_t  cmd_param_size,
const diag_option_t option 
)

◆ diag_dfx_cmd_report_msg()

STATIC errcode_t diag_dfx_cmd_report_msg ( uint16_t  cmd_id,
const void *  cmd_param,
uint16_t  cmd_param_size,
diag_option_t option 
)

◆ diag_dfx_last_dump()

STATIC errcode_t diag_dfx_last_dump ( uint16_t  cmd_id,
void *  cmd_param,
uint16_t  cmd_param_size,
const diag_option_t option 
)

◆ diag_dfx_report_sys_msg()

STATIC errcode_t diag_dfx_report_sys_msg ( uint16_t  cmd_id,
const void *  cmd_param,
uint16_t  cmd_param_size,
const diag_option_t option 
)

◆ uapi_zdiag_get_dfx_stat()

zdiag_dfx_stat_t * uapi_zdiag_get_dfx_stat ( void  )

变量说明

◆ g_zdiag_dfx_stat

zdiag_dfx_stat_t g_zdiag_dfx_stat