Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gsplhtlxg
clone-Linux
提交
4690bdc7
C
clone-Linux
项目概览
gsplhtlxg
/
clone-Linux
通知
2
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
clone-Linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4690bdc7
编写于
11月 09, 2007
作者:
P
Paul Mundt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sh: Consolidate CPU features in Kconfig.cpu.
Signed-off-by:
N
Paul Mundt
<
lethal@linux-sh.org
>
上级
114f1329
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
104 addition
and
118 deletion
+104
-118
arch/sh/Kconfig.cpu
arch/sh/Kconfig.cpu
+102
-0
arch/sh/Kconfig.sh
arch/sh/Kconfig.sh
+1
-103
arch/sh/Kconfig.sh64
arch/sh/Kconfig.sh64
+1
-15
未找到文件。
arch/sh/Kconfig.cpu
0 → 100644
浏览文件 @
4690bdc7
menu "Processor features"
choice
prompt "Endianess selection"
default CPU_LITTLE_ENDIAN
help
Some SuperH machines can be configured for either little or big
endian byte order. These modes require different kernels.
config CPU_LITTLE_ENDIAN
bool "Little Endian"
config CPU_BIG_ENDIAN
bool "Big Endian"
endchoice
config SH_FPU
bool "FPU support"
depends on CPU_HAS_FPU
default y
help
Selecting this option will enable support for SH processors that
have FPU units (ie, SH77xx).
This option must be set in order to enable the FPU.
config SH_FPU_EMU
bool "FPU emulation support"
depends on !SH_FPU && EXPERIMENTAL
default n
help
Selecting this option will enable support for software FPU emulation.
Most SH-3 users will want to say Y here, whereas most SH-4 users will
want to say N.
config SH_DSP
bool "DSP support"
depends on CPU_HAS_DSP
default y
help
Selecting this option will enable support for SH processors that
have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP).
This option must be set in order to enable the DSP.
config SH_ADC
bool "ADC support"
depends on CPU_SH3
default y
help
Selecting this option will allow the Linux kernel to use SH3 on-chip
ADC module.
If unsure, say N.
config SH_STORE_QUEUES
bool "Support for Store Queues"
depends on CPU_SH4
help
Selecting this option will enable an in-kernel API for manipulating
the store queues integrated in the SH-4 processors.
config SPECULATIVE_EXECUTION
bool "Speculative subroutine return"
depends on CPU_SUBTYPE_SH7780 && EXPERIMENTAL
help
This enables support for a speculative instruction fetch for
subroutine return. There are various pitfalls associated with
this, as outlined in the SH7780 hardware manual.
If unsure, say N.
config CPU_HAS_INTEVT
bool
config CPU_HAS_MASKREG_IRQ
bool
config CPU_HAS_IPR_IRQ
bool
config CPU_HAS_SR_RB
bool
help
This will enable the use of SR.RB register bank usage. Processors
that are lacking this bit must have another method in place for
accomplishing what is taken care of by the banked registers.
See <file:Documentation/sh/register-banks.txt> for further
information on SR.RB and register banking in the kernel in general.
config CPU_HAS_PTEA
bool
config CPU_HAS_DSP
bool
config CPU_HAS_FPU
bool
endmenu
arch/sh/Kconfig.sh
浏览文件 @
4690bdc7
...
...
@@ -291,109 +291,7 @@ config CPU_SUBTYPE_SH7722
endchoice
source
"arch/sh/mm/Kconfig"
menu
"Processor features"
choice
prompt
"Endianess selection"
default CPU_LITTLE_ENDIAN
help
Some SuperH machines can be configured
for
either little or big
endian byte order. These modes require different kernels.
config CPU_LITTLE_ENDIAN
bool
"Little Endian"
config CPU_BIG_ENDIAN
bool
"Big Endian"
endchoice
config SH_FPU
bool
"FPU support"
depends on CPU_HAS_FPU
default y
help
Selecting this option will
enable
support
for
SH processors that
have FPU units
(
ie, SH77xx
)
.
This option must be
set
in
order to
enable
the FPU.
config SH_FPU_EMU
bool
"FPU emulation support"
depends on
!
SH_FPU
&&
EXPERIMENTAL
default n
help
Selecting this option will
enable
support
for
software FPU emulation.
Most SH-3
users
will want to say Y here, whereas most SH-4
users
will
want to say N.
config SH_DSP
bool
"DSP support"
depends on CPU_HAS_DSP
default y
help
Selecting this option will
enable
support
for
SH processors that
have DSP units
(
ie, SH2-DSP, SH3-DSP, and SH4AL-DSP
)
.
This option must be
set
in
order to
enable
the DSP.
config SH_ADC
bool
"ADC support"
depends on CPU_SH3
default y
help
Selecting this option will allow the Linux kernel to use SH3 on-chip
ADC module.
If unsure, say N.
config SH_STORE_QUEUES
bool
"Support for Store Queues"
depends on CPU_SH4
help
Selecting this option will
enable
an
in
-kernel
API
for
manipulating
the store queues integrated
in
the SH-4 processors.
config SPECULATIVE_EXECUTION
bool
"Speculative subroutine return"
depends on CPU_SUBTYPE_SH7780
&&
EXPERIMENTAL
help
This enables support
for
a speculative instruction fetch
for
subroutine
return
.
There are various pitfalls associated with
this, as outlined
in
the SH7780 hardware manual.
If unsure, say N.
config CPU_HAS_INTEVT
bool
config CPU_HAS_MASKREG_IRQ
bool
config CPU_HAS_IPR_IRQ
bool
config CPU_HAS_SR_RB
bool
help
This will
enable
the use of SR.RB register bank usage. Processors
that are lacking this bit must have another method
in
place
for
accomplishing what is taken care of by the banked registers.
See <file:Documentation/sh/register-banks.txt>
for
further
information on SR.RB and register banking
in
the kernel
in
general.
config CPU_HAS_PTEA
bool
config CPU_HAS_DSP
bool
config CPU_HAS_FPU
bool
endmenu
source
"arch/sh/Kconfig.cpu"
menu
"Board support"
...
...
arch/sh/Kconfig.sh64
浏览文件 @
4690bdc7
...
...
@@ -99,21 +99,7 @@ config CPU_SUBTYPE_SH5_103
endchoice
choice
prompt "Endianness"
default LITTLE_ENDIAN
config LITTLE_ENDIAN
bool "Little-Endian"
config BIG_ENDIAN
bool "Big-Endian"
endchoice
config SH_FPU
bool "FPU support"
default y
source "arch/sh/Kconfig.cpu"
config SH64_FPU_DENORM_FLUSH
depends on SH_FPU
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录