Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
f58d59f6
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f58d59f6
编写于
6月 23, 2011
作者:
D
Dave Martin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ARM: mm: proc-sa1100: Use the new processor struct macros
Signed-off-by:
N
Dave Martin
<
dave.martin@linaro.org
>
上级
5973ba58
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
17 addition
and
67 deletion
+17
-67
arch/arm/mm/proc-sa1100.S
arch/arm/mm/proc-sa1100.S
+17
-67
未找到文件。
arch/arm/mm/proc-sa1100.S
浏览文件 @
f58d59f6
...
@@ -235,60 +235,29 @@ sa1100_crval:
...
@@ -235,60 +235,29 @@ sa1100_crval:
__INITDATA
__INITDATA
/*
*
Purpose
:
Function
pointers
used
to
access
above
functions
-
all
calls
*
come
through
these
*/
/*
/*
*
SA1100
and
SA1110
share
the
same
function
calls
*
SA1100
and
SA1110
share
the
same
function
calls
*/
*/
.
type
sa1100_processor_functions
,
#
object
ENTRY
(
sa1100_processor_functions
)
.
word
v4_early_abort
.
word
legacy_pabort
.
word
cpu_sa1100_proc_init
.
word
cpu_sa1100_proc_fin
.
word
cpu_sa1100_reset
.
word
cpu_sa1100_do_idle
.
word
cpu_sa1100_dcache_clean_area
.
word
cpu_sa1100_switch_mm
.
word
cpu_sa1100_set_pte_ext
.
word
cpu_sa1100_suspend_size
.
word
cpu_sa1100_do_suspend
.
word
cpu_sa1100_do_resume
.
size
sa1100_processor_functions
,
.
-
sa1100_processor_functions
.
section
".rodata"
.
type
cpu_arch_name
,
#
object
cpu_arch_name
:
.
asciz
"armv4"
.
size
cpu_arch_name
,
.
-
cpu_arch_name
.
type
cpu_elf_name
,
#
object
@
define
struct
processor
(
see
<
asm
/
proc
-
fns
.
h
>
and
proc
-
macros
.
S
)
cpu_elf_name
:
define_processor_functions
sa1100
,
dabort
=
v4_early_abort
,
pabort
=
legacy_pabort
,
suspend
=
1
.
asciz
"v4"
.
size
cpu_elf_name
,
.
-
cpu_elf_name
.
type
cpu_sa1100_name
,
#
object
.
section
".rodata"
cpu_sa1100_name
:
.
asciz
"StrongARM-1100"
.
size
cpu_sa1100_name
,
.
-
cpu_sa1100_name
.
type
cpu_sa1110_name
,
#
object
string
cpu_arch_name
,
"armv4"
cpu_sa1110_name
:
string
cpu_elf_name
,
"v4"
.
asciz
"StrongARM-111
0"
string
cpu_sa1100_name
,
"StrongARM-110
0"
.
size
cpu_sa1110_name
,
.
-
cpu_sa1110_name
string
cpu_sa1110_name
,
"StrongARM-1110"
.
align
.
align
.
section
".proc.info.init"
,
#
alloc
,
#
execinstr
.
section
".proc.info.init"
,
#
alloc
,
#
execinstr
.
type
__sa1100_proc_info
,#
object
.
macro
sa1100_proc_info
name
:
req
,
cpu_val
:
req
,
cpu_mask
:
req
,
cpu_name
:
req
__sa1100_proc_info
:
.
type
__
\
name
\
()
_proc_info
,#
object
.
long
0x4401a110
__
\
name
\()
_proc_info
:
.
long
0xfffffff0
.
long
\
cpu_val
.
long
\
cpu_mask
.
long
PMD_TYPE_SECT
|
\
.
long
PMD_TYPE_SECT
|
\
PMD_SECT_BUFFERABLE
|
\
PMD_SECT_BUFFERABLE
|
\
PMD_SECT_CACHEABLE
|
\
PMD_SECT_CACHEABLE
|
\
...
@@ -301,32 +270,13 @@ __sa1100_proc_info:
...
@@ -301,32 +270,13 @@ __sa1100_proc_info:
.
long
cpu_arch_name
.
long
cpu_arch_name
.
long
cpu_elf_name
.
long
cpu_elf_name
.
long
HWCAP_SWP
| HWCAP_HALF |
HWCAP_26BIT
|
HWCAP_FAST_MULT
.
long
HWCAP_SWP
| HWCAP_HALF |
HWCAP_26BIT
|
HWCAP_FAST_MULT
.
long
cpu_sa1100
_name
.
long
\
cpu
_name
.
long
sa1100_processor_functions
.
long
sa1100_processor_functions
.
long
v4wb_tlb_fns
.
long
v4wb_tlb_fns
.
long
v4_mc_user_fns
.
long
v4_mc_user_fns
.
long
v4wb_cache_fns
.
long
v4wb_cache_fns
.
size
__sa1100_proc_info
,
.
-
__sa1100_proc_info
.
size
__
\
name
\
()
_proc_info
,
.
-
__
\
name
\
()
_proc_info
.
endm
.
type
__sa1110_proc_info
,#
object
sa1100_proc_info
sa1100
,
0x4401a110
,
0xfffffff0
,
cpu_sa1100_name
__sa1110_proc_info
:
sa1100_proc_info
sa1110
,
0x6901b110
,
0xfffffff0
,
cpu_sa1110_name
.
long
0x6901b110
.
long
0xfffffff0
.
long
PMD_TYPE_SECT
|
\
PMD_SECT_BUFFERABLE
|
\
PMD_SECT_CACHEABLE
|
\
PMD_SECT_AP_WRITE
|
\
PMD_SECT_AP_READ
.
long
PMD_TYPE_SECT
|
\
PMD_SECT_AP_WRITE
|
\
PMD_SECT_AP_READ
b
__sa1100_setup
.
long
cpu_arch_name
.
long
cpu_elf_name
.
long
HWCAP_SWP
| HWCAP_HALF |
HWCAP_26BIT
|
HWCAP_FAST_MULT
.
long
cpu_sa1110_name
.
long
sa1100_processor_functions
.
long
v4wb_tlb_fns
.
long
v4_mc_user_fns
.
long
v4wb_cache_fns
.
size
__sa1110_proc_info
,
.
-
__sa1110_proc_info
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录