ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

physlogi.h
Go to the documentation of this file.
00001 /*++
00002 
00003 Copyright (c) 1992  Microsoft Corporation
00004 
00005 Module Name:
00006 
00007     physlogi.h
00008 
00009 Abstract:
00010 
00011     This file contains structures and defines that are used
00012     specifically for the tape drivers. Contains #define's,
00013     function protypes, etc. for use in calling functions in
00014     physlogi.c that do physical to pseudo-logical and pseudo-
00015     logical to physical tape block address/position translation.
00016     
00017 Author:
00018 
00019     Mike Colandreo       (Maynard)
00020     
00021 Revision History:
00022 
00023 --*/
00024 
00025 // begin_ntminitape
00026 
00027 //
00028 // defines for QIC tape density codes
00029 //
00030 
00031 #define QIC_XX     0   // ????
00032 #define QIC_24     5   // 0x05
00033 #define QIC_120    15  // 0x0F
00034 #define QIC_150    16  // 0x10
00035 #define QIC_525    17  // 0x11
00036 #define QIC_1350   18  // 0x12
00037 #define QIC_1000   21  // 0x15
00038 #define QIC_1000C  30  // 0x1E
00039 #define QIC_2100   31  // 0x1F
00040 #define QIC_2GB    34  // 0x22
00041 #define QIC_5GB    40  // 0x28
00042 
00043 //
00044 // defines for QIC tape media codes
00045 //
00046 
00047 #define DCXXXX   0
00048 #define DC300    1
00049 #define DC300XLP 2
00050 #define DC615    3
00051 #define DC600    4
00052 #define DC6037   5
00053 #define DC6150   6
00054 #define DC6250   7
00055 #define DC6320   8
00056 #define DC6525   9
00057 #define DC9135SL 33  //0x21
00058 #define DC9210   34  //0x22
00059 #define DC9135   35  //0x23
00060 #define DC9100   36  //0x24
00061 #define DC9120   37  //0x25
00062 #define DC9120SL 38  //0x26
00063 #define DC9164   39  //0x27
00064 #define DCXXXXFW 48  //0x30
00065 #define DC9200SL 49  //0x31
00066 #define DC9210XL 50  //0x32
00067 #define DC10GB   51  //0x33
00068 #define DC9200   52  //0x34
00069 #define DC9120XL 53  //0x35
00070 #define DC9210SL 54  //0x36
00071 #define DC9164XL 55  //0x37
00072 #define DC9200XL 64  //0x40
00073 #define DC9400   65  //0x41
00074 #define DC9500   66  //0x42
00075 #define DC9500SL 70  //0x46
00076 
00077 //
00078 // defines for translation reference point
00079 //
00080 
00081 #define NOT_FROM_BOT 0
00082 #define FROM_BOT 1
00083 
00084 //
00085 // info/structure returned by/from
00086 // TapeLogicalBlockToPhysicalBlock( )
00087 //
00088 
00089 typedef struct _TAPE_PHYS_POSITION {
00090     ULONG SeekBlockAddress;
00091     ULONG SpaceBlockCount;
00092 } TAPE_PHYS_POSITION, PTAPE_PHYS_POSITION;
00093 
00094 //
00095 // function prototypes
00096 //
00097 
00098 TAPE_PHYS_POSITION
00099 TapeClassLogicalBlockToPhysicalBlock(
00100     IN UCHAR DensityCode,
00101     IN ULONG LogicalBlockAddress,
00102     IN ULONG BlockLength,
00103     IN BOOLEAN FromBOT
00104     );
00105 
00106 ULONG
00107 TapeClassPhysicalBlockToLogicalBlock(
00108     IN UCHAR DensityCode,
00109     IN ULONG PhysicalBlockAddress,
00110     IN ULONG BlockLength,
00111     IN BOOLEAN FromBOT
00112     );
00113 
00114 // end_ntminitape
00115 

Generated on Sun May 27 2012 04:28:28 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.