Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
bug2833
cloud-kernel
提交
6dec3cf5
cloud-kernel
项目概览
bug2833
/
cloud-kernel
与 Fork 源项目一致
Fork自
openanolis / cloud-kernel
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6dec3cf5
编写于
9月 29, 2005
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
上级
82810a90
705747ab
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
22 addition
and
10 deletion
+22
-10
arch/sparc64/kernel/cpu.c
arch/sparc64/kernel/cpu.c
+4
-0
arch/sparc64/kernel/unaligned.c
arch/sparc64/kernel/unaligned.c
+5
-5
arch/sparc64/kernel/us3_cpufreq.c
arch/sparc64/kernel/us3_cpufreq.c
+4
-1
include/asm-sparc64/head.h
include/asm-sparc64/head.h
+6
-3
include/asm-sparc64/pgtable.h
include/asm-sparc64/pgtable.h
+3
-1
未找到文件。
arch/sparc64/kernel/cpu.c
浏览文件 @
6dec3cf5
...
...
@@ -39,6 +39,8 @@ struct cpu_fp_info linux_sparc_fpu[] = {
{
0x3e
,
0x15
,
0
,
"UltraSparc III+ integrated FPU"
},
{
0x3e
,
0x16
,
0
,
"UltraSparc IIIi integrated FPU"
},
{
0x3e
,
0x18
,
0
,
"UltraSparc IV integrated FPU"
},
{
0x3e
,
0x19
,
0
,
"UltraSparc IV+ integrated FPU"
},
{
0x3e
,
0x22
,
0
,
"UltraSparc IIIi+ integrated FPU"
},
};
#define NSPARCFPU (sizeof(linux_sparc_fpu)/sizeof(struct cpu_fp_info))
...
...
@@ -53,6 +55,8 @@ struct cpu_iu_info linux_sparc_chips[] = {
{
0x3e
,
0x15
,
"TI UltraSparc III+ (Cheetah+)"
},
{
0x3e
,
0x16
,
"TI UltraSparc IIIi (Jalapeno)"
},
{
0x3e
,
0x18
,
"TI UltraSparc IV (Jaguar)"
},
{
0x3e
,
0x19
,
"TI UltraSparc IV+ (Panther)"
},
{
0x3e
,
0x22
,
"TI UltraSparc IIIi+ (Serrano)"
},
};
#define NSPARCCHIPS (sizeof(linux_sparc_chips)/sizeof(struct cpu_iu_info))
...
...
arch/sparc64/kernel/unaligned.c
浏览文件 @
6dec3cf5
...
...
@@ -294,7 +294,7 @@ asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn, u
kernel_mna_trap_fault
();
}
else
{
unsigned
long
addr
;
unsigned
long
addr
,
*
reg_addr
;
int
orig_asi
,
asi
;
addr
=
compute_effective_address
(
regs
,
insn
,
...
...
@@ -319,11 +319,11 @@ asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn, u
};
switch
(
dir
)
{
case
load
:
do_int_load
(
fetch_reg_addr
(((
insn
>>
25
)
&
0x1f
),
regs
),
size
,
(
unsigned
long
*
)
addr
,
reg_addr
=
fetch_reg_addr
(((
insn
>>
25
)
&
0x1f
),
regs
);
do_int_load
(
reg_addr
,
size
,
(
unsigned
long
*
)
addr
,
decode_signedness
(
insn
),
asi
);
if
(
unlikely
(
asi
!=
orig_asi
))
{
unsigned
long
val_in
=
*
(
unsigned
long
*
)
addr
;
unsigned
long
val_in
=
*
reg_
addr
;
switch
(
size
)
{
case
2
:
val_in
=
swab16
(
val_in
);
...
...
@@ -339,7 +339,7 @@ asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn, u
BUG
();
break
;
};
*
(
unsigned
long
*
)
addr
=
val_in
;
*
reg_
addr
=
val_in
;
}
break
;
...
...
arch/sparc64/kernel/us3_cpufreq.c
浏览文件 @
6dec3cf5
...
...
@@ -208,7 +208,10 @@ static int __init us3_freq_init(void)
impl
=
((
ver
>>
32
)
&
0xffff
);
if
(
manuf
==
CHEETAH_MANUF
&&
(
impl
==
CHEETAH_IMPL
||
impl
==
CHEETAH_PLUS_IMPL
))
{
(
impl
==
CHEETAH_IMPL
||
impl
==
CHEETAH_PLUS_IMPL
||
impl
==
JAGUAR_IMPL
||
impl
==
PANTHER_IMPL
))
{
struct
cpufreq_driver
*
driver
;
ret
=
-
ENOMEM
;
...
...
include/asm-sparc64/head.h
浏览文件 @
6dec3cf5
...
...
@@ -12,9 +12,12 @@
#define __JALAPENO_ID 0x003e0016
#define CHEETAH_MANUF 0x003e
#define CHEETAH_IMPL 0x0014
#define CHEETAH_PLUS_IMPL 0x0015
#define JALAPENO_IMPL 0x0016
#define CHEETAH_IMPL 0x0014
/* Ultra-III */
#define CHEETAH_PLUS_IMPL 0x0015
/* Ultra-III+ */
#define JALAPENO_IMPL 0x0016
/* Ultra-IIIi */
#define JAGUAR_IMPL 0x0018
/* Ultra-IV */
#define PANTHER_IMPL 0x0019
/* Ultra-IV+ */
#define SERRANO_IMPL 0x0022
/* Ultra-IIIi+ */
#define BRANCH_IF_CHEETAH_BASE(tmp1,tmp2,label) \
rdpr %ver, %tmp1; \
...
...
include/asm-sparc64/pgtable.h
浏览文件 @
6dec3cf5
...
...
@@ -98,7 +98,9 @@
#define _PAGE_NFO _AC(0x1000000000000000,UL)
/* No Fault Only */
#define _PAGE_IE _AC(0x0800000000000000,UL)
/* Invert Endianness */
#define _PAGE_SOFT2 _AC(0x07FC000000000000,UL)
/* Software bits, set 2 */
#define _PAGE_RES1 _AC(0x0003000000000000,UL)
/* Reserved */
#define _PAGE_RES1 _AC(0x0002000000000000,UL)
/* Reserved */
#define _PAGE_SZ32MB _AC(0x0001000000000000,UL)
/* (Panther) 32MB page */
#define _PAGE_SZ256MB _AC(0x2001000000000000,UL)
/* (Panther) 256MB page */
#define _PAGE_SN _AC(0x0000800000000000,UL)
/* (Cheetah) Snoop */
#define _PAGE_RES2 _AC(0x0000780000000000,UL)
/* Reserved */
#define _PAGE_PADDR_SF _AC(0x000001FFFFFFE000,UL)
/* (Spitfire) paddr[40:13]*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录