Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
f7a7b153
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 大约 4 年
通知
14
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看板
提交
f7a7b153
编写于
11月 10, 2007
作者:
P
Paul Mundt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sh: Move in the SH-5 signal trampoline impl.
Signed-off-by:
N
Paul Mundt
<
lethal@linux-sh.org
>
上级
76168c21
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
22 addition
and
5 deletion
+22
-5
arch/sh/kernel/Makefile_32
arch/sh/kernel/Makefile_32
+1
-1
arch/sh/kernel/Makefile_64
arch/sh/kernel/Makefile_64
+1
-1
arch/sh/kernel/signal_32.c
arch/sh/kernel/signal_32.c
+0
-0
arch/sh/kernel/signal_64.c
arch/sh/kernel/signal_64.c
+7
-3
include/asm-sh/sigcontext.h
include/asm-sh/sigcontext.h
+13
-0
未找到文件。
arch/sh/kernel/Makefile_32
浏览文件 @
f7a7b153
...
...
@@ -5,7 +5,7 @@
extra-y := head.o init_task.o vmlinux.lds
obj-y := debugtraps.o io.o io_generic.o irq.o machvec.o process_32.o \
ptrace_32.o semaphore.o setup.o signal.o sys_sh.o syscalls.o \
ptrace_32.o semaphore.o setup.o signal
_32
.o sys_sh.o syscalls.o \
time.o topology.o traps.o
obj-y += cpu/ timers/
...
...
arch/sh/kernel/Makefile_64
浏览文件 @
f7a7b153
extra-y := head.o init_task.o vmlinux.lds
obj-y := debugtraps.o io.o io_generic.o irq.o machvec.o process_64.o \
ptrace_64.o semaphore.o setup.o signal.o sys_sh.o syscalls.o \
ptrace_64.o semaphore.o setup.o signal
_64
.o sys_sh.o syscalls.o \
time.o topology.o traps.o
obj-y += cpu/ timers/
...
...
arch/sh/kernel/signal.c
→
arch/sh/kernel/signal
_32
.c
浏览文件 @
f7a7b153
文件已移动
arch/sh
64/kernel/signal
.c
→
arch/sh
/kernel/signal_64
.c
浏览文件 @
f7a7b153
...
...
@@ -28,7 +28,7 @@
#include <asm/ucontext.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/cacheflush.h>
#define REG_RET 9
#define REG_ARG1 2
...
...
@@ -227,10 +227,14 @@ setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc)
#else
static
inline
int
restore_sigcontext_fpu
(
struct
pt_regs
*
regs
,
struct
sigcontext
__user
*
sc
)
{}
{
return
0
;
}
static
inline
int
setup_sigcontext_fpu
(
struct
pt_regs
*
regs
,
struct
sigcontext
__user
*
sc
)
{}
{
return
0
;
}
#endif
static
int
...
...
include/asm-sh/sigcontext.h
浏览文件 @
f7a7b153
...
...
@@ -4,6 +4,18 @@
struct
sigcontext
{
unsigned
long
oldmask
;
#if defined(__SH5__) || defined(CONFIG_CPU_SH5)
/* CPU registers */
unsigned
long
long
sc_regs
[
63
];
unsigned
long
long
sc_tregs
[
8
];
unsigned
long
long
sc_pc
;
unsigned
long
long
sc_sr
;
/* FPU registers */
unsigned
long
long
sc_fpregs
[
32
];
unsigned
int
sc_fpscr
;
unsigned
int
sc_fpvalid
;
#else
/* CPU registers */
unsigned
long
sc_regs
[
16
];
unsigned
long
sc_pc
;
...
...
@@ -21,6 +33,7 @@ struct sigcontext {
unsigned
int
sc_fpul
;
unsigned
int
sc_ownedfp
;
#endif
#endif
};
#endif
/* __ASM_SH_SIGCONTEXT_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录