.IF DF V$$LST .TITLE VFPRE -- Prefix Definitions .IDENT /V03.00/ .ENDC ; DF V$$LST ; ; VFPRE.MAC -- Prefix file for all Virtual Disk package modules ; ; ************************************************************************ ; * ; Although this program has been tested by the Geological Survey, * ; United States Department of the Interior, no warranty, expressed or * ; implied, is made by the Geological Survey as to the accuracy and * ; functioning of the program and related program material nor shall * ; the fact of distribution constitute any such warranty, and no respon- * ; sibility is assumed by the Geological Survey in connection therewith. * ; * ; Full permission and consent is hereby given to DECUS and to the DECUS * ; Special Interest Groups to reproduce, distribute, and publish and * ; permit others to reproduce in whole or in part, in any form and * ; without restriction, this program and any information relating thereto * ; * ; ************************************************************************ ; ; Define UCB offsets ; .MCALL UCBDF$ UCBDF$ ; Define UCB offsets ;D$$BUG = 0 ; Enable to perform debugging ;P$$LOG = 0 ; Enable to perform logging .IF DF D$$BUG!P$$LOG .MCALL PKTDF$,SHDDF$ PKTDF$ ; Define I/O packet offsets SHDDF$ ; Define Shadow recording offsets .ENDC ; DF D$$BUG ; ; Define additional offsets that we require ; LD$VF = 0 ; Loadable VFDRV MX$FIL = 16. ; Maximum of 16. container files .IIF NDF P$$OOL .ERROR ; VFDRV requires secondary pool support .IIF NDF R$$IIC .ERROR ; VFDRV requires Internal I/O Completion support .ASECT . = U.CNT+16 ; End of required UCB offsets U.XFLG: .BLKB 1 ; Device flags byte U.XFIL: .BLKB 1 ; Number of active file segments U.XGRP: .BLKB 1 ; Group protection code .BLKB 1 ; Reserved U.CTLP: .BLKW 1 ; Secondary block bias .BLKW 1 ; Secondary block displacement U.IOSB: .BLKW 3 ; Save area for I/O packet I/O status U.XLBN: .BLKW 2 ; Base LBN for current transfer U.ISB2: .BLKW 1 ; Bytes transferred thus far U.VLNK: .BLKW 1 ; Link of all virtual disk UCB's .IF DF P$$LOG U.SPKT: .BLKW 1 ; Link word .BLKW 1 ; Length word .BLKW 2 ; Sender task name U.ISTS: .BLKW 2 ; Saved I/O status U.PKT: .BLKB I.LGTH ; Save area for I/O packet U.PKT2: .BLKB I.LGTH ; Save area for target I/O packet U.MLND: .BLKB ML.LGH ; Save area for ML node U.PUCB: .BLKW 1 ; TI: UCB address .BLKW 1 ; Current UIC .BLKW 2 ; Target MU task name U.PKLN = . - U.SPKT .ENDC ; DF P$$LOG ; ; Device flags byte (U.XFLG) bit settings ; XF.WPR = 1 ; Device is write-protected ; ; Define Secondary Block file control offsets ; .=0 X.UCB: .BLKW 1 ; UCB address of target device X.FLAG: .BLKW 1 ; File flags word X.SIZE: .BLKW 2 ; File size in blocks X.OFF: .BLKW 2 ; Virtual LBN offset for this file X.BASE: .BLKW 2 ; Physical LBN base for this file X.FID: .BLKW 3 ; File ID on device X.LEN = . ; ; File flags word (X.FLAG) bit settings ; XF.LCK = 1 ; File has lock bit set XF.TRN = 2 ; Volume transaction count incremented XF.RON = 4 ; Container file is read-only .PSECT .IIF DF V$$LST .END