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

📄 mmcdrv.h

📁 (1)基于部分u-boot代码自己调试的vxworks BSP (2)实现了nand/nor flash的tffs文件系统 (3)实现了对spi dataflash的访问 (4)实现了对启动参数
💻 H
字号:
/* mmcDrv.h - IDE disk controller header *//* Copyright 1984-2001 Wind River Systems, Inc. *//*modification history--------------------01d,30oct01,dat  Adding warning about driver being obsolete01c,25oct94,hdn  added mmcRawio() function prototype.01b,10oct94,hdn  added IDE_RAW structure for mmcRawio().01a,19oct93,hdn  written.*/#ifndef __INCmmcDrvh#define __INCmmcDrvh#ifdef __cplusplusextern "C" {#endif#ifndef _ASMLANGUAGE#include "blkIo.h"#define	STAT_ERR	0x01		/* error detect */typedef struct mmcRaw    {				/* this is for IDERAWACCESS ioctl */    UINT cylinder;		/* cylinder (0 -> (cylindres-1)) */    UINT head;			/* head (0 -> (heads-1)) */    UINT sector;			/* sector (1 -> sectorsTrack) */    char *pBuf;			/* pointer to buffer (bytesSector * nSecs) */    UINT nSecs;			/* number of sectors (1 -> sectorsTrack) */    UINT direction;		/* read=0, write=1 */    } MMC_RAW;/* max number of MMC drives */#define MMC_MAX_DRIVES	1/* function declarations */#if defined(__STDC__) || defined(__cplusplus)STATUS	mmcDrv ();BLK_DEV	*mmcDevCreate (int drive, int nBlks, int offset);STATUS	mmcRawio (int drive,MMC_RAW *pIdeRaw);#elseSTATUS	mmcDrv ();BLK_DEV	*mmcDevCreate ();STATUS	mmcRawio ();#endif  /* __STDC__ */#endif  /* _ASMLANGUAGE */#ifdef __cplusplus}#endif#endif /* __INCmmcDrvh */

⌨️ 快捷键说明

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