Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
449870b1
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看板
提交
449870b1
编写于
6月 23, 2011
作者:
D
Dave Martin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ARM: mm: proc-arm720: Use the new processor struct macros
Signed-off-by:
N
Dave Martin
<
dave.martin@linaro.org
>
上级
c3be06eb
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
17 addition
and
68 deletion
+17
-68
arch/arm/mm/proc-arm720.S
arch/arm/mm/proc-arm720.S
+17
-68
未找到文件。
arch/arm/mm/proc-arm720.S
浏览文件 @
449870b1
...
...
@@ -169,46 +169,15 @@ arm720_crval:
crval
clear
=
0x00002f3f
,
mmuset
=
0x0000213d
,
ucset
=
0x00000130
__INITDATA
/*
*
Purpose
:
Function
pointers
used
to
access
above
functions
-
all
calls
*
come
through
these
*/
.
type
arm720_processor_functions
,
#
object
ENTRY
(
arm720_processor_functions
)
.
word
v4t_late_abort
.
word
legacy_pabort
.
word
cpu_arm720_proc_init
.
word
cpu_arm720_proc_fin
.
word
cpu_arm720_reset
.
word
cpu_arm720_do_idle
.
word
cpu_arm720_dcache_clean_area
.
word
cpu_arm720_switch_mm
.
word
cpu_arm720_set_pte_ext
.
word
0
.
word
0
.
word
0
.
size
arm720_processor_functions
,
.
-
arm720_processor_functions
@
define
struct
processor
(
see
<
asm
/
proc
-
fns
.
h
>
and
proc
-
macros
.
S
)
define_processor_functions
arm720
,
dabort
=
v4t_late_abort
,
pabort
=
legacy_pabort
.
section
".rodata"
.
type
cpu_arch_name
,
#
object
cpu_arch_name
:
.
asciz
"armv4t"
.
size
cpu_arch_name
,
.
-
cpu_arch_name
.
type
cpu_elf_name
,
#
object
cpu_elf_name
:
.
asciz
"v4"
.
size
cpu_elf_name
,
.
-
cpu_elf_name
.
type
cpu_arm710_name
,
#
object
cpu_arm710_name
:
.
asciz
"ARM710T"
.
size
cpu_arm710_name
,
.
-
cpu_arm710_name
.
type
cpu_arm720_name
,
#
object
cpu_arm720_name
:
.
asciz
"ARM720T"
.
size
cpu_arm720_name
,
.
-
cpu_arm720_name
string
cpu_arch_name
,
"armv4t"
string
cpu_elf_name
,
"v4"
string
cpu_arm710_name
,
"ARM710T"
string
cpu_arm720_name
,
"ARM720T"
.
align
...
...
@@ -218,10 +187,11 @@ cpu_arm720_name:
.
section
".proc.info.init"
,
#
alloc
,
#
execinstr
.
type
__arm710_proc_info
,
#
object
__arm710_proc_info
:
.
long
0x41807100
@
cpu_val
.
long
0xffffff00
@
cpu_mask
.
macro
arm720_proc_info
name
:
req
,
cpu_val
:
req
,
cpu_mask
:
req
,
cpu_name
:
req
,
cpu_flush
:
req
.
type
__
\
name
\
()
_proc_info
,#
object
__
\
name
\()
_proc_info
:
.
long
\
cpu_val
.
long
\
cpu_mask
.
long
PMD_TYPE_SECT
|
\
PMD_SECT_BUFFERABLE
|
\
PMD_SECT_CACHEABLE
|
\
...
...
@@ -232,38 +202,17 @@ __arm710_proc_info:
PMD_BIT4
|
\
PMD_SECT_AP_WRITE
|
\
PMD_SECT_AP_READ
b
__arm710_setup
@
cpu_flush
b
\
cpu_flush
@
cpu_flush
.
long
cpu_arch_name
@
arch_name
.
long
cpu_elf_name
@
elf_name
.
long
HWCAP_SWP
| HWCAP_HALF |
HWCAP_THUMB
@
elf_hwcap
.
long
cpu_arm710_name
@
name
.
long
\
cpu_
name
.
long
arm720_processor_functions
.
long
v4_tlb_fns
.
long
v4wt_user_fns
.
long
v4_cache_fns
.
size
__arm710_proc_info
,
.
-
__arm710_proc_info
.
size
__
\
name
\
()
_proc_info
,
.
-
__
\
name
\
()
_proc_info
.
endm
.
type
__arm720_proc_info
,
#
object
__arm720_proc_info
:
.
long
0x41807200
@
cpu_val
.
long
0xffffff00
@
cpu_mask
.
long
PMD_TYPE_SECT
|
\
PMD_SECT_BUFFERABLE
|
\
PMD_SECT_CACHEABLE
|
\
PMD_BIT4
|
\
PMD_SECT_AP_WRITE
|
\
PMD_SECT_AP_READ
.
long
PMD_TYPE_SECT
|
\
PMD_BIT4
|
\
PMD_SECT_AP_WRITE
|
\
PMD_SECT_AP_READ
b
__arm720_setup
@
cpu_flush
.
long
cpu_arch_name
@
arch_name
.
long
cpu_elf_name
@
elf_name
.
long
HWCAP_SWP
| HWCAP_HALF |
HWCAP_THUMB
@
elf_hwcap
.
long
cpu_arm720_name
@
name
.
long
arm720_processor_functions
.
long
v4_tlb_fns
.
long
v4wt_user_fns
.
long
v4_cache_fns
.
size
__arm720_proc_info
,
.
-
__arm720_proc_info
arm720_proc_info
arm710
,
0x41807100
,
0xffffff00
,
cpu_arm710_name
,
__arm710_setup
arm720_proc_info
arm720
,
0x41807200
,
0xffffff00
,
cpu_arm720_name
,
__arm720_setup
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录