Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
6f2ea729
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看板
提交
6f2ea729
编写于
6月 14, 2009
作者:
P
Paul Mundt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sh: Convert ipc/shm bits to their asm-generic versions.
Signed-off-by:
N
Paul Mundt
<
lethal@linux-sh.org
>
上级
4b123955
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
4 addition
and
127 deletion
+4
-127
arch/sh/include/asm/ipcbuf.h
arch/sh/include/asm/ipcbuf.h
+1
-29
arch/sh/include/asm/msgbuf.h
arch/sh/include/asm/msgbuf.h
+1
-31
arch/sh/include/asm/sembuf.h
arch/sh/include/asm/sembuf.h
+1
-25
arch/sh/include/asm/shmbuf.h
arch/sh/include/asm/shmbuf.h
+1
-42
未找到文件。
arch/sh/include/asm/ipcbuf.h
浏览文件 @
6f2ea729
#ifndef __ASM_SH_IPCBUF_H__
#define __ASM_SH_IPCBUF_H__
/*
* The ipc64_perm structure for i386 architecture.
* Note extra padding because this structure is passed back and forth
* between kernel and user space.
*
* Pad space is left for:
* - 32-bit mode_t and seq
* - 2 miscellaneous 32-bit values
*/
struct
ipc64_perm
{
__kernel_key_t
key
;
__kernel_uid32_t
uid
;
__kernel_gid32_t
gid
;
__kernel_uid32_t
cuid
;
__kernel_gid32_t
cgid
;
__kernel_mode_t
mode
;
unsigned
short
__pad1
;
unsigned
short
seq
;
unsigned
short
__pad2
;
unsigned
long
__unused1
;
unsigned
long
__unused2
;
};
#endif
/* __ASM_SH_IPCBUF_H__ */
#include <asm-generic/ipcbuf.h>
arch/sh/include/asm/msgbuf.h
浏览文件 @
6f2ea729
#ifndef __ASM_SH_MSGBUF_H
#define __ASM_SH_MSGBUF_H
/*
* The msqid64_ds structure for i386 architecture.
* Note extra padding because this structure is passed back and forth
* between kernel and user space.
*
* Pad space is left for:
* - 64-bit time_t to solve y2038 problem
* - 2 miscellaneous 32-bit values
*/
struct
msqid64_ds
{
struct
ipc64_perm
msg_perm
;
__kernel_time_t
msg_stime
;
/* last msgsnd time */
unsigned
long
__unused1
;
__kernel_time_t
msg_rtime
;
/* last msgrcv time */
unsigned
long
__unused2
;
__kernel_time_t
msg_ctime
;
/* last change time */
unsigned
long
__unused3
;
unsigned
long
msg_cbytes
;
/* current number of bytes on queue */
unsigned
long
msg_qnum
;
/* number of messages in queue */
unsigned
long
msg_qbytes
;
/* max number of bytes on queue */
__kernel_pid_t
msg_lspid
;
/* pid of last msgsnd */
__kernel_pid_t
msg_lrpid
;
/* last receive pid */
unsigned
long
__unused4
;
unsigned
long
__unused5
;
};
#endif
/* __ASM_SH_MSGBUF_H */
#include <asm-generic/msgbuf.h>
arch/sh/include/asm/sembuf.h
浏览文件 @
6f2ea729
#ifndef __ASM_SH_SEMBUF_H
#define __ASM_SH_SEMBUF_H
/*
* The semid64_ds structure for i386 architecture.
* Note extra padding because this structure is passed back and forth
* between kernel and user space.
*
* Pad space is left for:
* - 64-bit time_t to solve y2038 problem
* - 2 miscellaneous 32-bit values
*/
struct
semid64_ds
{
struct
ipc64_perm
sem_perm
;
/* permissions .. see ipc.h */
__kernel_time_t
sem_otime
;
/* last semop time */
unsigned
long
__unused1
;
__kernel_time_t
sem_ctime
;
/* last change time */
unsigned
long
__unused2
;
unsigned
long
sem_nsems
;
/* no. of semaphores in array */
unsigned
long
__unused3
;
unsigned
long
__unused4
;
};
#endif
/* __ASM_SH_SEMBUF_H */
#include <asm-generic/sembuf.h>
arch/sh/include/asm/shmbuf.h
浏览文件 @
6f2ea729
#ifndef __ASM_SH_SHMBUF_H
#define __ASM_SH_SHMBUF_H
/*
* The shmid64_ds structure for i386 architecture.
* Note extra padding because this structure is passed back and forth
* between kernel and user space.
*
* Pad space is left for:
* - 64-bit time_t to solve y2038 problem
* - 2 miscellaneous 32-bit values
*/
struct
shmid64_ds
{
struct
ipc64_perm
shm_perm
;
/* operation perms */
size_t
shm_segsz
;
/* size of segment (bytes) */
__kernel_time_t
shm_atime
;
/* last attach time */
unsigned
long
__unused1
;
__kernel_time_t
shm_dtime
;
/* last detach time */
unsigned
long
__unused2
;
__kernel_time_t
shm_ctime
;
/* last change time */
unsigned
long
__unused3
;
__kernel_pid_t
shm_cpid
;
/* pid of creator */
__kernel_pid_t
shm_lpid
;
/* pid of last operator */
unsigned
long
shm_nattch
;
/* no. of current attaches */
unsigned
long
__unused4
;
unsigned
long
__unused5
;
};
struct
shminfo64
{
unsigned
long
shmmax
;
unsigned
long
shmmin
;
unsigned
long
shmmni
;
unsigned
long
shmseg
;
unsigned
long
shmall
;
unsigned
long
__unused1
;
unsigned
long
__unused2
;
unsigned
long
__unused3
;
unsigned
long
__unused4
;
};
#endif
/* __ASM_SH_SHMBUF_H */
#include <asm-generic/shmbuf.h>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录