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

📄 dospartlibata.h

📁 VxWorks下ata接口的文件系统实例
💻 H
字号:
/* dosPartLibAta.h - partition parsing/mounting/display routines. *//*modification history--------------------01b,15sep97,jkf   removed LCHS support.  LCHS only useful for MSDOS                  versions below 3.3.01a,01sep97,jkf   written.*/#ifndef __INCdosPartLibAtah    /* Avoid any multiple inclusions */#define __INCdosPartLibAtah#ifdef __cplusplus             /* Maintain C++ compatibility */extern "C" {#endif /* __cplusplus *//* includes */#include "lstLib.h"             /* lstLib headers (vxWorks)         */#include "dosFsLib.h"           /* dos file system (vxWorks)        *//* imports *//* defines */                  #define INCLUDE_PART_SHOW       /* undef to remove dosPartShowAta() */                                /* to reduce code size              *//* typedefs */typedef struct                  /* struct for mountable parts   */    {    NODE partNode;              /* head,tail,& count ptr for dll*/    ULONG dosPartBlkOffset;     /* block offset for xxDevCreate */    ULONG dosPartNumBlks;       /* block size for xxDevCreate   */    DOS_PART_TBL dosPart;       /* real dos partition tbl data  */    } PART_NODE;/* statics *//* globals *//* function declarations */#if defined (__STDC__) || defined (__cplusplus)extern STATUS dosPartMountAta  /* Mounts partitions on drive/ctrl  */    (    BOOL ctrl,                 /* (0: Master/Single or 1: Slave.)  */    BOOL drive                 /* 0:primary ctrl, 1:secondary ctrl */    );#ifdef INCLUDE_PART_SHOW       /* Include partition show routines  */extern STATUS dosPartShowAta   /* Show partition data, all entries */    (                       BOOL ctrl,                 /* 0:primary ctrl, 1:secondary ctrl */    BOOL drive                 /* 0: Master/Single or 1: Slave.    */    );#endif /* ifdef INCLUDE_PART_SHOW */#else /* __STDC__ */extern STATUS dosPartMountAta(); /* Mounts partitions on drive/ctrl  */#ifdef INCLUDE_PART_SHOW         /* Include partition show routines  */extern STATUS dosPartShowAta();  /* Show partition data, all entries */#endif /* ifdef INCLUDE_PART_SHOW */#endif /* __STDC__ */#ifdef __cplusplus      /* Maintain C++ compatibility */}#endif /* __cplusplus */#endif /* __INCdosPartLibAtah */

⌨️ 快捷键说明

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