Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
bdd3ede0
Commit
bdd3ede0
authored
Aug 10, 2007
by
Ralf Baechle
Committed by
Ralf Baechle
Aug 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] MT: Use kallsyms in CPU state dump
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
153ef95e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
arch/mips/kernel/mips-mt.c
arch/mips/kernel/mips-mt.c
+5
-2
No files found.
arch/mips/kernel/mips-mt.c
View file @
bdd3ede0
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
*/
*/
#include <linux/device.h>
#include <linux/device.h>
#include <linux/kallsyms.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/module.h>
...
@@ -84,8 +85,9 @@ void mips_mt_regdump(unsigned long mvpctl)
...
@@ -84,8 +85,9 @@ void mips_mt_regdump(unsigned long mvpctl)
read_vpe_c0_vpeconf0
());
read_vpe_c0_vpeconf0
());
printk
(
" VPE%d.Status : %08lx
\n
"
,
printk
(
" VPE%d.Status : %08lx
\n
"
,
i
,
read_vpe_c0_status
());
i
,
read_vpe_c0_status
());
printk
(
" VPE%d.EPC : %08lx
\n
"
,
printk
(
" VPE%d.EPC : %08lx
"
,
i
,
read_vpe_c0_epc
());
i
,
read_vpe_c0_epc
());
print_symbol
(
"%s
\n
"
,
read_vpe_c0_epc
());
printk
(
" VPE%d.Cause : %08lx
\n
"
,
printk
(
" VPE%d.Cause : %08lx
\n
"
,
i
,
read_vpe_c0_cause
());
i
,
read_vpe_c0_cause
());
printk
(
" VPE%d.Config7 : %08lx
\n
"
,
printk
(
" VPE%d.Config7 : %08lx
\n
"
,
...
@@ -110,7 +112,8 @@ void mips_mt_regdump(unsigned long mvpctl)
...
@@ -110,7 +112,8 @@ void mips_mt_regdump(unsigned long mvpctl)
}
}
printk
(
" TCStatus : %08lx
\n
"
,
tcstatval
);
printk
(
" TCStatus : %08lx
\n
"
,
tcstatval
);
printk
(
" TCBind : %08lx
\n
"
,
read_tc_c0_tcbind
());
printk
(
" TCBind : %08lx
\n
"
,
read_tc_c0_tcbind
());
printk
(
" TCRestart : %08lx
\n
"
,
read_tc_c0_tcrestart
());
printk
(
" TCRestart : %08lx "
,
read_tc_c0_tcrestart
());
print_symbol
(
"%s
\n
"
,
read_tc_c0_tcrestart
());
printk
(
" TCHalt : %08lx
\n
"
,
haltval
);
printk
(
" TCHalt : %08lx
\n
"
,
haltval
);
printk
(
" TCContext : %08lx
\n
"
,
read_tc_c0_tccontext
());
printk
(
" TCContext : %08lx
\n
"
,
read_tc_c0_tccontext
());
if
(
!
haltval
)
if
(
!
haltval
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment