Trailing-Edge
-
PDP-10 Archives
-
BB-H348C-RM_1982
-
swskit-v21/listings/mcb/srclfl.list
There are no other files named srclfl.list in the archive.
SRCLFL MACRO M1110 13-OCT-79 12:26 PAGE 3
1 .TITLE SRCLFL
2 .IDENT /V01.00/
3 ;
4 ; COPYRIGHT (C) 1978 BY
5 ; DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
6 ;
7 ;
8 ; THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED
9 ; ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH THE
10 ; INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR ANY OTHER
11 ; COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
12 ; OTHER PERSON. NO TITLE TO AND OWNERSHIP OF THE SOFTWARE IS HEREBY
13 ; TRANSFERRED.
14 ;
15 ; THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE
16 ; AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT
17 ; CORPORATION.
18 ;
19 ; DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS
20 ; SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
21 ;
22 ;
23 ; MODULE DESCRIPTION:
24 ;
25 ; NCU SERVICE MODULE TO CLOSE A FILE OR DEVICE
26 ;
27 ;
28 ; DISTRIBUTED SYSTEMS SOFTWARE ENGINEERING
29 ;
30 ; IDENT HISTORY:
31 ;
32 ; 1.00 10-FEB-78
33 ; VERSION 2.0 RELEASE
34 ;
SRCLFL MACRO M1110 13-OCT-79 12:26 PAGE 4
36 ;
37 ;======================================================================;
38 ;++
39 ; +-------------------------------------------------+
40 ; I I
41 ; I S R C L F L I
42 ; I - - - - - - I
43 ; I I
44 ; +-------------------------------------------------+
45 ;
46 ; FUNCTION:
47 ;
48 ; SERVICE MODULE TO CLOSE A FILE OR DEVICE
49 ;
50 ; INPUT:
51 ;
52 ; R5 - ADDRESS OF CONTROL BLOCK REQUESTING CLOSE
53 ; C.LUN - LOGICAL UNIT NUMBER FILE IS OPEN ON
54 ; C.SERV - ON INITIAL ENTRY, ZERO; ON COMPLETION ENTRY, ADDRESS OF
55 ; FILE LOGICAL UNIT DATABASE ENTRY
56 ;
57 ; OUTPUT:
58 ;
59 ; C-BIT - CLEAR IF PROCESSED, SET IF NOT
60 ; R5 - UPDATED CONTROL BLOCK
61 ; C.RET - RETURN CODE AS SPECIFIED FOR COMPLETION PROCESSING
62 ; ROUTINES
63 ; C.SERV - ON FINAL RETURN, ZERO; ON WAITING FOR COMPLETION,
64 ; ADDRESS OF FILE LOGICAL UNIT DATABASE ENTRY
65 ;
66 ; REQUIREMENTS:
67 ;
68 ; INPUT VIA FILE LOGICAL UNIT DATABASE ENTRY:
69 ;
70 ; ADDR - ADDRESS OF FDB FOR FILE
71 ; INUSE - TYPE OF OPEN WHICH WAS DONE
72 ;
73 ; CONTROL BLOCK SYMBOLS:
74 ;
75 ; C.LUN - OFFSET OF LOGICAL UNIT NUMBER FIELD
76 ; C.SERV - OFFSET OF SERVICE CONTEXT FIELD
77 ;
78 ; FILE LOGICAL UNIT DATABASE SYMBOLS:
79 ;
80 ; ADDR - OFFSET OF FDB ADDRESS IN ENTRY
81 ; INUSE - OFFSET OF IN USE FLAG IN ENTRY
82 ; DEVATT - IN USE VALUE IF DEVICE ATTACHED
83 ;
84 ; EFFECTS:
85 ;
86 ; OUTPUT VIA FILE LOGICAL UNIT DATABASE ENTRY:
87 ;
88 ; INUSE - CLEAR
89 ;
90 ;--
91 ;======================================================================;
92 ;
SRCLFL MACRO M1110 13-OCT-79 12:26 PAGE 4-1
93 ; EXTERNAL MACROS
94 ;
95 .MCALL PROC,FLUDF,CONDF,SAVSTK,RESSTK
96 ;
97 ; DEFINE EXTERNAL SYMBOLS
98 ;
99 000000 FLUDF ;FILE LOGICAL UNIT SYMBOLS
100 000000 CONDF ;CONTROL BLOCK SYMBOLS
SRCLFL MACRO M1110 13-OCT-79 12:26 PAGE 5
102 ;
103 ; PROCEDURE BODY
104 ;
105 000000 PROC SRCLFL
106 000000 SAVSTK <R4> ;SAVE REGISTER
107 000002 016504 000002 MOV C.SERV(R5),R4 ;GET SERVICE CONTEXT
108 000006 IF ; SERVICE CONTEXT = 0
109 000006 FALSE SET
110 000010 THEN
111 000010 116500 000020 MOVB C.LUN(R5),R0 ;LOGICAL UNIT FILE IS OPEN ON
112 000014 CALL SRCFLU ;CONVERT TO DATABASE ENTRY ADDRESS
113 000020 010004 MOV R0,R4 ;CHANGE REGISTER CONVENTION
114 000022 IF ; DEVICE ATTACHED ON LOGICAL UNIT
115 000022 FALSEB NE INUSE(R4),#DEVATT
116 000032 THEN
117 000032 CALL SRDTLU ;DETACH LOGICAL UNIT
118 000036 IF ; QUEUED SUCCESSFULLY
119 000036 FALSE CS
120 000040 THEN
121 000040 010465 000002 MOV R4,C.SERV(R5) ;SET SERVICE CONTEXT TO ENTRY ADDRESS
122 000044 ELSE
123 000046 CALL SRQDRF ;PROCESS QIO DIRECTIVE FAILURE
124 000052 ENDIF
125 000052 ELSE
126 000054 016400 000002 MOV ADDR(R4),R0 ;GET FDB ADDRESS
127 000060 CALL SRCLOS ;CLOSE IT UP
128 000064 IF ; PROCESSED
129 000064 FALSE CS
130 000066 THEN
131 000066 105064 000000 CLRB INUSE(R4) ;MARK LUN AVAILABLE
132 000072 ENDIF
133 000072 ENDIF
134 000072 ELSE
135 000074 105064 000000 CLRB INUSE(R4) ;MARK LUN AVAILABLE
136 000100 CALL SRQCM ;PROCESS COMPLETION
137 000104 005065 000002 CLR C.SERV(R5) ;CLEAR SERVICE CONTEXT AND C-BIT
138 000110 ENDIF
139 000110 RESSTK <R4> ;RESTORE REGISTER
140 000112 ENDPROC
141 000001 .END
SRCLFL MACRO M1110 13-OCT-79 12:26 PAGE 5-1
SYMBOL TABLE
ADDR = 000002 C$RCEV= 000050 FR$LCC= 000001 F$RCBK= 000002 N$$USR= 000001
A$$CHK= 000000 C$RCIN= 000062 FR$LCS= 000001 F$RCEV= 000001 P$$P45= 000000
A$$CPS= 000000 C$RCMA= 000146 FR$LNC= 000001 F$RCIN= 000000 RI$LCC= 000001
A$$TRP= 000000 C$RCMS= 000054 FR$LNL= 000001 F$RCMA= 000000 RI$LCS= 000002
CE$ACP= 177753 C$RDBK= 000043 FR$LNS= 000001 F$RCMS= 000002 RI$LNC= 000007
CE$ADR= 177776 C$RDCM= 000035 FR$RMC= 000001 F$RDBK= 000000 RI$LNL= 000006
CE$CON= 177770 C$RDIN= 000040 FR$RML= 000001 F$RDCM= 000000 RI$LNS= 000010
CE$DIS= 177771 C$RDIS= 000040 FR$RMS= 000001 F$RDIN= 000001 RI$RMC= 000004
CE$EOF= 177767 C$RDRC= 000060 FS$HOS= 000001 F$RDIS= 000012 RI$RML= 000003
CE$FAI= 177774 C$RLBF= 000001 FS$INT= 000000 F$RDRC= 000000 RI$RMS= 000005
CE$FIL= 177756 C$RLCB= 000002 FS$LLP= 000001 F$RECO= 000001 RI$ZLC= 000011
CE$FUN= 177777 C$RLCI= 000000 FS$LOF= 000001 F$RLBF= 000001 RI$ZLN= 000013
CE$GEN= 177774 C$STBK= 000055 FS$LOG= 000001 F$RLCB= 000001 RI$ZRM= 000012
CE$IND= 177757 C$STPR= 000037 FS$LST= 000001 F$STBK= 000000 R$$DER= 000000
CE$IO = 177760 C$STPS= 000037 FS$NET= 000001 F$STPR= 000001 R$$K11= 000001
CE$LEN= 177775 C$TRBK= 000046 FS$NST= 000000 F$STPS= 000006 R$$SND= 000000
CE$LID= 177766 C$TRIN= 000063 FS$PAS= 000001 F$TEST= 000001 R$$11M= 000000
CE$LST= 177752 C$TRMA= 000145 FT$CNS= 000000 F$TRAC= 000000 SP$DHO= 000003
CE$NOD= 177765 C$TRMS= 000053 FT$NOD= 000001 F$TRBK= 000001 SP$DRP= 000007
CE$NSD= 177755 C$WRBK= 000044 FT$TSK= 000001 F$TRIG= 000001 SP$DTP= 000010
CE$NST= 177754 C$WRCL= 000065 F$ALBF= 000001 F$TRIN= 000000 SP$LHO= 000002
CE$NWE= 177773 C$WRCM= 000036 F$ALCB= 000001 F$TRMA= 000000 SP$LLP= 000011
CE$OBJ= 177750 C$WRRC= 000061 F$CB = 000017 F$TRMS= 000002 SP$LNM= 000016
CE$OPN= 177761 C$ZRCN= 000064 F$CLCL= 000001 F$WRBK= 000000 SP$LNO= 000015
CE$OVR= 177764 C$$CKP= 000000 F$CLCO= 000000 F$WRCL= 000001 SP$LOF= 000012
CE$PAR= 177763 C$$ORE= 000400 F$CLFL= 000000 F$WRCM= 000000 SP$LST= 000001
CE$PRO= 177751 C$$RSH= 177564 F$CLLK= 000006 F$WRRC= 000000 SP$NDM= 000014
CE$REJ= 177772 C.ADDR= 000014 F$CLLN= 000002 F$ZERO= 000001 SP$NDO= 000013
CE$TMO= 177762 C.BKNM= 000014 F$DPOS= 000001 F$ZRCN= 000001 SP$NST= 000006
CS$ACK= 000002 C.CTXT= 000004 F$DUMP= 000000 F$$LVL= 000001 SP$RRP= 000004
CS$LKE= 000001 C.FUNC= 000006 F$EVNT= 000001 F$150 = 000002 SP$RTP= 000005
CS$LNA= 000002 C.LEN = 000012 F$EXAM= 000001 F$300 = 000012 SRCFLU= ****** GX
CS$LOG= 000003 C.LINE= 000014 F$EXHO= 000000 F$50 = 000002 SRCLFL 000000RG
CS$NCH= 000003 C.LKNM= 000020 F$GTCM= 000001 F$550 = 000002 SRCLOS= ****** GX
CS$SUC= 000001 C.LUN = 000020 F$INCM= 000000 G$$TPP= 000000 SRDTLU= ****** GX
C$ALBF= 000032 C.MODE= 000021 F$INLU= 000001 G$$TSS= 000000 SRQCM = ****** GX
C$ALCB= 000033 C.PRID= 000017 F$IRLU= 000000 G$$TTK= 000000 SRQDRF= ****** GX
C$CLCL= 000067 C.PROC= 000007 F$LKLU= 000010 INUSE = 000000 S$$WRG= 000000
C$CLCO= 000003 C.PROM= 000016 F$LNLU= 000002 I$$RAR= 000000 S$$YSZ= 001600
C$CLFL= 000004 C.PTR = 000000 F$LNSR= 000001 I$$RDN= 000000 T$$KMG= 000000
C$CLLK= 000052 C.RET = 000010 F$LOAD= 000000 K$$CNT= 177546 T$$MIN= 000000
C$CLLN= 000005 C.SAVE= 000022 F$LOGD= 000001 K$$CSR= 177546 V$$CTR= 001000
C$LEN = 000026 C.SERV= 000002 F$LOOP= 000001 K$$LDC= 000000 X$$DBT= 000000
C$NOPN= 000031 C.TASK= 000016 F$NTCM= 000000 K$$TPS= 000074 YES = 000001
C$NORD= 000032 C.TYPE= 000016 F$OPCL= 000001 LD$LP = 000000 $$CSTA= 000000
C$OPCL= 000066 C.WAIT= 000020 F$OPCO= 000000 LUN = 000001 $$PRST= 000013
C$OPCO= 000034 DEVATT= 000002 F$OPIN= 000000 L$$ASG= 000000 $$STIX= 000777
C$OPIN= 000041 D$$BUG= 177514 F$OPIR= 000000 L$$DRV= 000000 $$STNM= 000000
C$OPIR= 000056 D$$ISK= 000000 F$OPLK= 000005 L$$P11= 000001 $$S772= 000011
C$OPLK= 000051 D$$L11= 000001 F$OPLN= 000002 L$$11R= 000000 $$S773= 000011
C$OPLN= 000045 ENTLEN= 000004 F$OPLO= 000000 M$$CRB= 000124 $$S774= 000077
C$OPOR= 000057 FILOPE= 000001 F$OPOR= 000000 M$$CRX= 000000 $$S775= 000010
C$OPOT= 000042 FL$BOO= 000001 F$OPOT= 000000 M$$FCS= 000000 $$S776= 000000
C$ORD = 000145 FL$DUM= 000001 F$ORLU= 000000 M$$OVR= 000000 $$S777= 000000
C$PROC= 000200 FL$LOA= 000001 F$OTLU= 000001 NO = 000000 $$TRNM= 000000
C$RCBK= 000047 FL$LOO= 000001
SRCLFL MACRO M1110 13-OCT-79 12:26 PAGE 5-2
SYMBOL TABLE
. ABS. 000000 000
000114 001
ERRORS DETECTED: 0
VIRTUAL MEMORY USED: 8975 WORDS ( 36 PAGES)
DYNAMIC MEMORY: 10060 WORDS ( 38 PAGES)
ELAPSED TIME: 00:00:33
SRCLFL,[135,30]SRCLFL/CR/-SP=[130,10]NETLIB/ML,[135,10]CFGNIC/PA:1,SRCLFL
SRCLFL CREATED BY MACRO ON 13-OCT-79 AT 12:26 PAGE 1
SYMBOL CROSS REFERENCE CREF
SYMBOL VALUE REFERENCES
ADDR = 000002 #4-99 5-126
C.LUN = 000020 5-111
C.SERV = 000002 5-107 *5-121 *5-137
DEVATT = 000002 #4-99 5-115
ENTLEN = 000004 #4-99
FILOPE = 000001 #4-99
F$TRAC = 000000 5-105 5-105 5-140 5-140
INUSE = 000000 #4-99 5-115 *5-131 *5-135
I$$AS = ****** 5-105
LUN = 000001 #4-99
R$$11D = ****** 5-105
R$$11M = 000000 5-105
SRCFLU = ****** GX 5-112
SRCLFL 000000 RG #5-105
SRCLOS = ****** GX 5-127
SRDTLU = ****** GX 5-117
SRQCM = ****** GX 5-136
SRQDRF = ****** GX 5-123
$$CSTA = 000000 #5-105
$$PRST = 000013 #5-105 *5-108 #5-108 *5-114 #5-114 5-118 #5-118 5-128 #5-128
$$SLST = ****** 5-105 5-109 5-110 5-115 5-115 5-116 5-119 5-120 5-122
5-122 5-124 5-125 5-125 5-129 5-130 5-132 5-133 5-134
5-134 5-138 5-140
$$STIX = 000777 #5-105 *5-108 *5-108 #5-108 *5-108 *5-108 #5-108 *5-114 *5-114
#5-114 *5-114 *5-114 #5-114 5-118 5-118 #5-118 5-118 5-118
#5-118 5-124 #5-124 5-124 5-124 #5-124 5-124 5-128 5-128
#5-128 5-128 5-128 #5-128 5-132 #5-132 5-132 5-132 #5-132
5-132 5-133 #5-133 5-133 5-133 #5-133 5-133 5-138 #5-138
5-138 5-138 #5-138 5-138
$$STNM = 000000 #5-105 *5-108 #5-108 *5-108 5-109 5-110 *5-114 #5-114 *5-114
5-115 5-116 5-118 #5-118 5-118 5-119 5-120 *5-122 5-122
5-124 #5-124 5-125 5-125 5-128 #5-128 5-128 5-129 5-130
5-132 #5-132 5-133 #5-133 5-134 5-134 5-138 #5-138
$$S772 = 000011 #5-118 5-124 #5-128 5-132
$$S773 = 000011 #5-118 5-124 #5-128 5-132
$$S774 = 000077 #5-114 5-133
$$S775 = 000010 #5-114 5-133
$$S776 = 000000 #5-108 5-138
$$S777 = 000000 #5-108 5-138
$$TRNM = 000000 #5-105 *5-108 #5-108 5-109 5-110 *5-114 #5-114 5-115 5-116
5-118 #5-118 5-119 5-120 5-122 #5-122 5-124 #5-124 5-125
#5-125 5-128 #5-128 5-129 5-130 5-132 #5-132 5-133 #5-133
5-134 #5-134 5-138 #5-138
SRCLFL CREATED BY MACRO ON 13-OCT-79 AT 12:26 PAGE 2
MACRO CROSS REFERENCE CREF
MACRO NAME REFERENCES
CALL #5-112 #5-117 #5-123 #5-127 #5-136
CASE #5-105
CONDF #4-95 #4-100
DO #5-105
ELSE #5-105 5-122 5-125 5-134
ENDCAS #5-105
ENDIF #5-105 #5-124 #5-132 #5-133 #5-138
ENDPRO #5-105 5-140
ENDWHI #5-105
FALSE #5-105 5-109 5-119 5-129
FALSEB #5-105 5-115
FLUDF #4-95 #4-99
IF #5-105 #5-108 #5-114 #5-118 #5-128
JMPPRO #5-105
ONCASE #5-105
PROC #4-95 5-105
PROCLC #5-105
RESSTK #4-95 #5-139
SAVSTK #4-95 5-106
SWSTK$ #5-105
THEN #5-105 #5-110 #5-116 #5-120 #5-130
TRUE #5-105
TRUEB #5-105
WHILE #5-105
$$BGND #5-105 #5-109 #5-115 #5-119 #5-129
$$BGNN #5-105 5-109 5-115 5-119 5-122 5-125 5-129 5-134
$$ELSE #5-105 5-122 5-125 5-134
$$GEN1 #5-105 5-105 5-109 5-110 5-115 5-116 5-119 5-120 5-122 5-122
5-124 5-125 5-125 5-129 5-130 5-132 5-133 5-134 5-134 5-138
5-140
$$GEN2 #5-105 #5-115
$$GNAB #5-105 #5-115 #5-119 #5-129
$$GNBT #5-105 5-109
$$GNCM #5-105 5-109 5-115 5-119 5-129
$$INMC #5-105 5-105
$$INSY #5-105 5-105
$$LAB #5-105 5-110 5-116 5-120 5-122 5-124 5-125 5-130 5-132 5-133
5-134 5-138
$$POP #5-105 5-124 5-124 5-132 5-132 5-133 5-133 5-138 5-138
$$POPI #5-105 5-124 5-124 5-132 5-132 5-133 5-133 5-138 5-138
$$PUSH #5-105 #5-108 #5-108 #5-114 #5-114 #5-118 #5-118 #5-128 #5-128
$$STSM #5-105 #5-108 #5-108 #5-114 #5-114 #5-118 #5-118 #5-128 #5-128
$$SYS #5-105
$$TRCE #5-105 5-105 5-140