home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / e2fltsrc.zip / e2virtio.h < prev    next >
C/C++ Source or Header  |  1995-07-25  |  2KB  |  35 lines

  1. /************************************************************************/
  2. /*  Linux partition filter (C) Deon van der Westhuysen.                 */
  3. /*                                                                      */
  4. /*  Dedicated to Jesus Christ, my Lord and Saviour.                     */
  5. /*                                                                      */
  6. /*  Permission is granted to freely use and modify this code for non-   */
  7. /*  profit use on the condition that this notice is not removed. All    */
  8. /*  other rights are reserved. No warranty, etc.                        */
  9. /*                                                                      */
  10. /*  This code is still under development; expect some rough edges.      */
  11. /*                                                                      */
  12. /************************************************************************/
  13.  
  14. #ifndef _E2VIRTIO_H_
  15. #define _E2VIRTIO_H_
  16.  
  17. #include "os2head.h"
  18.  
  19. USHORT DoVirtualIO (USHORT Modifier, NPVirtUnitRec pUnitRec, ULONG SectorRBA,
  20.                     PSCATGATENTRY pSGList, USHORT cSGList,ULONG XferOffset);
  21.  
  22. USHORT ReadFakeSector (NPVirtUnitRec pUnitRec, ULONG SectorRBA,
  23.                        PSCATGATENTRY pSGList, USHORT cSGList,
  24.                        ULONG XferOffset);
  25. USHORT WriteFakeSector (NPVirtUnitRec pUnitRec, ULONG SectorRBA,
  26.                        PSCATGATENTRY pSGList, USHORT cSGList,
  27.                        ULONG XferOffset);
  28.  
  29. VOID ComputeCHS (ULONG RBA, USHORT GeoNumHead, USHORT GeoTrackSec,
  30.                  USHORT FAR *CylSec, UCHAR FAR *Head);
  31. USHORT CopyToSGList (void FAR *Buffer, ULONG Count, PSCATGATENTRY pSGList,
  32.                      USHORT cSGList, ULONG XferOffset);
  33.  
  34. #endif
  35.