home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / dev / e / amigae / modulessrc / devices / hardblocks.e < prev    next >
Text File  |  1995-07-05  |  3KB  |  135 lines

  1. OPT MODULE
  2. OPT EXPORT
  3.  
  4. OBJECT rigiddiskblock
  5.   id:LONG
  6.   summedlongs:LONG
  7.   chksum:LONG
  8.   hostid:LONG
  9.   blockbytes:LONG
  10.   flags:LONG
  11.   badblocklist:LONG
  12.   partitionlist:LONG
  13.   filesysheaderlist:LONG
  14.   driveinit:LONG
  15.   reserved1[6]:ARRAY OF LONG
  16.   cylinders:LONG
  17.   sectors:LONG
  18.   heads:LONG
  19.   interleave:LONG
  20.   park:LONG
  21.   reserved2[3]:ARRAY OF LONG
  22.   writeprecomp:LONG
  23.   reducedwrite:LONG
  24.   steprate:LONG
  25.   reserved3[5]:ARRAY OF LONG
  26.   rdbblockslo:LONG
  27.   rdbblockshi:LONG
  28.   locylinder:LONG
  29.   hicylinder:LONG
  30.   cylblocks:LONG
  31.   autoparkseconds:LONG
  32.   highrdskblock:LONG
  33.   reserved4:LONG
  34.   diskvendor[8]:ARRAY
  35.   diskproduct[16]:ARRAY
  36.   diskrevision[4]:ARRAY
  37.   controllervendor[8]:ARRAY
  38.   controllerproduct[16]:ARRAY
  39.   controllerrevision[4]:ARRAY
  40.   reserved5[10]:ARRAY OF LONG
  41. ENDOBJECT     /* SIZEOF=256 */
  42.  
  43. CONST IDNAME_RIGIDDISK=$5244534B,
  44.       RDB_LOCATION_LIMIT=16,
  45.       RDBFB_LAST=0,
  46.       RDBFF_LAST=1,
  47.       RDBFB_LASTLUN=1,
  48.       RDBFF_LASTLUN=2,
  49.       RDBFB_LASTTID=2,
  50.       RDBFF_LASTTID=4,
  51.       RDBFB_NORESELECT=3,
  52.       RDBFF_NORESELECT=8,
  53.       RDBFB_DISKID=4,
  54.       RDBFF_DISKID=16,
  55.       RDBFB_CTRLRID=5,
  56.       RDBFF_CTRLRID=$20,
  57.       RDBFB_SYNCH=6,
  58.       RDBFF_SYNCH=$40
  59.  
  60. OBJECT badblockentry
  61.   badblock:LONG
  62.   goodblock:LONG
  63. ENDOBJECT     /* SIZEOF=8 */
  64.  
  65. OBJECT badblockblock
  66.   id:LONG
  67.   summedlongs:LONG
  68.   chksum:LONG
  69.   hostid:LONG
  70.   next:LONG
  71.   reserved:LONG
  72.   blockpairs[61]:ARRAY OF badblockentry
  73. ENDOBJECT     /* SIZEOF=NONE !!! */
  74.  
  75. CONST IDNAME_BADBLOCK=$42414442
  76.  
  77. OBJECT partitionblock
  78.   id:LONG
  79.   summedlongs:LONG
  80.   chksum:LONG
  81.   hostid:LONG
  82.   next:LONG
  83.   flags:LONG
  84.   reserved1[2]:ARRAY OF LONG
  85.   devflags:LONG
  86.   drivename[32]:ARRAY
  87.   reserved2[15]:ARRAY OF LONG
  88.   environment[17]:ARRAY OF LONG
  89.   ereserved[15]:ARRAY OF LONG
  90. ENDOBJECT     /* SIZEOF=256 */
  91.  
  92. CONST IDNAME_PARTITION=$50415254,
  93.       PBFF_BOOTABLE=0,
  94.       PBFF_BOOTABLE=1,
  95.       PBFF_NOMOUNT=1,
  96.       PBFF_NOMOUNT=2
  97.  
  98. OBJECT filesysheaderblock
  99.   id:LONG
  100.   summedlongs:LONG
  101.   chksum:LONG
  102.   hostid:LONG
  103.   next:LONG
  104.   flags:LONG
  105.   reserved1[2]:ARRAY OF LONG
  106.   dostype:LONG
  107.   version:LONG
  108.   patchflags:LONG
  109.   type:LONG
  110.   task:LONG
  111.   lock:LONG
  112.   handler:LONG
  113.   stacksize:LONG
  114.   priority:LONG
  115.   startup:LONG
  116.   seglistblocks:LONG
  117.   globalvec:LONG
  118.   reserved2[23]:ARRAY OF LONG
  119.   reserved3[21]:ARRAY OF LONG
  120. ENDOBJECT     /* SIZEOF=256 */
  121.  
  122. CONST IDNAME_FILESYSHEADER=$46534844
  123.  
  124. OBJECT loadsegblock
  125.   id:LONG
  126.   summedlongs:LONG
  127.   chksum:LONG
  128.   hostid:LONG
  129.   next:LONG
  130.   loaddata[123]:ARRAY OF LONG
  131. ENDOBJECT     /* SIZEOF=NONE !!! */
  132.  
  133. CONST IDNAME_LOADSEG=$4C534547
  134.  
  135.