Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
608f8b3c
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
608f8b3c
编写于
11月 03, 2005
作者:
S
Stephen Rothwell
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
powerpc: merge sigcontext.h
Signed-off-by:
N
Stephen Rothwell
<
sfr@canb.auug.org.au
>
上级
879168ee
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
23 addition
and
33 deletion
+23
-33
include/asm-powerpc/sigcontext.h
include/asm-powerpc/sigcontext.h
+23
-18
include/asm-ppc/sigcontext.h
include/asm-ppc/sigcontext.h
+0
-15
未找到文件。
include/asm-p
pc64
/sigcontext.h
→
include/asm-p
owerpc
/sigcontext.h
浏览文件 @
608f8b3c
#ifndef _ASM_P
PC64
_SIGCONTEXT_H
#define _ASM_P
PC64
_SIGCONTEXT_H
#ifndef _ASM_P
OWERPC
_SIGCONTEXT_H
#define _ASM_P
OWERPC
_SIGCONTEXT_H
/*
* This program is free software; you can redistribute it and/or
...
...
@@ -9,39 +9,44 @@
*/
#include <linux/compiler.h>
#include <asm/ptrace.h>
#ifdef __powerpc64__
#include <asm/elf.h>
#endif
struct
sigcontext
{
unsigned
long
_unused
[
4
];
int
signal
;
#ifdef __powerpc64__
int
_pad0
;
#endif
unsigned
long
handler
;
unsigned
long
oldmask
;
struct
pt_regs
__user
*
regs
;
#ifdef __powerpc64__
elf_gregset_t
gp_regs
;
elf_fpregset_t
fp_regs
;
/*
* To maintain compatibility with current implementations the sigcontext is
* extended by appending a pointer (v_regs) to a quadword type (elf_vrreg_t)
* followed by an unstructured (vmx_reserve) field of 69 doublewords. This
* allows the array of vector registers to be quadword aligned independent of
* the alignment of the containing sigcontext or ucontext. It is the
* responsibility of the code setting the sigcontext to set this pointer to
* either NULL (if this processor does not support the VMX feature) or the
* To maintain compatibility with current implementations the sigcontext is
* extended by appending a pointer (v_regs) to a quadword type (elf_vrreg_t)
* followed by an unstructured (vmx_reserve) field of 69 doublewords. This
* allows the array of vector registers to be quadword aligned independent of
* the alignment of the containing sigcontext or ucontext. It is the
* responsibility of the code setting the sigcontext to set this pointer to
* either NULL (if this processor does not support the VMX feature) or the
* address of the first quadword within the allocated (vmx_reserve) area.
*
* The pointer (v_regs) of vector type (elf_vrreg_t) is type compatible with
* an array of 34 quadword entries (elf_vrregset_t). The entries with
* indexes 0-31 contain the corresponding vector registers. The entry with
* index 32 contains the vscr as the last word (offset 12) within the
* quadword. This allows the vscr to be stored as either a quadword (since
* it must be copied via a vector register to/from storage) or as a word.
* The entry with index 33 contains the vrsave as the first word (offset 0)
* The pointer (v_regs) of vector type (elf_vrreg_t) is type compatible with
* an array of 34 quadword entries (elf_vrregset_t). The entries with
* indexes 0-31 contain the corresponding vector registers. The entry with
* index 32 contains the vscr as the last word (offset 12) within the
* quadword. This allows the vscr to be stored as either a quadword (since
* it must be copied via a vector register to/from storage) or as a word.
* The entry with index 33 contains the vrsave as the first word (offset 0)
* within the quadword.
*/
elf_vrreg_t
__user
*
v_regs
;
long
vmx_reserve
[
ELF_NVRREG
+
ELF_NVRREG
+
1
];
#endif
};
#endif
/* _ASM_P
PC64
_SIGCONTEXT_H */
#endif
/* _ASM_P
OWERPC
_SIGCONTEXT_H */
include/asm-ppc/sigcontext.h
已删除
100644 → 0
浏览文件 @
879168ee
#ifndef _ASM_PPC_SIGCONTEXT_H
#define _ASM_PPC_SIGCONTEXT_H
#include <asm/ptrace.h>
#include <linux/compiler.h>
struct
sigcontext
{
unsigned
long
_unused
[
4
];
int
signal
;
unsigned
long
handler
;
unsigned
long
oldmask
;
struct
pt_regs
__user
*
regs
;
};
#endif
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录