You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
890 B
51 lines
890 B
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2012-2019. All rights reserved.
|
|
* Description: uapi_mdgb.h
|
|
*/
|
|
|
|
#ifndef __UAPI_MDBG_H__
|
|
#define __UAPI_MDBG_H__
|
|
|
|
#include "td_type.h"
|
|
|
|
#ifdef __cplusplus
|
|
#if __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#endif /* __cplusplus */
|
|
|
|
/*
|
|
* Debug模块初始化
|
|
* param[in] none
|
|
* retval TD_SUCCESS success.
|
|
*/
|
|
td_s32 uapi_mdbg_init(td_void);
|
|
|
|
/*
|
|
* Debug模块去初始化
|
|
* param[in] none
|
|
* retval TD_SUCCESS success.
|
|
*/
|
|
td_s32 uapi_mdbg_deinit(td_void);
|
|
|
|
/*
|
|
* 进入调试模式
|
|
* param[in] enable
|
|
* retval TD_SUCCESS success.
|
|
*/
|
|
td_s32 uapi_mdbg_enter_debug_mode(td_bool enable);
|
|
|
|
/*
|
|
* 获取调试模式
|
|
* param[out] enable
|
|
* retval TD_SUCCESS success.
|
|
*/
|
|
td_s32 uapi_mdbg_get_debug_mode(td_bool *enable);
|
|
|
|
#ifdef __cplusplus
|
|
#if __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* End of #ifndef __UAPI_MDBG_H__ */ |