Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
qemu
提交
d88bbf95
Q
qemu
项目概览
openeuler
/
qemu
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Q
qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d88bbf95
编写于
6月 01, 2007
作者:
B
blueswir1
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Constification
git-svn-id:
svn://svn.savannah.nongnu.org/qemu/trunk@2916
c046a42c-6fe2-441c-8c8c-71466251a162
上级
97e7df27
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
7 addition
and
7 deletion
+7
-7
sparc-dis.c
sparc-dis.c
+7
-7
未找到文件。
sparc-dis.c
浏览文件 @
d88bbf95
...
...
@@ -2206,7 +2206,7 @@ sparc_decode_asi_v8 (int value)
/* Handle membar masks. */
static
arg
membar_table
[]
=
static
const
arg
membar_table
[]
=
{
{
0x40
,
"#Sync"
},
{
0x20
,
"#MemIssue"
},
...
...
@@ -2238,7 +2238,7 @@ sparc_decode_membar (value)
/* Handle prefetch args. */
static
arg
prefetch_table
[]
=
static
const
arg
prefetch_table
[]
=
{
{
0
,
"#n_reads"
},
{
1
,
"#one_read"
},
...
...
@@ -2269,7 +2269,7 @@ sparc_decode_prefetch (value)
/* Handle sparclet coprocessor registers. */
static
arg
sparclet_cpreg_table
[]
=
static
const
arg
sparclet_cpreg_table
[]
=
{
{
0
,
"%ccsr"
},
{
1
,
"%ccfr"
},
...
...
@@ -2320,7 +2320,7 @@ static const struct sparc_opcode **sorted_opcodes;
/* It is important that we only look at insn code bits as that is how the
opcode table is hashed. OPCODE_BITS is a table of valid bits for each
of the main types (0,1,2,3). */
static
int
opcode_bits
[
4
]
=
{
0x01c00000
,
0x0
,
0x01f80000
,
0x01f80000
};
static
const
int
opcode_bits
[
4
]
=
{
0x01c00000
,
0x0
,
0x01f80000
,
0x01f80000
};
#define HASH_INSN(INSN) \
((((INSN) >> 24) & 0xc0) | (((INSN) & opcode_bits[((INSN) >> 30) & 3]) >> 19))
struct
opcode_hash
{
...
...
@@ -2340,7 +2340,7 @@ static int compute_arch_mask PARAMS ((unsigned long));
((((int)(value)) << ((8 * sizeof (int)) - bits)) \
>> ((8 * sizeof (int)) - bits) )
static
char
*
reg_names
[]
=
static
const
char
*
const
reg_names
[]
=
{
"g0"
,
"g1"
,
"g2"
,
"g3"
,
"g4"
,
"g5"
,
"g6"
,
"g7"
,
"o0"
,
"o1"
,
"o2"
,
"o3"
,
"o4"
,
"o5"
,
"sp"
,
"o7"
,
"l0"
,
"l1"
,
"l2"
,
"l3"
,
"l4"
,
"l5"
,
"l6"
,
"l7"
,
...
...
@@ -2361,7 +2361,7 @@ static char *reg_names[] =
/* These are ordered according to there register number in
rdpr and wrpr insns. */
static
c
har
*
v9_priv_reg_names
[]
=
static
c
onst
char
*
const
v9_priv_reg_names
[]
=
{
"tpc"
,
"tnpc"
,
"tstate"
,
"tt"
,
"tick"
,
"tba"
,
"pstate"
,
"tl"
,
"pil"
,
"cwp"
,
"cansave"
,
"canrestore"
,
"cleanwin"
,
"otherwin"
,
...
...
@@ -2371,7 +2371,7 @@ static char *v9_priv_reg_names[] =
/* These are ordered according to there register number in
rd and wr insns (-16). */
static
c
har
*
v9a_asr_reg_names
[]
=
static
c
onst
char
*
const
v9a_asr_reg_names
[]
=
{
"pcr"
,
"pic"
,
"dcr"
,
"gsr"
,
"set_softint"
,
"clear_softint"
,
"softint"
,
"tick_cmpr"
,
"sys_tick"
,
"sys_tick_cmpr"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录