Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
71b844f1
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
71b844f1
编写于
6月 13, 2009
作者:
M
Mike Frysinger
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Blackfin: convert shm/sysv/ipc to asm-generic
Signed-off-by:
N
Mike Frysinger
<
vapier@gentoo.org
>
上级
83dab403
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
5 addition
and
134 deletion
+5
-134
arch/blackfin/include/asm/ipcbuf.h
arch/blackfin/include/asm/ipcbuf.h
+1
-30
arch/blackfin/include/asm/msgbuf.h
arch/blackfin/include/asm/msgbuf.h
+1
-31
arch/blackfin/include/asm/sembuf.h
arch/blackfin/include/asm/sembuf.h
+1
-25
arch/blackfin/include/asm/shmbuf.h
arch/blackfin/include/asm/shmbuf.h
+1
-42
arch/blackfin/include/asm/shmparam.h
arch/blackfin/include/asm/shmparam.h
+1
-6
未找到文件。
arch/blackfin/include/asm/ipcbuf.h
浏览文件 @
71b844f1
/* Changes origined from m68k version. Lineo Inc. May 2001 */
#ifndef __BFIN_IPCBUF_H__
#define __BFIN_IPCBUF_H__
/*
* The user_ipc_perm structure for m68k 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
/* __BFIN_IPCBUF_H__ */
#include <asm-generic/ipcbuf.h>
arch/blackfin/include/asm/msgbuf.h
浏览文件 @
71b844f1
#ifndef _BFIN_MSGBUF_H
#define _BFIN_MSGBUF_H
/*
* The msqid64_ds structure for bfin 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
/* _BFIN_MSGBUF_H */
#include <asm-generic/msgbuf.h>
arch/blackfin/include/asm/sembuf.h
浏览文件 @
71b844f1
#ifndef _BFIN_SEMBUF_H
#define _BFIN_SEMBUF_H
/*
* The semid64_ds structure for bfin 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
/* _BFIN_SEMBUF_H */
#include <asm-generic/sembuf.h>
arch/blackfin/include/asm/shmbuf.h
浏览文件 @
71b844f1
#ifndef _BFIN_SHMBUF_H
#define _BFIN_SHMBUF_H
/*
* The shmid64_ds structure for bfin 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
/* _BFIN_SHMBUF_H */
#include <asm-generic/shmbuf.h>
arch/blackfin/include/asm/shmparam.h
浏览文件 @
71b844f1
#ifndef _BFIN_SHMPARAM_H
#define _BFIN_SHMPARAM_H
#define SHMLBA PAGE_SIZE
/* attach addr a multiple of this */
#endif
/* _BFIN_SHMPARAM_H */
#include <asm-generic/shmparam.h>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录