/* File : VMA.H Description: VMA for MEpix Author : Peter H. Michalicka Environment: HP-UX 8.05 */ typedef struct { WORD blkno; /* block number */ WORD asu; /* accesses since used */ } mem_bd; typedef struct { WORD blkno; /* block number */ WORD offset; /* offset in Block */ } RLCofs; typedef struct { char *fn; /* file name */ FILE *fp; /* file descriptor */ int nblocks; /* total number of blocks */ int rblocks; /* no of blocks resident in memory */ int blocksize; /* bytes per block */ RLCofs *ofs; /* Offset info for run access */ mem_bd *mbd; /* ptr to memory block data list */ char **bl; /* ptr to memory block pointer list */ int ImageLength; /* image length */ int ImageWidth; /* image width */ int LineNo; /* actual line number */ } vma; #define VM_DIRTY 1 #define VM_INUSE 2