5 Star 0 Fork 4

src-openEuler/hikptool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0062-hikptool-The-ecam-register-is-added-to-the-PCIe-dump.patch 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
From 87b58805e41ccb47c313266e76219d9b0bb5f05e Mon Sep 17 00:00:00 2001
From: m30045533 <moubingquan@huawei.com>
Date: Mon, 20 May 2024 14:13:24 +0800
Subject: [PATCH] hikptool: The ecam register is added to the PCIe dumpreg.
The ecam register is added to facilitate fault locating.
Updated the tool version to 1.1.2.
Signed-off-by: m30045533 moubingquan@huawei.com
---
pcie/func_lib/pcie_func/pcie_reg_dump.c | 2 ++
tool_lib/tool_lib.h | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/pcie/func_lib/pcie_func/pcie_reg_dump.c b/pcie/func_lib/pcie_func/pcie_reg_dump.c
index b8c2241..535807c 100644
--- a/pcie/func_lib/pcie_func/pcie_reg_dump.c
+++ b/pcie/func_lib/pcie_func/pcie_reg_dump.c
@@ -144,6 +144,8 @@ struct pcie_dumpreg_info g_reg_table_pcs[] = {
};
struct pcie_dumpreg_info g_reg_table_iob_tx[] = {
+ {0, "IOB_TX_ECAM_CONTROL0"},
+ {0, "IOB_TX_ECAM_CONTROL1"},
{0, "IOB_TX_ECAM_BASE_ADDR_L"},
{0, "IOB_TX_ECAM_BASE_ADDR_H"},
{0, "IOB_TX_CXL_BASE_BUS_0"},
diff --git a/tool_lib/tool_lib.h b/tool_lib/tool_lib.h
index 72a99c6..644a08e 100644
--- a/tool_lib/tool_lib.h
+++ b/tool_lib/tool_lib.h
@@ -18,7 +18,7 @@
#define TOOL_NAME "hikptool"
-#define TOOL_VER "1.1.1"
+#define TOOL_VER "1.1.2"
#define HI_GET_BITFIELD(value, start, mask) (((value) >> (start)) & (mask))
#define HI_SET_FIELD(origin, shift, val) ((origin) |= (val) << (shift))
--
2.45.0.windows.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/hikptool.git
git@gitee.com:src-openeuler/hikptool.git
src-openeuler
hikptool
hikptool
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385