Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
88d1739f
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
88d1739f
编写于
5月 08, 2015
作者:
Y
Yoshinori Sato
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
h8300: UAPI headers
Signed-off-by:
N
Yoshinori Sato
<
ysato@users.sourceforge.jp
>
上级
d2a5f499
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
214 addition
and
0 deletion
+214
-0
arch/h8300/include/uapi/asm/Kbuild
arch/h8300/include/uapi/asm/Kbuild
+30
-0
arch/h8300/include/uapi/asm/byteorder.h
arch/h8300/include/uapi/asm/byteorder.h
+6
-0
arch/h8300/include/uapi/asm/ptrace.h
arch/h8300/include/uapi/asm/ptrace.h
+42
-0
arch/h8300/include/uapi/asm/sigcontext.h
arch/h8300/include/uapi/asm/sigcontext.h
+18
-0
arch/h8300/include/uapi/asm/signal.h
arch/h8300/include/uapi/asm/signal.h
+115
-0
arch/h8300/include/uapi/asm/unistd.h
arch/h8300/include/uapi/asm/unistd.h
+3
-0
未找到文件。
arch/h8300/include/uapi/asm/Kbuild
0 → 100644
浏览文件 @
88d1739f
# UAPI Header export list
include include/uapi/asm-generic/Kbuild.asm
header-y += auxvec.h
header-y += bitsperlong.h
header-y += errno.h
header-y += fcntl.h
header-y += ioctl.h
header-y += ioctls.h
header-y += ipcbuf.h
header-y += kvm_para.h
header-y += mman.h
header-y += msgbuf.h
header-y += param.h
header-y += poll.h
header-y += posix_types.h
header-y += resource.h
header-y += sembuf.h
header-y += setup.h
header-y += shmbuf.h
header-y += siginfo.h
header-y += socket.h
header-y += sockios.h
header-y += stat.h
header-y += statfs.h
header-y += swab.h
header-y += termbits.h
header-y += termios.h
header-y += types.h
header-y += unistd.h
arch/h8300/include/uapi/asm/byteorder.h
0 → 100644
浏览文件 @
88d1739f
#ifndef _H8300_BYTEORDER_H
#define _H8300_BYTEORDER_H
#include <linux/byteorder/big_endian.h>
#endif
/* _H8300_BYTEORDER_H */
arch/h8300/include/uapi/asm/ptrace.h
0 → 100644
浏览文件 @
88d1739f
#ifndef _UAPI_H8300_PTRACE_H
#define _UAPI_H8300_PTRACE_H
#ifndef __ASSEMBLY__
#define PT_ER1 0
#define PT_ER2 1
#define PT_ER3 2
#define PT_ER4 3
#define PT_ER5 4
#define PT_ER6 5
#define PT_ER0 6
#define PT_USP 7
#define PT_ORIG_ER0 8
#define PT_CCR 9
#define PT_PC 10
#define PT_EXR 11
/* this struct defines the way the registers are stored on the
stack during a system call. */
struct
pt_regs
{
long
retpc
;
long
er4
;
long
er5
;
long
er6
;
long
er3
;
long
er2
;
long
er1
;
long
orig_er0
;
long
sp
;
unsigned
short
ccr
;
long
er0
;
long
vector
;
#if defined(__H8300S__)
unsigned
short
exr
;
#endif
unsigned
long
pc
;
}
__attribute__
((
aligned
(
2
),
packed
));
#endif
/* __ASSEMBLY__ */
#endif
/* _UAPI_H8300_PTRACE_H */
arch/h8300/include/uapi/asm/sigcontext.h
0 → 100644
浏览文件 @
88d1739f
#ifndef _ASM_H8300_SIGCONTEXT_H
#define _ASM_H8300_SIGCONTEXT_H
struct
sigcontext
{
unsigned
long
sc_mask
;
/* old sigmask */
unsigned
long
sc_usp
;
/* old user stack pointer */
unsigned
long
sc_er0
;
unsigned
long
sc_er1
;
unsigned
long
sc_er2
;
unsigned
long
sc_er3
;
unsigned
long
sc_er4
;
unsigned
long
sc_er5
;
unsigned
long
sc_er6
;
unsigned
short
sc_ccr
;
unsigned
long
sc_pc
;
};
#endif
arch/h8300/include/uapi/asm/signal.h
0 → 100644
浏览文件 @
88d1739f
#ifndef _UAPI_H8300_SIGNAL_H
#define _UAPI_H8300_SIGNAL_H
#include <linux/types.h>
/* Avoid too many header ordering problems. */
struct
siginfo
;
#ifndef __KERNEL__
/* Here we must cater to libcs that poke about in kernel headers. */
#define NSIG 32
typedef
unsigned
long
sigset_t
;
#endif
/* __KERNEL__ */
#define SIGHUP 1
#define SIGINT 2
#define SIGQUIT 3
#define SIGILL 4
#define SIGTRAP 5
#define SIGABRT 6
#define SIGIOT 6
#define SIGBUS 7
#define SIGFPE 8
#define SIGKILL 9
#define SIGUSR1 10
#define SIGSEGV 11
#define SIGUSR2 12
#define SIGPIPE 13
#define SIGALRM 14
#define SIGTERM 15
#define SIGSTKFLT 16
#define SIGCHLD 17
#define SIGCONT 18
#define SIGSTOP 19
#define SIGTSTP 20
#define SIGTTIN 21
#define SIGTTOU 22
#define SIGURG 23
#define SIGXCPU 24
#define SIGXFSZ 25
#define SIGVTALRM 26
#define SIGPROF 27
#define SIGWINCH 28
#define SIGIO 29
#define SIGPOLL SIGIO
/*
#define SIGLOST 29
*/
#define SIGPWR 30
#define SIGSYS 31
#define SIGUNUSED 31
/* These should not be considered constants from userland. */
#define SIGRTMIN 32
#define SIGRTMAX _NSIG
/*
* SA_FLAGS values:
*
* SA_ONSTACK indicates that a registered stack_t will be used.
* SA_RESTART flag to get restarting signals (which were the default long ago)
* SA_NOCLDSTOP flag to turn off SIGCHLD when children stop.
* SA_RESETHAND clears the handler when the signal is delivered.
* SA_NOCLDWAIT flag on SIGCHLD to inhibit zombies.
* SA_NODEFER prevents the current signal from being masked in the handler.
*
* SA_ONESHOT and SA_NOMASK are the historical Linux names for the Single
* Unix names RESETHAND and NODEFER respectively.
*/
#define SA_NOCLDSTOP 0x00000001
#define SA_NOCLDWAIT 0x00000002
/* not supported yet */
#define SA_SIGINFO 0x00000004
#define SA_ONSTACK 0x08000000
#define SA_RESTART 0x10000000
#define SA_NODEFER 0x40000000
#define SA_RESETHAND 0x80000000
#define SA_NOMASK SA_NODEFER
#define SA_ONESHOT SA_RESETHAND
#define SA_RESTORER 0x04000000
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192
#include <asm-generic/signal-defs.h>
#ifndef __KERNEL__
/* Here we must cater to libcs that poke about in kernel headers. */
struct
sigaction
{
union
{
__sighandler_t
_sa_handler
;
void
(
*
_sa_sigaction
)(
int
,
struct
siginfo
*
,
void
*
);
}
_u
;
sigset_t
sa_mask
;
unsigned
long
sa_flags
;
void
(
*
sa_restorer
)(
void
);
};
#define sa_handler _u._sa_handler
#define sa_sigaction _u._sa_sigaction
#endif
/* __KERNEL__ */
typedef
struct
sigaltstack
{
void
*
ss_sp
;
int
ss_flags
;
size_t
ss_size
;
}
stack_t
;
#endif
/* _UAPI_H8300_SIGNAL_H */
arch/h8300/include/uapi/asm/unistd.h
0 → 100644
浏览文件 @
88d1739f
#define __ARCH_NOMMU
#include <asm-generic/unistd.h>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录