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

📄 fsentitydata.him

📁 我今天开始上传5份TI、NXP、MTK的手机开发全套资料。希望对大家有很大的帮助
💻 HIM
字号:
#ifndef FS_ENTITYDATA_HIM#define  FS_ENTITYDATA_HIM/************************************************************************//*									*//*	Entity's ( task or process ) attached data management 		*//*									*//************************************************************************//* This macro initializes the entity data management */#define MC_FS_ED_INIT_ENTITY_DATA( pp_Config )  \		Fs80_01EDInitEntityData( pp_Config )/*  This macro returns a pointer on the entity corresponding to RTK-E id 	 ( If the RTK ID unknow a new entity is added to entity data )*/#define MC_FS_ED_GET_ENTITY_PTR( vp_RtkId ) \		Fs80_07EDGetEntityPtr( vp_RtkId ) /* This macro translates RTK ID in FS ID ( If the RTK ID unknow a new entity is added		to entity data ) */#define MC_FS_ED_GET_FS_ID( vp_RtkId )  \		Fs80_02EDGetFsId ( vp_RtkId )/* This macro delete an entity ( task or process/instance )	from the FSS owner list	*/#define MC_FS_ED_DELETE_ENTITY( vp_RtkId )	\		Fs80_04EDDeleteEntity( vp_RtkId )/* This macro set the path of an entity */#define MC_FS_ED_MEMO_PATH( pp_Entity, pp_Path , pp_EntityPathInfo)  \		Fs80_05EDMemorizePath(  pp_Entity, pp_EntityPathInfo )/* This macro copies in a buffer the path corresponding to entity's path */#define MC_FS_ED_GET_PATH( pp_Entity, pp_Dest, vp_MaxSize ) \		Fs80_06EDGetPath ( pp_Entity, pp_Dest, vp_MaxSize )  /* This macro insert a new file in the entity's file list ( return Posix file Id ) */#define MC_FS_ED_INSERT_FILE_IN_ENTITY( pp_Entity, pp_File )  \		Fs80_08EDInsertFileInEntity( pp_Entity, pp_File )/* This macro delete a file from the entity's list */#define MC_FS_ED_DELETE_FILE_FROM_ENTITY( pp_File )  \		Fs80_09EDDeleteFileFromEntity( pp_File )/* This macro inserts a directory in the entity's directory list ( return Posix dir Id ) */#define MC_FS_ED_INSERT_DIR( pp_Entity, pp_Dir )  \		Fs80_10EDInsertDirInEntity( pp_Entity, pp_Dir )/* This macro deletes a directory from the directory's list */#define MC_FS_ED_DELETE_DIR( pp_Dir )  \		Fs80_11EDDeleteDirFromEntity( pp_Dir )/* This macro returns a pointer on the file structure which Id is given *//* #define MC_FS_ED_GET_FILE_PTR( pp_Entity, vp_FileId )  *//* This macro returns a pointer on the directory which Id is given *//* #define MC_FS_ED_GET_DIR_PTR( pp_Entity, vp_DirId ) *//* This macro returns entity's current volume Id */#define MC_FS_ED_GET_CURRENT_VOL( pp_Entity )   \		pp_Entity -> v_CurrentVolumeId/*This macro returns current directory's file ID */#define MC_FS_ED_GET_CURRENT_DIR_ID( pp_Entity )  \		pp_Entity -> v_CurrentDirId/* This macro gets first file of an entity's list */#define MC_FS_ED_GET_FIRST_FILE	 \		pp_Entity -> p_FileList/* This macro gets next file of an entity's list */#define MC_FS_ED_GET_NEXT_FILE( pp_File )	\		pp_File->p_EntityNextPtr/* This macro gets first directory of an entity's list */#define MC_FS_ED_GET_FIRST_DIR	 \		pl_Entity -> p_DirList/* This macro gets next directory of an entity's list */#define MC_FS_ED_GET_NEXT_DIR( pp_Dir )  \		pp_Dir->p_EntityNextPtr/* This macro gets entity ptr of a file */#define MC_FS_ED_GET_ENTITY_PTR_OF_FILE( pp_File )	\		pp_File->p_Entity/* This macro gets entity ptr of a directory */#define MC_FS_ED_GET_ENTITY_PTR_OF_DIR( pp_Dir )	\		pp_Dir->p_Entity/* This macro gets cwd information ( volume pointer, directory IDs and existence flags */#define MC_FS_ED_GET_CWD_INFO( pp_Entity, pp_EntityPathInfo )					\   	(pp_EntityPathInfo)->v_CurrentDirIDLevelN = pp_Entity->v_CurrentDirIDLevelN;		\   	(pp_EntityPathInfo)->v_CurrentDirIDLevelN_1 = pp_Entity->v_CurrentDirIDLevelN_1;	\   	(pp_EntityPathInfo)->v_DirLevelNExist = pp_Entity->v_DirLevelNExist;			\   	(pp_EntityPathInfo)->v_DirLevelN_1Exist = pp_Entity->v_DirLevelN_1Exist;		\	(pp_EntityPathInfo)->p_CurrVolume = pp_Entity->p_CurrentVolume;				\	(pp_EntityPathInfo)->v_CurrPathValid = pp_Entity->v_CurrPathValid#define MC_FS_ED_GET_KERNEL_ID(pp_Entity)  pp_Entity->v_RtkID#define MC_FS_ED_INVALID_CURRENT_DIR( pp_Volume, vp_DirID) 					\		Fs80_12EDInvalidCurrentDir( pp_Volume, vp_DirID )#endif

⌨️ 快捷键说明

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