WS63 SDK 文档
7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
arch_trace.h
浏览该文件的文档.
1
/*
2
* Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2021-2021. All rights reserved.
3
* Description: ARCH cpu trace interface for project
4
*
5
* Create: 2021-10-25
6
*/
7
#ifndef ARCH_TRACE_H
8
#define ARCH_TRACE_H
9
10
#include <stdint.h>
11
#include "
platform_core.h
"
12
#ifdef SUPPORT_CPU_TRACE
13
#include "cpu_trace.h"
14
#endif
15
#ifdef __cplusplus
16
#if __cplusplus
17
extern
"C"
{
18
#endif
/* __cplusplus */
19
#endif
/* __cplusplus */
20
21
#define RISCV_TRACE_MEM_REGION_START TRACE_MEM_REGION_START
22
#define RISCV_TRACE_MEM_REGION_LENGTH TRACE_MEM_REGION_LENGTH
23
24
#ifdef SUPPORT_CPU_TRACE
25
typedef
cpu_trace_item_t riscv_cpu_trace_item_t;
26
#endif
27
31
static
inline
void
riscv_cpu_trace_disable(
void
)
32
{
33
#ifdef SUPPORT_CPU_TRACE
34
cpu_trace_disable();
35
#endif
36
}
37
38
#ifdef __cplusplus
39
#if __cplusplus
40
}
41
#endif
/* __cplusplus */
42
#endif
/* __cplusplus */
43
44
#endif
platform_core.h
src
drivers
chips
ws63
porting
arch
riscv
arch_trace.h
由
William Goodspeed
维护 | E-mail: gongzl@stu.hebust.edu.cn | Wechat: a23333344 | ALSO CHECKOUT
WS63FLASH
!
生成于 2025年 一月 4日 星期六 17:47:12 , 为 WS63 SDK 文档使用
1.9.8