Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
bef9ae3d
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
bef9ae3d
编写于
12月 28, 2012
作者:
R
Ralf Baechle
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
MIPS: Switch remaining assembler PAGE_SIZE users to <asm/asm-offsets.h>.
Signed-off-by:
N
Ralf Baechle
<
ralf@linux-mips.org
>
上级
20082595
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
6 addition
and
8 deletion
+6
-8
arch/mips/kernel/genex.S
arch/mips/kernel/genex.S
+2
-3
arch/mips/kernel/relocate_kernel.S
arch/mips/kernel/relocate_kernel.S
+1
-2
arch/mips/kernel/vmlinux.lds.S
arch/mips/kernel/vmlinux.lds.S
+2
-1
arch/mips/power/hibernate.S
arch/mips/power/hibernate.S
+1
-2
未找到文件。
arch/mips/kernel/genex.S
浏览文件 @
bef9ae3d
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
#include <asm/mipsregs.h>
#include <asm/mipsregs.h>
#include <asm/stackframe.h>
#include <asm/stackframe.h>
#include <asm/war.h>
#include <asm/war.h>
#include <asm/page.h>
#include <asm/thread_info.h>
#include <asm/thread_info.h>
#define PANIC_PIC(msg) \
#define PANIC_PIC(msg) \
...
@@ -483,8 +482,8 @@ NESTED(nmi_handler, PT_SIZE, sp)
...
@@ -483,8 +482,8 @@ NESTED(nmi_handler, PT_SIZE, sp)
MFC0
k1
,
CP0_ENTRYHI
MFC0
k1
,
CP0_ENTRYHI
andi
k1
,
0xff
/*
ASID_MASK
*/
andi
k1
,
0xff
/*
ASID_MASK
*/
MFC0
k0
,
CP0_EPC
MFC0
k0
,
CP0_EPC
PTR_SRL
k0
,
PAGE_SHIFT
+
1
PTR_SRL
k0
,
_
PAGE_SHIFT
+
1
PTR_SLL
k0
,
PAGE_SHIFT
+
1
PTR_SLL
k0
,
_
PAGE_SHIFT
+
1
or
k1
,
k0
or
k1
,
k0
MTC0
k1
,
CP0_ENTRYHI
MTC0
k1
,
CP0_ENTRYHI
mtc0_tlbw_hazard
mtc0_tlbw_hazard
...
...
arch/mips/kernel/relocate_kernel.S
浏览文件 @
bef9ae3d
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
#include <asm/asm.h>
#include <asm/asm.h>
#include <asm/asmmacro.h>
#include <asm/asmmacro.h>
#include <asm/regdef.h>
#include <asm/regdef.h>
#include <asm/page.h>
#include <asm/mipsregs.h>
#include <asm/mipsregs.h>
#include <asm/stackframe.h>
#include <asm/stackframe.h>
#include <asm/addrspace.h>
#include <asm/addrspace.h>
...
@@ -50,7 +49,7 @@ process_entry:
...
@@ -50,7 +49,7 @@ process_entry:
and
s3
,
s2
,
0x8
and
s3
,
s2
,
0x8
beq
s3
,
zero
,
process_entry
beq
s3
,
zero
,
process_entry
and
s2
,
s2
,
~
0x8
and
s2
,
s2
,
~
0x8
li
s6
,
(
1
<<
PAGE_SHIFT
)
/
SZREG
li
s6
,
(
1
<<
_
PAGE_SHIFT
)
/
SZREG
copy_word
:
copy_word
:
/
*
copy
page
word
by
word
*/
/
*
copy
page
word
by
word
*/
...
...
arch/mips/kernel/vmlinux.lds.S
浏览文件 @
bef9ae3d
#include <asm/asm-offsets.h>
#include <asm/asm-offsets.h>
#include <asm/page.h>
#include <asm/thread_info.h>
#include <asm/thread_info.h>
#define PAGE_SIZE _PAGE_SIZE
/*
/*
*
Put
.
bss
..
swapper_pg_dir
as
the
first
thing
in
.
bss
.
This
will
*
Put
.
bss
..
swapper_pg_dir
as
the
first
thing
in
.
bss
.
This
will
*
ensure
that
it
has
.
bss
alignment
(
64
K
)
.
*
ensure
that
it
has
.
bss
alignment
(
64
K
)
.
...
...
arch/mips/power/hibernate.S
浏览文件 @
bef9ae3d
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
*
Wu
Zhangjin
<
wuzhangjin
@
gmail
.
com
>
*
Wu
Zhangjin
<
wuzhangjin
@
gmail
.
com
>
*/
*/
#include <asm/asm-offsets.h>
#include <asm/asm-offsets.h>
#include <asm/page.h>
#include <asm/regdef.h>
#include <asm/regdef.h>
#include <asm/asm.h>
#include <asm/asm.h>
...
@@ -35,7 +34,7 @@ LEAF(swsusp_arch_resume)
...
@@ -35,7 +34,7 @@ LEAF(swsusp_arch_resume)
0
:
0
:
PTR_L
t1
,
PBE_ADDRESS
(
t0
)
/*
source
*/
PTR_L
t1
,
PBE_ADDRESS
(
t0
)
/*
source
*/
PTR_L
t2
,
PBE_ORIG_ADDRESS
(
t0
)
/*
destination
*/
PTR_L
t2
,
PBE_ORIG_ADDRESS
(
t0
)
/*
destination
*/
PTR_ADDU
t3
,
t1
,
PAGE_SIZE
PTR_ADDU
t3
,
t1
,
_
PAGE_SIZE
1
:
1
:
REG_L
t8
,
(
t1
)
REG_L
t8
,
(
t1
)
REG_S
t8
,
(
t2
)
REG_S
t8
,
(
t2
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录