top - download
⟦f1884c293⟧ Wang Wps File
Length: 16415 (0x401f)
Types: Wang Wps File
Notes: Spelunked
Names: »~ORPHAN72.00«
Derivation
└─⟦5a07e954e⟧ Bits:30006038 8" Wang WCS floppy, CR 0062A
└─ ⟦this⟧ »~ORPHAN72.00«
WangText
G…0b…G F…0c…F…06…E…0f…D…08…D…02…C…0b……14… …13……08……13……0c……13……01……13……07……12……0e……12…
…12……07……11……0d……11……02……10……08……10……0d……10……02……0f……86…1
…02…
…02…
…02…
…02…CPS/SDS/002
…02…OKH/810801…02……02…
CAMPS
SYSTEM
FUNCTIONS
…02……02…CAMPS
T̲A̲B̲L̲E̲ ̲O̲F̲ ̲C̲O̲N̲T̲E̲N̲T̲S̲
1 GENERAL ......................................
13
1.1 PURPOSE AND SCOPE .......................
13
1.2 APPLICABLE DOCUMENTS AND PROJECT
REFERENCES ...............................
13
1.2.1 Applicable Documents .................
13
1.3 TERMS AND ABBREVIATIONS ..................
13
1.3.1 Terms ...............................
13
1.3.2 Abbreviations ........................
14
2 SUMMARY OF REQUIREMENTS ......................
15
2.1 PACKAGE DESCRIPTION ......................
15
2.2 CSF FUNCTIONS ............................
15
2.2.1 CSF Main Functions ...................
15
2.2.1.1 Shared Buffer Management .........
15
2.2.1.2 Queue Monitor ....................
16
2.2.1.2.1 Queue Attributes .............
17
2.2.1.2.2 Queue Elements ..............
17
2.2.1.2.2.1 QEL Fields ...............
18
2.2.1.2.2.2 Function Requests ........
18
2.2.1.2.3 Queue Monitor Functions ......
19
2.2.1.2.3.1 Send Functions ...........
19
2.2.1.2.3.2 Receie Functions ........
20
2.2.1.2.3.3 Return ...................
21
2.2.1.2.3.4 Dismantle ................
21
2.2.1.2.3.5 Queue Control Functions ..
21
2.2.1.2.3.6 Queue Monitor
Initializaion ...........
22
2.2.1.3 Timer Monitor ....................
22
2.2.1.3.1 Current Time ................
22
2.2.1.2.2 Timer Driven Events ..........
23
2.2.1.3.2.1 Timer Event Claim .........
23
2.2.1.4 Messge Monitor ..................
23
2.2.1.4.1 Parameter Check and Conversion
24
2.2.1.4.2 Active MMON Functions ........
25
2.2.1.5 Coroutine Monitor Functions ......
25
2.2.1.5.1 Coroutine States .............
28
2.2.1.5.2 Semaphores and Operations ....
30
2.2.1.5.3 Coroutie System Calls .......
32
2.2.1.5.4 Priority .....................
32
2.2.1.5.5 Sub-Process Concept ..........
32
2.2.1.6 System Call Monitor Functions ....
32
2.2.1.6.1 Functional Description .......
38
2.2..6.1.1 Initiate System Call .....
38
2.2.1.6.1.2 Wait for Next System Call
Completion ...............
41
2.2.1.6.1.3 Wait for Completion of a
System Call ..............
41
2.2.1.6.1.4 Cancela System Call .....
41
2.2.1.6.1.5 Combined Init-Wait .......
41
2.2.1.6.2 Special Cases ................
42
2.2.1.6.2.1 Queue Monitor ............
42
2.2.1.6.2.2 I/O System ...............
42
2.2.1.6.2.3 Process Communication
Interface ................
42
2.2.2 Functional Responsibilities ..........
43
2.2.2.1 Initialization, Close Down, and
Restart ..........................
43
2.2.2.2 Checkpointing andRecovery .......
43
2.2.2.3 Error Detection and Error Handling
44
2.2.2.4 Integrity of Operation ...........
45
2.2.2.5 Data Collection ..................
45
2.2.2.6 Security .........................
46
2.2.2.6.1 Sub-Process Concept ..........
47
2.2.2.6.2 Qprofiles ....................
47
2.2.2.6.2.1 Comparison of Qprofile ...
49
2.2.2.6.2.2 Assignment of Qprofile ...
49
2.2.2.6.3 Access Control Mechanism .....
53
2.2.2.6.4 Automatic Deletion ........... 54
2.3 CHARACTERISTICS ..........................
57
2.3.1 Timing ...............................
57
2.3.1.1 QMON Timing ......................
57
2.3.1.2 MMON Timing .....................
57
2.3.1.3 TMON Timing ......................
57
2.3.2 Throughput ...........................
58
2.3.3 Flexibility ..........................
58
2.3.4 Accuracy .............................
58…86…1 …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02…
2.3.5 Memory Consumption ...................
58
2.3.5.1 Basic Assumptions ................
59
2.3.5.2 Program Size .....................
60
2.3.5.3 Data Sie ........................
60
3 ENVIRONMENTS .................................
61
3.1 EQUIPMENT ................................
61
3.2 SOFTWARE .................................
61
3.2.1 System Software ......................
61
3.2.2 Development Support Software .........
61
3.3 INTERFACES ...............................
61
3.3.1 External Interfaces ..................
61
3.3.2 Package Interfaces ...................
61
3.4 Functions Maintaied by Other Packages ...
62
3.4.1 Functions Maintained by KERNEL .......
62
3.4.2 Functions Maintained by MMS ..........
62
3.4.3 Functions Maintained by SSC ..........
62
4 PACKAGE DESIGN ..............................
63
1̲0̲4̲8̲A̲…00…CPS/SDS/002 …00…vhn …00…OKH
…00…Fra Table of Content…00…1̲6̲…00…0̲6̲…00…8̲1̲…00…0̲9̲…00…4̲4̲…00… ̲ ̲ ̲8̲…00…0̲6̲…00… ̲4̲6̲2̲1̲1̲…00…1̲2̲…00…1̲0̲…00…8̲1̲…00…1̲0̲…00…1̲8̲…00…
̲ ̲ ̲ ̲…00…00…00… ̲ ̲ ̲ ̲ ̲7…00…0̲7̲…00…0̲8̲…00…8̲1̲…00…1̲3̲…00…0̲0̲…00…12…00…10…00…81…00…10…00…20…00…0062A…00… 61…00… ̲ ̲1̲5̲…00…59…00… 1000…00… ̲7̲1̲8̲0̲4…00……0c……00……00……00……01……01……00……10……00……01……10……06…f…10……11… …80…*̲J̲…15……05……00……00……00……00……00……00……01…7
9…01……86……00……00……00……00…F…0a……00……00…F…0b…F
E…0c…E D…0e…D…07…C…00…B…0a…B
…14… …13……08……13……0c……13……01……13……07……12……0e……12…
…12……07……11……0d……11……02……10……08……10……0d……10……02……0f……86…1 …02…
…02… …02…
…02…CPS/SDS/002
…02…OKH/810801…02……02…
CAMPS SYSTEM FUNCTIONS
…02……02…CAMPS
T̲A̲B̲L̲E̲ ̲O̲F̲ ̲C̲O̲N̲T̲E̲N̲T̲S̲
1 GENERAL ......................................
13
1.1 PURPOSE AND SCOPE .......................
13
1.2 APPLICABLE DOCUMENTS AND PROJECT
REFERENCES ...............................
13
1.2.1 Applicable Documents .................
13
1.3 TERMS AND ABBREVIATIONS ..................
13
1.3.1 Terms ...............................
13
1.3.2 Abbreviations ........................
14
2 SUMMARY OF REQUIREMENTS ......................
15
2.1 PACKAGE DESCRIPTION ......................
15
2.2 CSF FUNCTIONS ............................
15
2.2.1 CSF Main Functions ...................
15
2.2.1.1 Shared Buffer Management .........
15
2.2.1.2 Queue Monitor ....................
16
2.2.1.2.1 Queue Attributes .............
17
2.2.1.2.2 Queue Elements ..............
17
2.2.1.2.2.1 QEL Fields ...............
18
2.2.1.2.2.2 Function Requests ........
18
2.2.1.2.3 Queue Monitor Functions ......
19
2.2.1.2.3.1 Send Functions ...........
19
2.2.1.2.3.2 Receie Functions ........
20
2.2.1.2.3.3 Return ...................
21
2.2.1.2.3.4 Dismantle ................
21
2.2.1.2.3.5 Queue Control Functions ..
21
2.2.1.2.3.6 Queue Monitor
Initializaion ...........
22
2.2.1.3 Timer Monitor ....................
22
2.2.1.3.1 Current Time ................
22
2.2.1.2.2 Timer Driven Events ..........
23
2.2.1.3.2.1 Timer Event Claim .........
23
2.2.1.4 Messge Monitor ..................
23
2.2.1.4.1 Parameter Check and Conversion
24
2.2.1.4.2 Active MMON Functions ........
25
2.2.1.5 Coroutine Monitor Functions ......
25
2.2.1.5.1 Coroutine States .............
28
2.2.1.5.2 Semaphores and Operations ....
30
2.2.1.5.3 Coroutie System Calls .......
32
2.2.1.5.4 Priority .....................
32
2.2.1.5.5 Sub-Process Concept ..........
32
2.2.1.6 System Call Monitor Functions ....
32
2.2.1.6.1 Functional Description .......
38
2.2..6.1.1 Initiate System Call .....
38
2.2.1.6.1.2 Wait for Next System Call
Completion ...............
41
2.2.1.6.1.3 Wait for Completion of a
System Call ..............
41
2.2.1.6.1.4 Cancela System Call .....
41
2.2.1.6.1.5 Combined Init-Wait .......
41
2.2.1.6.2 Special Cases ................
42
2.2.1.6.2.1 Queue Monitor ............
42
2.2.1.6.2.2 I/O System ...............
42
2.2.1.6.2.3 Process Communication
Interface ................
42
2.2.2 Functional Responsibilities ..........
43
2.2.2.1 Initialization, Close Down, and
Restart ..........................
43
2.2.2.2 Checkpointing andRecovery .......
43
2.2.2.3 Error Detection and Error Handling
44
2.2.2.4 Integrity of Operation ...........
45
2.2.2.5 Data Collection ..................
45
2.2.2.6 Security .........................
46
2.2.2.6.1 Sub-Process Concept ..........
47
2.2.2.6.2 Qprofiles ....................
47
2.2.2.6.2.1 Comparison of Qprofile ...
49
2.2.2.6.2.2 Assignment of Qprofile ...
49
2.2.2.6.3 Access Control Mechanism .....
53
2.2.2.6.4 Automatic Deletion ........... 54
2.3 CHARACTERISTICS ..........................
57
2.3.1 Timing ...............................
57
2.3.1.1 QMON Timing ......................
57
2.3.1.2 MMON Timing .....................
57
2.3.1.3 TMON Timing ......................
57
2.3.2 Throughput ...........................
58
2.3.3 Flexibility ..........................
58
2.3.4 Accuracy .............................
58…86…1 …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02…
2.3.5 Memory Consumption ...................
58
2.3.5.1 Basic Assumptions ................
59
2.3.5.2 Program Size .....................
60
2.3.5.3 Data Sie ........................
60
3 ENVIRONMENTS .................................
61
3.1 EQUIPMENT ................................
61
3.2 SOFTWARE .................................
61
3.2.1 System Software ......................
61
3.2.2 Development Support Software .........
61
3.3 INTERFACES ...............................
61
3.3.1 External Interfaces ..................
61
3.3.2 Package Interfaces ...................
61
3.4 Functions Maintaied by Other Packages ...
62
3.4.1 Functions Maintained by KERNEL .......
62
3.4.2 Functions Maintained by MMS ..........
62
3.4.3 Functions Maintained by SSC ..........
62
4 PACKAGE DESIGN ..............................
63
4.1 PACKAGE OVERVIEW ..........................
63
4.1.1 Functional Specification ..............
63
4.1.1.1 Common Function Overview ..........
63
4.1.1.2 Queue Monitor Overview ............
65
4.1.1.2.1 Queue Structure ..............
65
4.1.1.2.2 Queue Referencing .............
65
4.1.1.2.2.1 Queue Capabilities .......
66
4.1.1.2.3 Queue Elements ................
66
4.1.1.2.3.1 QEL Creation and Deletion .
67
4.1.1.2.3.2 Queu Element Ownership ..
69
4.1.1.2.3.3 View Control Information .
69
4.1.1.2.4 Function Request ..............
70
4.1.1.2.5 Queue Blocking ................
70
4.1.1.2.6 Waiting in Queues .............
71
4.1.1.3 imer Monitor Overview ............
76
4.1.1.4 Message Monitor Overview ..........
77
4.1.1.5 Coroutine Monitor Overview ........
77
4.1.1.6 System Call Monitor Overview ......
77
4.1.2 Software Structure ....................
79
4.1.3 Data Flow and Control Logic ...........
83
4.1.3.1 Exclusiv Access to Control Data ..
83
4.1.3.2 Deadlock Prevention ...............
84
4.1.4 Package Data ..........................
88
4.1.5 Common Data ...........................
90
4.1.6 Interfaces ............................
90
4.1.6.1 External Interfaces ...............
90
4.1.6.2 Package Interfaces ................
90
4.1.6.2.1 Common Functions Interfaces ...
90
4.1.6.2.2 QMON ..........................
92
4.1.6.2.2.1 Receive First QEL ........
94
4.1.6.2.2.2 Receive Next QEL ..........
95
4.1.6.2.2.3 Return ....................
96
4.1.6.2.2.4 Dismantle .................
96
4.1.6.2.2.5 Send ......................
97
4.1.6.2.2.6 Send Request .............
98
4.1.6.2.2.7 Send Reply ................
99
4.1.6.2.2.8 Send Timeout ..............
100
4.1.6.2.2.10 Set Profile .............
100
4.1.6.2.2.11 Block Queue .............
101
4.1.6.2.2.12 Unblock Qeue ........... 101
4.1.6.2.2.13 Set Capability ..........
101
4.1.6.2.2.14 Get Q Attributes ........
102
4.1.6.2.2.15 Get Q Length ............
102
4.1.6.2.2.16 Get QEL Attributes ......
103
4.1.6.2.2.17 Initialie Queues ....... 103
4.1.6.2.2.18 Set Queue Threshold .....
104
4.1.6.2.3 Timer Monitor (Interface) .....
104
4.1.6.2.3.1 Read Time .................
106
4.1.6.2.3.2 Convert Time to ASCII .....
107
4.1.6.2.3.3 Conert Time Format ....... 108
4.1.6.2.3.4 Set Time ..................
109
4.1.6.2.3.5 Request Time Out ..........
109
4.1.6.2.3.6 Cancel Time Out ...........
110
4.1.6.2.4 Message Monitor Interfaces ....
111
4.1.6.2. Coroutine Monitor Interfaces ..
116
4.1.6.2.6 System Call Monitor Interfaces
119
4.1.6.2.6.1 General System Call
Conventions ...............
119
4.1.6.2.6.2 General Wait-Complete
Function Conventions .... 120
4.1.6.2.6.3 Interface to Service
System ....................
121
4.2 SUB-PACKAGE SPECIFICATIONS ...............
128
4.2.1 CSF Common Functions .................
128
4.2.1.1 Functinal Specification ......... 128
4.2.1.1.1 Subprocess Management ........
130
4.2.1.1.1.1 Get Subprocess ............
130
4.2.1.1.1.2 Change Subprocess Id .....
130
4.2.1.1.1.3 Change Subprocess
Attributes............... 131
4.2.1.1.1.4 Check Page Access Rights .
131
4.2.1.1.2 Buffer and Control Block
Management ...................
131
4.2.1.1.2.1 Reserve Buffer ...........
132
4.2.1.1.2.2 Dismantle Buffer......... 132
4.2.1.1.2.3 Write Buffer .............
132
4.2.1.1.2.4 Read Buffer ..............
133
4.2.1.1.2.5 Allocate Control Block ...
133
4.2.1.1.2.6 Release Control Block ....
133
4.2.1.1.3 List and Chan Manipulation .. 134
4.2.1.1.4 Log and Report Generation ....
134
4.2.1.2 Software Structure ...............
134
4.2.1.3 Data Flow and Control Logic ......
134
4.2.1.4 Subpackage Data ..................
134
4.2.1.4. Subprocess Record ............ 136
4.2.1.4.2 Buffer Pool ..................
137
4.2.1.5 Common Functions Interface .......
138
4.2.2 Queue Monitor ........................
139
4.2.2.1 Functional Specification .........
39
4.2.2.1.1 Receive ......................
142
4.2.2.1.1.1 Receive First QEL ........
142
4.2.2.1.1.2 Inspect Receive ..........
143
4.2.2.1.1.3 Cancel Receive ...........
144
4.2.2.1.1.4 Receive Next QEL ........ 144
4.2.2.1.2 Clearing .....................
147
4.2.2.1.2.1 Return ...................
147
4.2.2.1.2.2 Dismantle ................
148
4.2.2.1.3 Send .........................
150
4.2.2.1.3.1 Send QEL ................ 151
4.2.2.1.3.2 Send Request .............
151
4.2.2.1.3.3 Send Reply ...............
152
4.2.2.1.4 Profiles and Blocking ........
155
4.2.2.1.4.2 Set Profile ..............
155
4.2.2.1.4.3 Block