📄 fsmfs.h
字号:
/*****************************************************************************
FILE NAME: FsmFs.h
DESCRIPTION:
common definitions for all fs.
Copyright (c) 2002, VIA Technologies, Inc.
*****************************************************************************/
#ifndef __FSM_FS_H__
#define __FSM_FS_H__
#include "fsmdefs.h"
#include "FsmDev.h"
typedef /*PACKED*/ struct
{
FsmDevObjHdrT * DevObjP;
} FsmFileDescriptorHdrT;
typedef /*PACKED*/ struct
{
FsmDevObjHdrT * DevObjP;
} FsmMediaObjHdrT;
typedef uint32 (*FSM_CREATE_FUNCPTR)(FsmDevObjHdrT * , char * , uint32 , uint32 * );
typedef uint32 (*FSM_OPEN_FUNCPTR)(FsmDevObjHdrT * , char * , uint32 , uint32 * );
typedef uint32 (*FSM_DELETE_FUNCPTR)(FsmDevObjHdrT * , char * );
typedef uint32 (*FSM_CLOSE_FUNCPTR)(uint32 );
typedef uint32 (*FSM_READ_FUNCPTR)(uint32 , uint8 * , uint32 , uint32 * );
typedef uint32 (*FSM_WRITE_FUNCPTR)(uint32 , uint8 * , uint32 , uint32 * );
typedef uint32 (*FSM_IOCTRL_FUNCPTR)(uint32 , uint32 , void * );
typedef uint32 (*FSM_INIT_FUNCPTR)(FsmDevObjHdrT * , uint32 );
typedef uint32 (*FSM_TERMINATE_FUNCPTR)(FsmDevObjHdrT * );
typedef /*PACKED*/ struct
{
FSM_CREATE_FUNCPTR FsmCreate;
FSM_OPEN_FUNCPTR FsmOpen;
FSM_DELETE_FUNCPTR FsmDelete;
FSM_CLOSE_FUNCPTR FsmClose;
FSM_READ_FUNCPTR FsmRead;
FSM_WRITE_FUNCPTR FsmWrite;
FSM_IOCTRL_FUNCPTR FsmIoCtrl;
FSM_INIT_FUNCPTR FsmInit;
FSM_TERMINATE_FUNCPTR FsmTerminate;
/*
uint32 (*FsmCreate)(FsmDevObjHdrT * DevObjP, char * FileName, uint32 CreateFlag, uint32 * ErrorCodeP);
uint32 (*FsmOpen)(FsmDevObjHdrT * DevObjP, char * FileName, uint32 OpenMode, uint32 * ErrorCodeP);
uint32 (*FsmDelete)(FsmDevObjHdrT * DevObjP, char * FileName);
uint32 (*FsmClose)(uint32 fd);
uint32 (*FsmRead)(uint32 fd, uint8 * Buf, uint32 size, uint32 * ErrorCodeP);
uint32 (*FsmWrite)(uint32 fd, uint8 * Buf, uint32 size, uint32 * ErrorCodeP);
uint32 (*FsmIoCtrl)(uint32 fd, uint32 cmd, void * arg);
uint32 (*FsmInit)(FsmDevObjHdrT * DevObjP, uint32 SectorSize);
uint32 (*FsmTerminate)(FsmDevObjHdrT * DevObjP);
*/
} FsmFsDrvT;
#endif /* __FSM_FS_H__ */
/*****************************************************************************
* $Log: FsmFs.h $
* Revision 1.3 2004/03/17 12:58:36 zgy
* Revision 1.8 2004/03/16 15:59:41 jjs
* Revision 1.7 2004/03/11 15:24:34 jjs
* Revision 1.6 2003/11/05 10:26:26 wsm
* Revision 1.5 2003/09/14 16:56:26 jjs
* Revision 1.4 2003/09/12 12:42:08 jjs
* Revision 1.3 2003/09/12 12:23:55 jjs
* Revision 1.2 2003/09/12 12:18:55 jjs
* Revision 1.1 2003/09/09 15:09:23 jjs
* Initial revision
*****************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -