⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shmpool.h

📁 linux下的fusion程序,可以和directfb配合使用
💻 H
字号:
/* *	Fusion Kernel Module * *	(c) Copyright 2002-2003  Convergence GmbH * *      Written by Denis Oliver Kropp <dok@directfb.org> * * *	This program is free software; you can redistribute it and/or *	modify it under the terms of the GNU General Public License *	as published by the Free Software Foundation; either version *	2 of the License, or (at your option) any later version. */ #ifndef __FUSION__SHMPOOL_H__#define __FUSION__SHMPOOL_H__#include "fusiondev.h"#include "types.h"#ifdef __x86_64__#define FUSION_SHM_BASE    0x523000010000     /* virtual base address */#define FUSION_SHM_SIZE    0x000FFFFEF000     /* size of virtual address space */#else#ifdef __mips__#define FUSION_SHM_BASE    0x50010000     /* virtual base address */#else#define FUSION_SHM_BASE    0x20010000     /* virtual base address */#endif#define FUSION_SHM_SIZE    0x1FFEF000     /* size of virtual address space */#endif/* module init/cleanup */int  fusion_shmpool_init   (FusionDev *dev);void fusion_shmpool_deinit (FusionDev *dev);/* public API */int fusion_shmpool_new      (FusionDev             *dev,                             FusionSHMPoolNew      *pool);int fusion_shmpool_attach   (FusionDev             *dev,                             FusionSHMPoolAttach   *attach,                             FusionID               fusion_id);int fusion_shmpool_detach   (FusionDev             *dev,                             int                    id,                             FusionID               fusion_id);int fusion_shmpool_dispatch (FusionDev             *dev,                             FusionSHMPoolDispatch *dispatch,                             Fusionee              *fusionee );int fusion_shmpool_destroy  (FusionDev             *dev,                             int                    id);/* internal functions */void fusion_shmpool_detach_all (FusionDev *dev,                                FusionID   fusion_id);int  fusion_shmpool_fork_all   (FusionDev *dev,                                FusionID   fusion_id,                                FusionID   from_id);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -