ramDiskCbio.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* ramDiskCbio.h - header file for ramDiskCbio.c */
  2. /* Copyright 1984-2002 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01b,29feb00,jkf   T3 changes
  7. 01a,31aug99,jkf   written
  8. */
  9. #ifndef __INCramDiskCbioh
  10. #define __INCramDiskCbioh
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. /* function declarations */
  15. #if defined(__STDC__) || defined(__cplusplus)
  16. IMPORT CBIO_DEV_ID ramDiskDevCreate
  17.     (
  18.     char  * pRamAddr,    /* where it is in memory (0 = malloc)     */
  19.     int   bytesPerBlk,   /* number of bytes per block              */
  20.     int   blksPerTrack,  /* number of blocks per track             */
  21.     int   nBlocks,       /* number of blocks on this device        */
  22.     int   blkOffset      /* no. of blks to skip at start of device */
  23.     );
  24. #else
  25. IMPORT CBIO_DEV_ID ramDiskDevCreate();
  26. #endif /* __STDC__ */
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30. #endif /* __INCramDiskCbioh */