Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
bbc7f22f
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bbc7f22f
编写于
7月 12, 2005
作者:
R
Ralf Baechle
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Detect the 34K.
Signed-off-by:
N
Ralf Baechle
<
ralf@linux-mips.org
>
上级
079ef8bb
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
1 deletion
+10
-1
arch/mips/kernel/cpu-probe.c
arch/mips/kernel/cpu-probe.c
+5
-0
arch/mips/kernel/proc.c
arch/mips/kernel/proc.c
+1
-0
arch/mips/mm/tlbex.c
arch/mips/mm/tlbex.c
+1
-0
include/asm-mips/cpu.h
include/asm-mips/cpu.h
+3
-1
未找到文件。
arch/mips/kernel/cpu-probe.c
浏览文件 @
bbc7f22f
...
...
@@ -104,6 +104,7 @@ static inline void check_wait(void)
/* case CPU_20KC:*/
case
CPU_24K
:
case
CPU_25KF
:
case
CPU_34K
:
cpu_wait
=
r4k_wait
;
printk
(
" available.
\n
"
);
break
;
...
...
@@ -538,6 +539,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c)
/* Probe for L2 cache */
c
->
scache
.
flags
&=
~
MIPS_CACHE_NOT_PRESENT
;
break
;
case
PRID_IMP_34K
:
c
->
cputype
=
CPU_34K
;
c
->
isa_level
=
MIPS_CPU_ISA_M32
;
break
;
}
}
...
...
arch/mips/kernel/proc.c
浏览文件 @
bbc7f22f
...
...
@@ -72,6 +72,7 @@ static const char *cpu_name[] = {
[
CPU_20KC
]
=
"MIPS 20Kc"
,
[
CPU_24K
]
=
"MIPS 24K"
,
[
CPU_25KF
]
=
"MIPS 25Kf"
,
[
CPU_34K
]
=
"MIPS 34K"
,
[
CPU_VR4111
]
=
"NEC VR4111"
,
[
CPU_VR4121
]
=
"NEC VR4121"
,
[
CPU_VR4122
]
=
"NEC VR4122"
,
...
...
arch/mips/mm/tlbex.c
浏览文件 @
bbc7f22f
...
...
@@ -879,6 +879,7 @@ static __init void build_tlb_write_entry(u32 **p, struct label **l,
case
CPU_4KEC
:
case
CPU_24K
:
case
CPU_34K
:
i_ehb
(
p
);
tlbw
(
p
);
break
;
...
...
include/asm-mips/cpu.h
浏览文件 @
bbc7f22f
...
...
@@ -77,6 +77,7 @@
#define PRID_IMP_4KEMPR2 0x9100
#define PRID_IMP_4KSD 0x9200
#define PRID_IMP_24K 0x9300
#define PRID_IMP_34K 0x9500
#define PRID_IMP_24KE 0x9600
#define PRID_IMP_UNKNOWN 0xff00
...
...
@@ -185,7 +186,8 @@
#define CPU_AU1550 57
#define CPU_24K 58
#define CPU_AU1200 59
#define CPU_LAST 59
#define CPU_34K 60
#define CPU_LAST 60
/*
* ISA Level encodings
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录