Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
okll00
rt-thread
提交
b6031497
R
rt-thread
项目概览
okll00
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b6031497
编写于
2月 26, 2020
作者:
B
bigmagic
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix execption printf err
上级
7335fd38
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
10 addition
and
10 deletion
+10
-10
libcpu/aarch64/cortex-a53/trap.c
libcpu/aarch64/cortex-a53/trap.c
+10
-10
未找到文件。
libcpu/aarch64/cortex-a53/trap.c
浏览文件 @
b6031497
...
...
@@ -26,16 +26,16 @@ extern long list_thread(void);
void
rt_hw_show_register
(
struct
rt_hw_exp_stack
*
regs
)
{
rt_kprintf
(
"Execption:
\n
"
);
rt_kprintf
(
"r00:0x%16.16l
lx r01:0x%16.16llx r02:0x%16.16llx r03:0x%16.16l
lx
\n
"
,
regs
->
x0
,
regs
->
x1
,
regs
->
x2
,
regs
->
x3
);
rt_kprintf
(
"r04:0x%16.16l
lx r05:0x%16.16llx r06:0x%16.16llx r07:0x%16.16l
lx
\n
"
,
regs
->
x4
,
regs
->
x5
,
regs
->
x6
,
regs
->
x7
);
rt_kprintf
(
"r08:0x%16.16l
lx r09:0x%16.16llx r10:0x%16.16llx r11:0x%16.16l
lx
\n
"
,
regs
->
x8
,
regs
->
x9
,
regs
->
x10
,
regs
->
x11
);
rt_kprintf
(
"r12:0x%16.16l
lx r13:0x%16.16llx r14:0x%16.16llx r15:0x%16.16l
lx
\n
"
,
regs
->
x12
,
regs
->
x13
,
regs
->
x14
,
regs
->
x15
);
rt_kprintf
(
"r16:0x%16.16l
lx r17:0x%16.16llx r18:0x%16.16llx r19:0x%16.16l
lx
\n
"
,
regs
->
x16
,
regs
->
x17
,
regs
->
x18
,
regs
->
x19
);
rt_kprintf
(
"r20:0x%16.16l
lx r21:0x%16.16llx r22:0x%16.16llx r23:0x%16.16l
lx
\n
"
,
regs
->
x20
,
regs
->
x21
,
regs
->
x22
,
regs
->
x23
);
rt_kprintf
(
"r24:0x%16.16l
lx r25:0x%16.16llx r26:0x%16.16llx r27:0x%16.16l
lx
\n
"
,
regs
->
x24
,
regs
->
x25
,
regs
->
x26
,
regs
->
x27
);
rt_kprintf
(
"r28:0x%16.16l
lx r29:0x%16.16llx r30:0x%16.16llx
"
,
regs
->
x28
,
regs
->
x29
,
regs
->
x30
);
rt_kprintf
(
"spsr:0x%16.16l
lx
"
,
regs
->
spsr
);
rt_kprintf
(
"return pc:0x%16.16l
lx
"
,
regs
->
pc
);
rt_kprintf
(
"r00:0x%16.16l
x r01:0x%16.16lx r02:0x%16.16lx r03:0x%16.16
lx
\n
"
,
regs
->
x0
,
regs
->
x1
,
regs
->
x2
,
regs
->
x3
);
rt_kprintf
(
"r04:0x%16.16l
x r05:0x%16.16lx r06:0x%16.16lx r07:0x%16.16
lx
\n
"
,
regs
->
x4
,
regs
->
x5
,
regs
->
x6
,
regs
->
x7
);
rt_kprintf
(
"r08:0x%16.16l
x r09:0x%16.16lx r10:0x%16.16lx r11:0x%16.16
lx
\n
"
,
regs
->
x8
,
regs
->
x9
,
regs
->
x10
,
regs
->
x11
);
rt_kprintf
(
"r12:0x%16.16l
x r13:0x%16.16lx r14:0x%16.16lx r15:0x%16.16
lx
\n
"
,
regs
->
x12
,
regs
->
x13
,
regs
->
x14
,
regs
->
x15
);
rt_kprintf
(
"r16:0x%16.16l
x r17:0x%16.16lx r18:0x%16.16lx r19:0x%16.16
lx
\n
"
,
regs
->
x16
,
regs
->
x17
,
regs
->
x18
,
regs
->
x19
);
rt_kprintf
(
"r20:0x%16.16l
x r21:0x%16.16lx r22:0x%16.16lx r23:0x%16.16
lx
\n
"
,
regs
->
x20
,
regs
->
x21
,
regs
->
x22
,
regs
->
x23
);
rt_kprintf
(
"r24:0x%16.16l
x r25:0x%16.16lx r26:0x%16.16lx r27:0x%16.16
lx
\n
"
,
regs
->
x24
,
regs
->
x25
,
regs
->
x26
,
regs
->
x27
);
rt_kprintf
(
"r28:0x%16.16l
x r29:0x%16.16lx r30:0x%16.16lx
\n
"
,
regs
->
x28
,
regs
->
x29
,
regs
->
x30
);
rt_kprintf
(
"spsr:0x%16.16l
x
\n
"
,
regs
->
spsr
);
rt_kprintf
(
"return pc:0x%16.16l
x
\n
"
,
regs
->
pc
);
}
/**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录