DataMuseum.dk

Presents historical artifacts from the history of:

CR80 Wang WCS documentation floppies

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about CR80 Wang WCS documentation floppies

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦c241f47e3⟧ Wang Wps File

    Length: 55054 (0xd70e)
    Types: Wang Wps File
    Notes: CPS/SDS/024               
    Names: »1491A «

Derivation

└─⟦e8bc85b7f⟧ Bits:30005802 8" Wang WCS floppy, CR 0105A
    └─ ⟦this⟧ »1491A « 

WangText




…02…CPS/SDS/024

…02…850901…02……02…
CAMPS SYSTEM FUNCTIONS
DETAILED DESIGN SPECIFICATION…02…ISSUE 2…02…CAMPS










                 T̲A̲B̲L̲E̲ ̲O̲F̲ ̲C̲O̲N̲T̲E̲N̲T̲S̲



   1   GENERAL .........................................
       1-001

     1.1 PURPOSE AND SCOPE .............................
         1-001
     1.2 APPLICABLE DOCUMENTS AND PROJECT REFERENCES ...
         1-001
       1.2.1 APPLICABLE DOCUMENTS ......................
             1-001

     1.3 TERMS AND ABBREVIATIONS .......................
         1-002
       1.3.1 Terms .....................................
             1-002
       1.3.2 Abbreviations .............................
             1-002

   2   SUMMARY OF REQUIREMENTS .........................
       2-001

     2.1 PACKAGE DESCRIPTION ...........................
         2-001
     2.2 CSF FUNCTIONS .................................
         2-001
       2.2.1 CSF Main Functions ........................
             2-001
         2.2.1.1 Shared Buffer Management ..............
         2-001
         2.2.1.2 Queue Monitor .........................
                 2-002
           2.2.1.2.1 Queue Attributes ..................
                     2-002
           2.2.1.2.2 Queue Elements ....................
                     2-003
             2.2.1.2.2.1 QEL Fields ....................
                         2-003
             2.2.1.2.2.2 Function Requests .............
                         2-004

           2.2.1.2.3 Queue Monitor Functions ...........
                     2-004
             2.2.1.2.3.1 Send Functions ................
                         2-004
             2.2.1.2.3.2 Receive Functions .............
                         2-006
             2.2.1.2.3.3 Return ........................
                         2-007
             2.2.1.2.3.4 Dismantle .....................
                         2-007
             2.2.1.2.3.5 Queue Control Functions .......
                         2-007
             2.2.1.2.3.6 Queue Monitor Initialization
                         .. 2-008

         2.2.1.3 Timer Monitor .........................
                 2-008
           2.2.1.3.1 Current Time ......................
                     2-008
           2.2.1.3.2 Timer Driven Events ...............
                     2-008
             2.2.1.3.2.1 Timer Event Claim .............
                         2-009

         2.2.1.4 Message Monitor .......................
                 2-009
           2.2.1.4.1 Parameter Check and Conversion ....
                     2-009
           2.2.1.4.2 Active MMON Functions .............
                     2-010

         2.2.1.5 Coroutine Monitor Functions ...........
                 2-011
           2.2.1.5.1 Coroutine States ..................
                     2-014
           2.2.1.5.2 Semaphores and Operations .........
                     2-016
           2.2.1.5.3 Coroutine System Calls ............
                     2-018
           2.2.1.5.4 Priority ..........................
                     2-018
           2.2.1.5.5 Sub-Process Concept ...............
                     2-018



         2.2.1.6 System Call Monitor Functions .........
                 2-018
           2.2.1.6.1 Functional Description ............
                     2-024
             2.2.1.6.1.1 Init System Call ..............
                         2-024
             2.2.1.6.1.2 Wait for Next System Call
                         Completion ....................
                         2-027
             2.2.1.6.1.3 Wait for Completion of a 
                         System Call ...................
                         2-027
             2.2.1.6.1.4 Cancel a System Call ..........
                         2-027
             2.2.1.6.1.5 Combined Init-Wait ............
                         2-027

           2.2.1.6.2 Special Cases .....................
                     2-028
             2.2.1.6.2.1 Queue Monitor .................
                         2-028
             2.2.1.6.2.2 I/O System ....................
                         2-028
             2.2.1.6.2.3 Process Communication Inter-
                         face ..........................
                         2-028

         2.2.1.7 Trace Function ........................
                 2-029
         2.2.1.8 CSF Segmentation ......................
                 2-029
           2.2.1.8.1 Requirement .......................
                     2-029
           2.2.1.8.2 The Solution ......................
                     2-030
           2.2.1.8.3 Segments ..........................
                     2-030
           2.2.1.8.4 Memory Consuption .................
                     2-037
           2.2.1.8.5 Initialization ....................
                     2-037

       2.2.2 Functional Responsibilities ...............
             2-037
         2.2.2.1 Initialization, Close Down, and Restart
                 2-037
         2.2.2.2 Checkpointing and Recovery ............
                 2-037
         2.2.2.3 Error Detection and Error Handling ....
                 2-038
         2.2.2.4 Integrity of Operation ................
                 2-038
         2.2.2.5 Data Collection .......................
                 2-039
         2.2.2.6 Security ..............................
                 2-039
           2.2.2.6.1 Sub-Process Concept ...............
                     2-041
           2.2.2.6.2 Access Profiles ...................
                     2-041
             2.2.2.6.2.1 Comparison of Access Profile
                         .. 2-043
             2.2.2.6.2.2 Assignment of Access Profile
                         .. 2-043

           2.2.2.6.3 Access Control Mechanism ..........
                     2-047
           2.2.2.6.4 Automatic Deletion ................
                     2-048

     2.3 CHARACTERISTICS ...............................
         2-051
       2.3.1 Timing ....................................
             2-051
         2.3.1.1 QMON Timing ...........................
                 2-051
         2.3.1.2 MMON Timing ...........................
                 2-051
         2.3.1.3 TMON Timing ...........................
                 2-051
         2.3.1.4 Sequencing ............................
                 2-052

       2.3.2 Throughput ................................
             2-052
       2.3.3 Flexibility ...............................
             2-052
       2.3.4 Accuracy ..................................
             2-052
       2.3.5 Memory Consumption ........................
             2-052
         2.3.5.1 Basic Assumptions .....................
                 2-053
         2.3.5.2 Program Size ..........................
                 2-053
         2.3.5.3 Data Size .............................
                 2-054
         2.3.5.4 CSF Process Size ......................
         2-054



   3   ENVIRONMENT .....................................
       3-001

     3.1 EQUIPMENT .....................................
         3-001
     3.2 SOFTWARE ......................................
         3-001
       3.2.1 System Software ...........................
             3-001
       3.2.2 Development Support Software ..............
             3-001

     3.3 INTERFACES ....................................
         3-001
       3.3.1 External Interfaces .......................
             3-001
       3.3.2 Package Interfaces ........................
             3-001

     3.4 FUNCTIONS MAINTAINED BY OTHER PACKAGES ........
         3-002
       3.4.1 Functions Maintained by KERNEL ............
             3-002
       3.4.2 Functions Maintained by MMS ...............
             3-002
       3.4.3 Functions Maintained by SSC ...............
             3-002

   4   PACKAGE DESIGN ..................................
       4-001

     4.1 PACKAGE OVERVIEW ..............................
         4-001
       4.1.1 Functional Specification ..................
             4-001
         4.1.1.1 Utility Functions Overview ............
                 4-001
         4.1.1.2 Queue Monitor Overview ................
                 4-004
           4.1.1.2.1 Queue Structure ...................
                     4-004
           4.1.1.2.2 Queue Groups ......................
                     4-004
           4.1.1.2.3 Queue Capabilities ................
                     4-005
           4.1.1.2.4 Queue Referencing .................
                     4-005
           4.1.1.2.5 Queue Elements ....................
                     4-007
             4.1.1.2.5.1 QEL Creation and Deletion .....
                         4-008
             4.1.1.2.5.2 Queue Element Ownership .......
                         4-009
             4.1.1.2.5.3 View Control Information ......
                         4-010

           4.1.1.2.6 Function Request ..................
                     4-010
           4.1.1.2.7 Queue Blocking ....................
                     4-010
           4.1.1.2.8 Waiting on Queues .................
                     4-011

         4.1.1.3 Timer Monitor Overview ................
                 4-016
         4.1.1.4 Message Monitor Overview ..............
                 4-019
           4.1.1.4.1 CIF and View Referencing ..........
                     4-019
             4.1.1.4.1.1 Creation of Handles ...........
                         4-019
             4.1.1.4.1.2 Queue Elements ................
                         4-020
             4.1.1.4.1.3 Deletion of Handles ...........
                         4-020
             4.1.1.4.1.4 Active and Passive CIFs .......
                         4-021
             4.1.1.4.1.5 Checkpoints ...................
                         4-022

           4.1.1.4.2 Message Deletion ..................
                     4-025
           4.1.1.4.3 Automatic Deletion ................
                     4-025
           4.1.1.4.4 Message Flow Trace ................
                     4-026
             4.1.1.4.4.1 Purpose .......................
                         4-026
             4.1.1.4.4.2 Functions .....................
                         4-026
             4.1.1.4.4.3 MFT Records ...................
                         4-027
             4.1.1.4.4.4 Control .......................
                         4-028


             4.1.1.4.4.5 Characteristics ...............
                         4-028
             4.1.1.4.4.6 CPU Time ......................
                         4-028
             4.1.1.4.4.7 Memory ........................
                         4-029
             4.1.1.4.4.8 Disk Accesses .................
                         4-029
             4.1.1.4.4.9 Disk Space ....................
                         4-029

         4.1.1.5 Coroutine Monitor Overview ............
                 4-031
         4.1.1.6 System Call Monitor Overview ..........
                 4-031
         4.1.1.7 Trace Function Overview ...............
                 4-032
           4.1.1.7.1 Trace Record ......................
                     4-032
           4.1.1.7.2 Trace Invocation ..................
                     4-032
           4.1.1.7.3 Trace Data Flow ...................
                     4-033
           4.1.1.7.4 Trace Priority ....................
                     4-037
           4.1.1.7.5 Trace Initialization ..............
                     4-038

         4.1.1.8 Performance Monitoring Overview .......
                 4-038
           4.1.1.8.1 Definition ........................
                     4-038
           4.1.1.8.2 Objectives ........................
                     4-039
           4.1.1.8.3 CSF Performance Monitoring Data ...
                     4-039
             4.1.1.8.3.1 Queue Monitor .................
                         4-039
             4.1.1.8.3.2 Message Monitor ...............
                         4-040
             4.1.1.8.3.3 CSF Utility Functions .........
                         4-040
             4.1.1.8.3.4 Timer Monitor .................
                         4-041

       4.1.2 Software Structure ........................
             4-041
       4.1.3 Data Flow and Control Logic ...............
             4-045
         4.1.3.1 Exclusive Access to Control Data ......
                 4-045
         4.1.3.2 Deadlock Prevention ...................
                 4-046

       4.1.4 Common CSF Data ...........................
             4-051
         4.1.4.1 Shared Common CSF Data ................
                 4-051
           4.1.4.1.1 Queue Elements ....................
                     4-051
           4.1.4.1.2 Subprocess Records ................
                     4-055
           4.1.4.1.3 CSF HW Semaphore ..................
                     4-057
           4.1.4.1.4 CSF Statistics ....................
                     4-057

         4.1.4.2 Local Common CSF Data .................
                 4-058
           4.1.4.2.1 Process Record ....................
                     4-058

         4.1.4.3 CSFPROC Common Data ...................
                 4-060
           4.1.4.3.1 Buffer Timeout Data ...............
                     4-060

       4.1.5 Common CSF procedures .....................
             4-060
         4.1.5.1 Signal PCF Semaphore ..................
                 4-060
           4.1.5.1.1 Functional Description ............
                     4-060
           4.1.5.1.2 Interface .........................
                     4-060
           4.1.5.1.3 Data Description ..................
                     4-061
           4.1.5.1.4 Procedure Design ..................
                     4-061



         4.1.5.2 Await PCF Semaphore ...................
                 4-061
           4.1.5.2.1 Functional Description ............
                     4-061
           4.1.5.2.2 Interface .........................
                     4-062
           4.1.5.2.3 Data Description ..................
                     4-062
           4.1.5.2.4 Procedure Design ..................
                     4-062
 
         4.1.5.3 CSF Region ............................
                 4-062
           4.1.5.3.1 Functional Specification ..........
                     4-062
           4.1.5.3.2 Interface .........................
                     4-063
           4.1.5.3.3 Data Description ..................
                     4-063
           4.1.5.3.4 Procedure Design ..................
                     4-063

         4.1.5.4 Check Privilege .......................
                 4-063
           4.1.5.4.1 Functional Description ............
                     4-063
           4.1.5.4.2 Interface .........................
                     4-064
           4.1.5.4.3 Data Description ..................
                     4-064
           4.1.5.4.4 Procedure Design ..................
                     4-064
 
         4.1.5.5 INSERT ̲ELEMENT.........................
                 4-064
           4.1.5.5.1 Functional Description ............
                     4-064
           4.1.5.5.2 Interface .........................
                     4-065
           4.1.5.5.3 Data Description ..................
                     4-065
           4.1.5.5.4 Procedure Design ..................
                     4-065
 
         4.1.5.6 REMOVE ̲ELEMENT ........................
                 4-065
           4.1.5.6.1 Functional Description ............
                     4-065
           4.1.5.6.2 Interface .........................
                     4-066
           4.1.5.6.3 Data Description ..................
                     4-066
           4.1.5.6.4 Procedure Design ..................
                     4-066

         4.1.5.7 Enter Region ..........................
                 4-066
           4.1.5.7.1 Functional Description ............
                     4-066
           4.1.5.7.2 Interface .........................
                     4-066
           4.1.5.7.3 Data Description ..................
                     4-067

         4.1.5.8 Leave Region ..........................
                 4-067
           4.1.5.8.1 Functional Description ............
                     4-067

         4.1.5.9 Conditional Leave Region ..............
                 4-067
           4.1.5.9.1 Functional Description ............
                     4-067

         4.1.5.10  PTR ̲TO ̲INX ..........................
                   4-067
           4.1.5.10.1  Functional Description ..........
                       4-067
           4.1.5.10.2  Interface .......................
                       4-067

         4.1.5.11  Check Signal ........................
                   4-068
           4.1.5.11.1  Functional Description ..........
                       4-068
           4.1.5.11.2  Interface .......................
                       4-068
           4.1.5.11.3  Data Description ................
                       4-068



       4.1.6 Common Data ...............................
             4-068
         4.1.6.1 CSF Parameter Types ...................
                 4-069
           4.1.6.1.1 Utility Functions Parameter Types
                     . 4-069
             4.1.6.1.1.1 Configuration Parameters ......
                         4-069
             4.1.6.1.1.2 Parameter Types ...............
                         4-069

           4.1.6.1.2 QMON Parameter Types ..............
                     4-076
             4.1.6.1.2.1 Configuration Parameters ......
                         4-076
             4.1.6.1.2.2 Parameter Types ...............
                         4-076

           4.1.6.1.3 Timer Monitor Parameter Types .....
                     4-079
             4.1.6.1.3.1 Time Type .....................
                         4-079
             4.1.6.1.3.2 DTG Type ......................
                         4-079
             4.1.6.1.3.3 System Time ...................
                         4-080
             4.1.6.1.3.4 Julian Data Type ..............
                         4-081
             4.1.6.1.3.5 Time Conversion Type ..........
                         4-081
             4.1.6.1.3.6 Time Format Type ..............
                         4-082
             4.1.6.1.3.7 Request Time ..................
                         4-082
             4.1.6.1.3.8 Time Format Interrelations ....
                         4-083

           4.1.6.1.4 Message Monitor Parameter Types ...
                     4-085
             4.1.6.1.4.1 Application Interface 
                         Parameter Types ...............
                         4-085

           4.1.6.1.5 Coroutine Monitor Parameter Types
                     . 4-090
             4.1.6.1.5.1 Coroutine Record ..............
                         4-090
             4.1.6.1.5.2 Coroutine Operation ...........
                         4-092
             4.1.6.1.5.3 Coroutine Semaphore ...........
                         4-094
             4.1.6.1.5.4 Link Head .....................
                         4-094
             4.1.6.1.5.5 Coroutine Link ................
                         4-094
             4.1.6.1.5.6 Priority Type .................
             4-095
             4.1.6.1.5.7 Coroutine-Id-Type .............
             4-095

           4.1.6.1.6 System Call Monitor Parameter Types
                     4-095
             4.1.6.1.6.1 System Operation Control Block
                          4-095
             4.1.6.1.6.2 SOCB Index ....................
                         4-097
             4.1.6.1.6.3 SCM Function ..................
                         4-097
             4.1.6.1.6.4 SCM Code ......................
                         4-097
             4.1.6.1.6.5 SS Kind .......................
                         4-097
             4.1.6.1.6.6 SS Communication ..............
                         4-098
             4.1.6.1.6.7 SO Reference ..................
             4-098
             4.1.6.1.6.8 SSCB Index ....................
             4-098
             4.1.6.1.6.9 Object Index ..................
             4-098
             4.1.6.1.6.10 PCF Size .....................
             4-098

         4.1.6.2 Interface to SSC and MMS ..............
                 4-098
           4.1.6.2.1 SSC Interface Parameter Types .....
                     4-099
           4.1.6.2.2 MMS Interface Types ...............
                     4-101



         4.1.6.3 CSF Trace Records .....................
                 4-106
           4.1.6.3.1 Utility Functions Trace Records ...
                     4-106
           4.1.6.3.2 Queue Monitor Trace Records .......
                     4-106
           4.1.6.3.4 Message Monitor Trace Records .....
                     4-107
           4.1.6.3.5 Coroutine Monitor Trace Records ...
                     4-108

       4.1.7 Interfaces ................................
             4-109
         4.1.7.1 External Interfaces ...................
                 4-109
         4.1.7.2 Package Interfaces ....................
                 4-109
           4.1.7.2.1 Utility Functions Interfaces ......
                     4-109
             4.1.7.2.1.1 Reserve Buffer ................
                         4-109
             4.1.7.2.1.2 Dismantle Buffer ..............
                         4-112
             4.1.7.2.1.3 Write Buffer ..................
                         4-113
             4.1.7.2.1.4 Read Buffer ...................
                         4-114
             4.1.7.2.1.5 Change Subprocess .............
                         4-115
             4.1.7.2.1.6 Change Subprocess Attributes
                         .. 4-117
             4.1.7.2.1.7 Reserve Variable ..............
                         4-118
             4.1.7.2.1.8 Release Variable ..............
                         4-119
             4.1.7.2.1.9 Read CSF Statistics ...........
                         4-119
             4.1.7.2.1.10 CMON Trace ...................
             4-121
             4.1.7.2.1.11 Init Trace ...................
             4-122
             4.1.7.2.1.12 CSF Trace ....................
             4-123
             4.1.7.2.1.13 CSF Warning Report ...........
             4-124
             4.1.7.2.1.14 Internal Change Subprocess ...
             4-125
             4.1.7.2.1.15 Get Subprocess ...............
             4-125
             4.1.7.2.1.16 Set Trace Priority ...........
             4-126
             4.1.7.2.1.17 User Trace ...................
             4-127
             4.1.7.2.1.18 Converter OBJ Ref. ...........
             4-130
             4.1.7.2.1.19 Converter Queue Ref. .........
             4-130
             4.1.7.2.1.20 Converter Qel Ref. ...........
             4-131
             4.1.7.2.1.21 PTR to SEGM ID ...............
             4-132
             4.1.7.2.1.22 Compute SEGM ADDR ............
             4-132
             4.1.7.2.1.23 Check SEGM ...................
             4-133
             4.1.7.2.1.24 Allocate .....................
             4-133
             4.1.7.2.1.25 Save CSF LOW .................
             4-134
             4.1.7.2.1.26 Update CSF LOW ...............
             4-135
             4.1.7.2.1.27 Remove Q Element .............
             4-135
             4.1.7.2.1.28 Insert Q Element .............
             4-136
             4.1.7.2.1.29 UF MAP Out CSF Data ..........
             4-136
             4.1.7.2.1.30 UF MAP In CSF Data ...........
             4-137

           4.1.7.2.2 QMON Package Interfaces ...........
                     4-141
             4.1.7.2.2.1 Receive First QEL .............
                         4-143
             4.1.7.2.2.2 Receive Next QEL ..............
                         4-144
             4.1.7.2.2.3 Return ........................
                         4-145
             4.1.7.2.2.4 Dismantle .....................
                         4-146
             4.1.7.2.2.5 Send QEL ......................
                         4-147
             4.1.7.2.2.6 Send Request ..................
                         4-148
             4.1.7.2.2.7 Send Reply ....................
                         4-149


             4.1.7.2.2.10 Set Profile ..................
             4-150
             4.1.7.2.2.11 Block Queue ..................
             4-151
             4.1.7.2.2.12 Unblock Queue ................
             4-152
             4.1.7.2.2.13 Set Capability ...............
             4-152
             4.1.7.2.2.14 Get Queue Attributes .........
             4-153
             4.1.7.2.2.15 Get Queue Length .............
             4-154
             4.1.7.2.2.16 (Deleted)
             4.1.7.2.2.17 (Deleted)
             4.1.7.2.2.18 Set Queue Threshold ..........
             4-155
             4.1.7.2.2.19 Send Timeout .................
             4-156
             4.1.7.2.2.20 Signal Statistics ............
             4-157
             4.1.7.2.2.21 Pass QEL .....................
             4-158

           4.1.7.2.3 Timer Monitor Interfaces ..........
                     4-163
             4.1.7.2.3.1 Request Timeout ...............
                         4-164
             4.1.7.2.3.2 Cancel Timeout ................
                         4-165
             4.1.7.2.3.3 Timeout Queue Element .........
                         4-166
             4.1.7.2.3.4 Set Time ......................
                         4-166
             4.1.7.2.3.5 Read Time .....................
                         4-167
             4.1.7.2.3.6 Convert Time ..................
                         4-168
             4.1.7.2.3.7 Cancel Subproc Timeouts .......
                         4-169

           4.1.7.2.4 Message Monitor Interfaces ........
                     4-171
             4.1.7.2.4.1 Create CIF ....................
                         4-184
             4.1.7.2.4.2 Create New CIF Version ........
                         4-186
             4.1.7.2.4.3 Create View ...................
                         4-187
             4.1.7.2.4.4 Create Fields .................
                         4-189
             4.1.7.2.4.5 Get View Attributes ...........
                         4-190
             4.1.7.2.4.6 Stop CIF ......................
                         4-191
             4.1.7.2.4.7 Lock View .....................
                         4-193
             4.1.7.2.4.8 Unlock View ...................
                         4-194
             4.1.7.2.4.9 Lookup ........................
                         4-195
             4.1.7.2.4.10 Change Profile ...............
             4-196
             4.1.7.2.4.11 Open View ....................
             4-197
             4.1.7.2.4.12 Close View ...................
             4-198
             4.1.7.2.4.13 Dismantle View ...............
             4-199
             4.1.7.2.4.14 Save View ....................
             4-200
             4.1.7.2.4.15 Store ........................
             4-201
             4.1.7.2.4.16 Retrieve .....................
             4-202
             4.1.7.2.4.17 Init Dump ....................
             4-203
             4.1.7.2.4.18 Dump CIF Sequence ............
             4-204
             4.1.7.2.4.19 Terminate Dump ...............
             4-205
             4.1.7.2.4.20 Clear ........................
             4-206
             4.1.7.2.4.21 Read View ....................
             4-207
             4.1.7.2.4.22 Write View ...................
             4-208
             4.1.7.2.4.23 (Deleted)
             4.1.7.2.4.24 Get Threshold Warning ........
             4-210
             4.1.7.2.4.25 Get Storage Occupancy ........
             4-211
             4.1.7.2.4.26 Set Security Parameters ......
             4-212


             4.1.7.2.4.27 Start System .................
             4-213
             4.1.7.2.4.28 Get MMS Statistics ...........
             4-214
             4.1.7.2.4.29 Message to MMS ...............
             4-215
             4.1.7.2.4.30 Answer from MMS ..............
             4-215
             4.1.7.2.4.31 Open Notification ............
             4-215
             4.1.7.2.4.32 Open Notification Answer .....
             4-216
             4.1.7.2.4.33 Deletion Log .................
             4-216
             4.1.7.2.4.34 Log Reply ....................
             4-216
             4.1.7.2.4.35 Make CIF Permanent ...........
             4-216
             4.1.7.2.4.36 Copy Fields ..................
             4-217

           4.1.7.2.5 Coroutine Monitor Package Interface
                     4-225
             4.1.7.2.5.1 Init - System Call ............
                         4-225
             4.1.7.2.5.2 System Call ...................
                         4-226
             4.1.7.2.5.3 Wait System Call ..............
                         4-227
             4.1.7.2.5.4 Cancel System Call ............
                         4-228
             4.1.7.2.5.5 Wait Semaphore ................
                         4-229
             4.1.7.2.5.6 Signal Semaphore ..............
                         4-230
             4.1.7.2.5.7 Wait Operation Semaphore ......
                         4-230
             4.1.7.2.5.8 Signal Operation Semaphore ....
                         4-231
             4.1.7.2.5.9 Associate Semaphore ...........
                         4-232
             4.1.7.2.5.10 Initialize Coroutine Monitor
             . 4-233
             4.1.7.2.5.11 Initialize Coroutine .........
             4-234
             4.1.7.2.5.12 Initialize Semaphore .........
             4-235
             4.1.7.2.5.13 Initialize Operation .........
             4-236

           4.1.7.2.6 System Call Monitor Package
                     Interfaces ........................
                     4-240
             4.1.7.2.6.1 Initiate System Call ..........
                         4-240
             4.1.7.2.6.2 System Call ...................
                         4-246
             4.1.7.2.6.3 Wait System Call ..............
                         4-247
             4.1.7.2.6.4 Cancel System Call ............
                         4-248
             4.1.7.2.6.5 Wait Next Operation ...........
                         4-248
             4.1.7.2.6.6 Define Service System .........
                         4-249
             4.1.7.2.6.7 PCF Interface .................
                         4-250
             4.1.7.2.6.8 IOS Interface .................
                         4-251
             4.1.7.2.6.9 Interface to Service System ...
                         4-252

           4.1.7.2.7 Interface to MMS ..................
                     4-256
             4.1.7.2.7.1 General Communication Protocol
                          4-256
             4.1.7.2.7.2 Command Buffer ................
                         4-261
             4.1.7.2.7.3 Reply Buffer ..................
                         4-263
             4.1.7.2.7.4 Command Body and Reply Body ...
                         4-265
             4.1.7.2.7.5 Command Trailer ...............
                         4-266

         4.1.7.3 Subpackage Interfaces .................
                 4-270

     4.2   SUBPACKAGE SPECIFICATIONS ...................
           4-277
       4.2.1 CSF Utility Functions .....................
             4-277
         4.2.1.1 Functional Specification ..............
                 4-277


         4.2.1.2 Software Structure ....................
                 4-279
           4.2.1.2.1 CSF Procedures ....................
           4-279
           4.2.1.2.2 Internal Procedures ...............
           4-279
           4.2.1.2.3 Coroutines ........................
           4-279
           4.2.1.2.4 Shared Coroutine Procedures .......
           4-279

         4.2.1.3 Data Flow and Control Logic ...........
         4-279
           4.2.1.3.1 CSF Procedures Control Flow .......
           4-280
           4.2.1.3.2 Buffer Manager Control Flow .......
           4-280
           4.2.1.3.3 Report Generation Control Flow ....
           4-280
           4.2.1.3.4 Trace Module Control Flow .........
           4-280

         4.2.1.4 Module Specification ..................
         4-284
           4.2.1.4.1 Buffer Manager Module .............
           4-284
             4.2.1.4.1.1 Functional Specification ......
             4-284
             4.2.1.4.1.2 Buffer Manager Interface ......
             4-284
             4.2.1.4.1.3 Buffer Manager Components .....
             4-284
             4.2.1.4.1.4 Buffer Manager Data Description
             4-285
             4.2.1.4.1.5 Buffer Manager Design .........
             4-286

           4.2.1.4.2 ACCESS Module .....................
           4-291
             4.2.1.4.2.1 Functional Specification ......
             4-291
             4.2.1.4.2.2 Access Module Interface .......
             4-291
             4.2.1.4.2.3 Access Module Components ......
             4-291
             4.2.1.4.2.4 Access Module Data Description
              4-292
             4.2.1.4.2.5 Access Module Design ..........
             4-292

           4.2.1.4.3 Report Module .....................
           4-296
             4.2.1.4.3.1 Functional Specification ......
             4-296
             4.2.1.4.3.2 Report Module Interface .......
             4-296
             4.2.1.4.3.3 Report Module Components ......
             4-296
             4.2.1.4.3.4 Report Module Data Description
              4-296
             4.2.1.4.3.5 Report Module Design ..........
             4-298

           4.2.1.4.4 Collection Module .................
           4-301
             4.2.1.4.4.1 Functional Specification ......
             4-301
             4.2.1.4.4.2 Collection Module Interface ...
             4-301
             4.2.1.4.4.3 Collection Module Components
             .. 4-302
             4.2.1.4.4.4 Collection Module Data
                         Description ...................
                         4-302
             4.2.1.4.4.5 Collection Module Design ......
             4-303

           4.2.1.4.5 Resource Module ...................
           4-307
             4.2.1.4.5.1 Functional Specification ......
             4-307
             4.2.1.4.5.2 Resource Module Interface .....
             4-307
             4.2.1.4.5.3 Resource Module Components ....
             4-307
             4.2.1.4.5.4 Resource Module Data
                         Description ...................
                         4-307
             4.2.1.4.5.5 Resource Module Design ........
             4-308



           4.2.1.4.6 Trace Module ......................
           4-312
             4.2.1.4.6.1 Functional Specification ......
             4-312
             4.2.1.4.6.2 Trace Module Interface ........
             4-312
             4.2.1.4.6.3 Trace Module Components .......
             4-312
             4.2.1.4.6.4 Trace Module Data
                         Description ...................
                         4-313
             4.2.1.4.6.5 Trace Module Design ...........
             4-314

           4.2.1.4.7 CSF Monitor Procedure Module ......
           4-316
             4.2.1.4.7.1 Functional Specification ......
             4-316
             4.2.1.4.7.2 CSF Module Interface ..........
             4-316
             4.2.1.4.7.3 CSF Module Components .........
             4-317
             4.2.1.4.7.4 CSF Module Data Description ...
             4-317
             4.2.1.4.7.5 CSF Module Design .............
             4-317

           4.2.1.4.8 Segment Manager Module ............
           4-320
             4.2.1.4.8.1 Functional Specification ......
             4-320
             4.2.1.4.8.2 Segment Manager Interface .....
             4-320
             4.2.1.4.8.3 Segment Manager Components ....
             4-321
             4.2.1.4.8.4 Segment Manager Data Descript.
              4-323
             4.2.1.4.8.5 Segment Manager Design ........
             4-327

         4.2.1.5 Subpackage Data .......................
                 4-328
           4.2.1.5.1 Resource Pool .....................
           4-328

         4.2.1.6 Common Subpackage Procedures ..........
         4-330
         4.2.1.7 Subpackage Interface ..................
         4-330
           4.2.1.7.1 New Buffer Reference ..............
           4-330
           4.2.1.7.2 Check Page Access .................
           4-330
           4.2.1.7.3 Generate Report ...................
           4-331
           4.2.1.7.4 Allocate Resource .................
           4-332
           4.2.1.7.5 Release Resource ..................
           4-332
           4.2.1.7.6 CSF RETURN ........................
           4-333
           4.2.1.7.7 CSF Retire ........................
           4-334
           4.2.1.7.8 Get Buffer ........................
           4-335
           4.2.1.7.9 Signal Buffer Timeout .............
           4-336

       4.2.2 Queue Monitor .............................
       4-336
         4.2.2.1 Functional Specification ..............
         4-336
         4.2.2.2 Software Structure ....................
         4-338
           4.2.2.2.1 SCM Procedures ....................
           4-338
           4.2.2.2.2 CSF Procedures ....................
           4-338
           4.2.2.2.3 Internal Procedures ...............
           4-338
           4.2.2.2.4 Module Component Procedures .......
           4-338

         4.2.2.3 Data Flow and Control Logic ...........
         4-339
           4.2.2.3.1 SCM Procedures ....................
           4-339
           4.2.2.3.2 CSF Procedures Control Flow .......
           4-339
           4.2.2.3.3 Queue-Wait and Send Control Flow
           .. 4-339



         4.2.2.4  Module Specification .................
         4-344
           4.2.2.4.1 Receive ...........................
           4-344
             4.2.2.4.1.1 Functional Description ........
             4-344
             4.2.2.4.1.2 Interface .....................
             4-345
             4.2.2.4.1.3 Components ....................
             4-345
             4.2.2.4.1.4 Data Description ..............
             4-347
             4.2.2.4.1.5 Receive Module Design .........
             4-349

           4.2.2.4.2 Clearing ..........................
           4-355
             4.2.2.4.2.1 Functional Description ........
             4-355
             4.2.2.4.2.2 Interface .....................
             4-355
             4.2.2.4.2.3 Components ....................
             4-355
             4.2.2.4.2.4 Data Description ..............
             4-355
             4.2.2.4.2.5 Clearing Module Design ........
             4-356

           4.2.2.4.3 Send ..............................
           4-359
             4.2.2.4.3.1 Functional Description ........
             4-359
             4.2.2.4.3.2 Interface .....................
             4-359
             4.2.2.4.3.3 Send Components ...............
             4-360
             4.2.2.4.3.4 Data Description ..............
             4-362
             4.2.2.4.3.5 Send Module Design ............
             4-362

           4.2.2.4.4 Profiles ..........................
           4-368
             4.2.2.4.4.1 Functional Description ........
             4-368
             4.2.2.4.4.2 Interface .....................
             4-368
             4.2.2.4.4.3 Components ....................
             4-369
             4.2.2.4.4.4 Data Description ..............
             4-371
             4.2.2.4.4.5 Profiles Module Design ........
             4-371

           4.2.2.4.5 Get Attributes ....................
           4-375
             4.2.2.4.5.1 Functional Description ........
             4-375
             4.2.2.4.5.2 Interface .....................
             4-375
             4.2.2.4.5.3 Components ....................
             4-375
             4.2.2.4.5.4 Data Description ..............
             4-375
             4.2.2.4.5.5 Get Queue Attributes
                         Module Design .................
                         4-377

           4.2.2.4.6 Initialize ........................
           4-377
             4.2.2.4.6.1 Functional Description ........
             4-377
             4.2.2.4.6.2 Interface .....................
             4-377
             4.2.2.4.6.3 Components ....................
             4-378
             4.2.2.4.6.4 Data Description ..............
             4-378
             4.2.2.4.6.5 Initialize Module Design ......
             4-380

           4.2.2.4.7 Capabilities ......................
           4-380
             4.2.2.4.7.1 Functional Description ........
             4-380
             4.2.2.4.7.2 Interface .....................
             4-380
             4.2.2.4.7.3 Components ....................
             4-381
             4.2.2.4.7.4 Data Description ..............
             4-381
             4.2.2.4.7.5 Capabilities Module Design ....
             4-383



           4.2.2.4.8 Recovery ..........................
           4-384
             4.2.2.4.8.1 Functional Description ........
             4-384
             4.2.2.4.8.2 Interface .....................
             4-384
             4.2.2.4.8.3 Components ....................
             4-384
             4.2.2.4.8.4 Data Description ..............
             4-384
             4.2.2.4.8.5 Recovery Module Reference .....
             4-385

           4.2.2.4.9 Timeout-If ........................
           4-385
             4.2.2.4.9.1 Functional Description ........
             4-385
             4.2.2.3.9.2 Interface .....................
             4-385
             4.2.2.4.9.3 Components ....................
             4-386
             4.2.2.3.9.4 Data Description ..............
             4-386
             4.2.2.3.9.5 Timeout-If Design .............
             4-386

           4.2.2.10 Error Test .........................
           4-387
             4.2.2.4.10.1 Functional Description .......
             4-387
             4.2.2.4.10.2 Interface ....................
             4-388
             4.2.2.4.10.3 Components ...................
             4-388
             4.2.2.4.10.4 Data Description .............
             4-388
             4.2.2.4.10.5 Error Test Design ............
             4-388

         4.2.2.5 Queue Monitor Data ....................
         4-390
           4.2.2.5.1 Constant and Type Definition ......
           4-390
           4.2.2.5.2 Main Queue Array ..................
           4-391
           4.2.2.5.3 Subqueue Array ....................
           4-394
           4.2.2.5.4 Queue Group Descriptor Array ......
           4-397
           4.2.2.5.5 Queue Lists .......................
           4-397
           4.2.2.5.6 Capabilities ......................
           4-399
           4.2.2.5.7 Synchronization Element Names .....
           4-404

         4.2.2.6 Common QMON Procedures ................
         4-406
           4.2.2.6.1 Remove QEL ........................
           4-408
             4.2.2.6.1.1 Functional Description ........
             4-408
             4.2.2.6.1.2 Interface .....................
             4-408
             4.2.2.6.1.3 Data Description ..............
             4-408
             4.2.2.6.1.4 Remove QEL Design .............
             4-409

           4.2.2.6.2 Put QEL ...........................
           4-410
             4.2.2.6.2.1 Functional Description ........
             4-410
             4.2.2.6.2.2 Interface .....................
             4-410
             4.2.2.6.2.3 Data Description ..............
             4-410
             4.2.2.6.2.4 Put QEL Design ................
             4-411

           4.2.2.6.3 Signal SYNCEL .....................
           4-411
             4.2.2.6.3.1 Functional Description ........
             4-411
             4.2.2.6.3.2 Interface .....................
             4-412
             4.2.2.6.3.3 Data Description ..............
             4-412
             4.2.2.6.3.4 Signal SYNCEL Design ..........
             4-413



           4.2.2.6.4 Check QEL .........................
           4-414
             4.2.2.6.4.1 Functional Description ........
             4-414
             4.2.2.6.4.3 Data Description ..............
             4-414
             4.2.2.6.4.4 Check QEL Design ..............
             4-414

           4.2.2.6.5 Increase Queue ....................
           4-414
             4.2.2.6.5.1 Functional Description ........
             4-415
             4.2.2.6.5.2 Interface .....................
             4-415
             4.2.2.6.5.3 Data Description ..............
             4-415
             4.2.2.6.5.4 Increase Queue Design .........
             4-415

         4.2.2.7 Queue Monitor Subpackage Interfaces ...
         4-416
           4.2.2.7.1 Send Timeout ......................
           4-419
             4.2.2.7.1.1 Functional Description ........
             4-419
             4.2.2.7.1.2 Interface .....................
             4-419

           4.2.2.7.2 Create QEL ........................
           4-420
             4.2.2.7.2.1 Functional Description ........
             4-420
             4.2.2.7.2.2 Interface .....................
             4-420

           4.2.2.7.3 Dismantle QEL .....................
           4-421
             4.2.2.7.3.1 Functional Description ........
             4-421
             4.2.2.7.3.2 Interface .....................
             4-421

           4.2.2.7.4 Reinsert In Queue .................
           4-421
             4.2.2.7.4.1 Functional Description ........
             4-421
             4.2.2.7.4.2 Interface .....................
             4-422

           4.2.2.7.5 Check Capability ..................
           4-422
             4.2.2.7.5.1 Functional Description ........
             4-422
             4.2.2.7.5.2 Interface .....................
             4-422

           4.2.2.7.6 Compare Profile ...................
           4-423
             4.2.2.7.6.1 Functional Description ........
             4-423
             4.2.2.7.6.2 Interface .....................
             4-423

           4.2.2.7.7 Check Profile .....................
           4-424
             4.2.2.7.7.1 Functional Description ........
             4-424
             4.2.2.7.7.2 Interface .....................
             4-424

           4.2.2.7.8 Check QEL .........................
           4-425
             4.2.2.7.8.1 Functional Description ........
             4-425
             4.2.2.7.8.2 Interface .....................
             4-425

       4.2.3   Timer Monitor Subpackage Specification
               .. 4-426
         4.2.3.1 Functional Specification ..............
         4-426
         4.2.3.2 Timer Monitor Software Structure ......
         4-428
           4.2.3.2.1 Time Update .......................
           4-428
           4.2.3.2.2 Time Manipulation .................
           4-428
           4.2.3.2.4 Timeout Scheduling ................
           4-428



         4.2.3.3 Timer Monitor Data Flow and Control
                 Logic .................................
                 4-428
           4.2.3.4.1 Time Update Module Specification
           .. 4-430
             4.2.3.4.1.1 Functional Specification ......
             4-430
             4.2.3.4.1.2 Time Update Module Interface
             .. 4-430
             4.2.3.4.1.3 Time Update Module Components
             . 4-430
             4.2.3.4.1.4 Time Update Module Data
                         Description ...................
                         4-430
             4.2.3.4.1.5 Time Update Module Design
                         External Procedures ...........
                         4-431

           4.2.3.4.2 Time Manipulation Module
                     Specification .....................
                     4-432
             4.2.3.4.2.1 Functional Specification ......
             4-432
             4.2.3.4.2.2 Time Manipulation Module Inter-
                         face ..........................
                         4-432
             4.2.3.4.2.3 Time Manipulation Module Compo-
                         nents .........................
                         4-432
             4.2.3.4.2.4 Time Manipulation Module Data
             . 4-433
             4.2.3.4.2.5 Time Manipulation Module Design
             4-434

           4.2.3.4.3 (Deleted)
           4.2.3.4.4 Timeout Scheduling Module
                     Specification .....................
                     4-439
             4.2.3.4.4.1 Functional Specification ......
             4-439
             4.2.3.4.4.2 Timeout Scheduling Module
                         Interface .....................
                         4-440
             4.2.3.4.4.3 Timeout Scheduling Module
                         Components ....................
                         4-440
             4.2.3.4.4.4 Timout Scheduling Module 
                         Data Description ..............
                         4-441
             4.2.3.4.4.5 Timeout Scheduling Module Design4-444

         4.2.3.5 Common Subpackage Data ................
         4-451
           4.2.3.5.1 Request Record ....................
           4-451
           4.2.3.5.2 Timeout Function ..................
           4-451

         4.2.3.6 Common Subpackage Procedures ..........
         4-452
         4.2.3.7 Timer Monitor Subpackage Interfaces ...
         4-452

       4.2.4 Message Monitor ...........................
       4-452
         4.2.4.1 Functional Specification ..............
         4-452
         4.2.4.2 Software Structure ....................
         4-454
           4.2.4.2.1 SCM Procedures ....................
           4-454
           4.2.4.2.2 Internal Procedures ...............
           4-455
           4.2.4.2.3 Coroutines ........................
           4-455



         4.2.4.3 Data Flow and Control Logic ...........
         4-456
           4.2.4.3.1 General ...........................
           4-456
             4.2.4.3.1.1 Locking and Synchronization
                         Mechanisms ....................
                         4-456
             4.2.4.3.1.2 Control Flow and Waiting Points
             4-456

           4.2.4.3.2 CIF and View Creation Control Flow
            4-457
           4.2.4.3.3 View IO Control Flow ..............
           4-457
             4.2.4.3.3.1 CIF and View Deletion .........
             4-457

           4.2.4.3.4 Checkpoint Control Flow ...........
           4-457
           4.2.4.3.5 Save, Deletion and MFT Flow in CSF
                     Process ...........................
                     4-457
           4.2.4.3.6 CIFCB State Transition ............
           4-458

         4.2.4.4 Module Specification ..................
         4-469
           4.2.4.4.1 CIF and View Creation Module ......
           4-469
             4.2.4.4.1.1 Functional Specification ......
             4-469
             4.2.4.4.1.2 Interface .....................
             4-469
             4.2.4.4.1.3 Components ....................
             4-470
             4.2.4.4.1.4 Data Description ..............
             4-470
             4.2.4.4.1.5 Module Design .................
             4-471

           4.2.4.4.2 View IO ...........................
           4-481
             4.2.4.4.2.1 Functional Specification ......
             4-481
             4.2.4.4.2.2 Interface .....................
             4-481
             4.2.4.4.2.3 Components ....................
             4-481
             4.2.4.4.2.4 Data Description ..............
             4-482
             4.2.4.4.2.5 Module Design .................
             4-482

           4.2.4.4.3 CIF and View Deletion .............
           4-487
             4.2.4.4.3.1 Functional Specification ......
             4-487
             4.2.4.4.3.2 Interface .....................
             4-487
             4.2.4.4.3.3 Components ....................
             4-487
             4.2.4.4.3.4 Data Description ..............
             4-487
             4.2.4.4.3.5 Module Design .................
             4-488

           4.2.4.4.4 Checkpoint ........................
           4-492
             4.2.4.4.4.1 Functional Specification ......
             4-492
             4.2.4.4.4.2 Interface .....................
             4-492
             4.2.4.4.4.3 Components ....................
             4-493
             4.2.4.4.4.4 Data Description ..............
             4-494
             4.2.4.4.4.5 Module Design .................
             4-494

           4.2.4.4.5 MMON Coroutines ...................
           4-502
             4.2.4.4.5.1 Functional Specification ......
             4-502
             4.2.4.4.5.2 Interface .....................
             4-502
             4.2.4.4.5.3 Components ....................
             4-503
             4.2.4.4.5.4 Data Description ..............
             4-503
             4.2.4.4.5.5 Module Design .................
             4-504



           4.2.4.4.6 Attributes and Profiles ...........
           4-508
             4.2.4.4.6.1 Functional Specification ......
             4-508
             4.2.4.4.6.2 Interface .....................
             4-508
             4.2.4.4.6.3 Components ....................
             4-508
             4.2.4.4.6.4 Data Description ..............
             4-508
             4.2.4.4.6.5 Module Design .................
             4-509

           4.2.4.4.7 Storage and Dump ..................
           4-512
             4.2.4.4.7.1 Functional Specification ......
             4-512
             4.2.4.4.7.2 Interface .....................
             4-512
             4.2.4.4.7.3 Components ....................
             4-512
             4.2.4.4.7.4 Data Description ..............
             4-512
             4.2.4.4.7.5 Module Design .................
             4-513

           4.2.4.4.8 Init and Control ..................
           4-517
             4.2.4.4.8.1 Functional Specification ......
             4-517
             4.2.4.4.8.2 Interface .....................
             4-517
             4.2.4.4.8.3 Components ....................
             4-517
             4.2.4.4.8.4 Data Description ..............
             4-518
             4.2.4.4.8.5 Module Design .................
             4-518

           4.2.4.4.9 Main Module .......................
           4-525
             4.2.4.4.9.1 Functional Specification ......
             4-525
             4.2.4.4.9.2 Interface .....................
             4-527
             4.2.4.4.9.4 Data Description ..............
             4-529
             4.2.4.4.9.5 Module Design .................
             4-530

         4.2.4.5 Subpackage Data .......................
         4-536
           4.2.4.5.1 MMON Type Definitions .............
           4-536
           4.2.4.5.2 Shared MMON Subpackage Data .......
           4-539
             4.2.4.5.2.1 HCB Array......................
             4-539

           4.2.4.5.3 Local MMON Subpackage Data ........
           4-540

         4.2.4.6 Common Subpackage Procedures ..........
         4-545
           4.2.4.6.1 Check QEL .........................
           4-545
             4.2.4.6.1.1 Functional Specification ......
             4-545
             4.2.4.6.1.2 Interface .....................
             4-545
             4.2.4.6.1.3 Data Description ..............
             4-546
             4.2.4.6.1.4 Check QEL Design ..............
             4-546

           4.2.4.6.2 Remove CIFCB ......................
           4-546
             4.2.4.6.2.1 Functional Specification ......
             4-546
             4.2.4.6.2.2 Interface .....................
             4-547
             4.2.4.6.2.3 Data Description ..............
             4-547
             4.2.4.6.2.4 Remove CIFCB Design ...........
             4-547

           4.2.4.6.3 Exclude HCB .......................
           4-548
             4.2.4.6.3.1 Functional Specification ......
             4-548
             4.2.4.6.3.2 Interface .....................
             4-548
             4.2.4.6.3.3 Data Description ..............
             4-548
             4.2.4.6.3.4 Exclude HCB Design ............
             4-549



           4.2.4.6.4 Check CC ..........................
           4-549
             4.2.4.6.4.1 Functional Specification ......
             4-549
             4.2.4.6.4.2 Interface .....................
             4-549
             4.2.4.6.4.3 Data Description ..............
             4-550
             4.2.4.6.4.4 Check CC Design ...............
             4-550

           4.2.4.6.5 Security Compare ..................
           4-550
             4.2.4.6.5.1 Functional Specification ......
             4-551
             4.2.4.6.5.2 Interface .....................
             4-551
             4.2.4.6.5.3 Data Description ..............
             4-551
             4.2.4.6.5.4 Security Compare Design .......
             4-552

           4.2.4.6.6 Include QEL .......................
           4-552
             4.2.4.6.6.1 Functional Specification ......
             4-552
             4.2.4.6.6.2 Interface .....................
             4-552
             4.2.4.6.6.3 Data Description ..............
             4-553
             4.2.4.6.6.4 Include QEL Desgin ............
             4-553

           4.2.4.6.7 Exclude QEL .......................
           4-553
             4.2.4.6.7.1 Functional Specification ......
             4-553
             4.2.4.6.7.2 Interface .....................
             4-554
             4.2.4.6.7.3 Data Description ..............
             4-554
             4.2.4.6.7.4 Exclude QEL Desgin ............
             4-555

           4.2.4.6.8 Init Response Time ................
           4-555
             4.2.4.6.8.1 Functional Specification ......
             4-555
             4.2.4.6.8.2 Interface .....................
             4-555
             4.2.4.6.8.3 Data Description ..............
             4-556
             4.2.4.6.8.4 Init Response Time Design .....
             4-556

           4.2.4.6.9 Update Response Time ..............
           4-556
             4.2.4.6.9.1 Functional Specification ......
             4-556
             4.2.4.6.9.2 Interface .....................
             4-557
             4.2.4.6.9.3 Data Description ..............
             4-557
             4.2.4.6.9.4 Update Response Time Design ...
             4-558

           4.2.4.6.10 Convert Profile ..................
           4-558
             4.2.4.6.10.1 Functional Specification .....
             4-558
             4.2.4.6.10.2 Interface ....................
             4-558
             4.2.4.6.10.3 Data Description .............
             4-559
             4.2.4.6.10.4 Convert Profile Design .......
             4-559

           4.2.4.6.11 (Deleted)
           4.2.4.6.12 Check MFT ........................
           4-559
             4.2.4.6.12.1 Functional Specification .....
             4-559
             4.2.4.6.12.2 Interface Specification ......
             4-560
             4.2.4.6.12.3 Data Description .............
             4-560
             4.2.4.6.12.4 Check MFT Design .............
             4-560



           4.2.4.6.13 Send to MMS ......................
           4-561
             4.2.4.6.13.1 Functional Specification .....
             4-561
             4.2.4.6.13.2 Interface Specification ......
             4-561
             4.2.4.6.13.3 Data Description .............
             4-562
             4.2.4.6.13.4 Send to MMS Design ...........
             4-562

           4.2.4.6.14 (Deleted)
           4.2.4.6.15 Send to CSF PROC .................
           4-563
             4.2.4.6.15.1 Functional Specification .....
             4-563
             4.2.4.6.15.2 Interface Specification ......
             4-563
             4.2.4.6.15.3 Data Description .............
             4-563
             4.2.4.6.15.4 Send to CSF PROC Design.......
             4-564

           4.2.4.6.16 Clean Up .........................
           4-565
             4.2.4.6.16.1 Functional Specification .....
             4-565
             4.2.4.6.16.2 Interface Specification ......
             4-565

         4.2.4.7 Subpackage Interface ..................
         4-566
           4.2.4.7.1 New View Reference ................
           4-566
             4.2.4.7.1.1 Functional Description ........
             4-566
             4.2.4.7.1.2 Interface Specification .......
             4-566

           4.2.4.7.2 Get Profile .......................
           4-566
           4.2.4.7.3 Check Deletion ....................
           4-567
           4.2.4.7.4 Save ..............................
           4-568
             4.2.4.7.4.1 Functional Specification ......
             4-568
             4.2.7.7.4.2 Interface .....................
             4-568

       4.2.5 Coroutine Monitor Subpackage Specification
        4-569
         4.2.5.1 Functional Specification ..............
         4-569
         4.2.5.2 Coroutine Monitor Software Structure
         .. 4-571
           4.2.5.2.1 System Call .......................
           4-571
           4.2.5.2.2 Semaphore Functions ...............
           4-571
           4.2.5.2.3 Pause .............................
           4-571
           4.2.5.2.4 Initialize Functions ..............
           4-572
           4.2.5.2.5 Trace .............................
           4-572
           4.2.5.2.6 Common Functions ..................
           4-572

         4.2.5.3 Data Flow and Control Logic ...........
         4-572
         4.2.5.4 Coroutine Monitor Module Specifications
         4-577
           4.2.5.4.1 System Call Module Specification
           .. 4-577
             4.2.5.4.1.1 Functional Specification ......
             4-577
             4.2.5.4.1.2 System Call Interfaces ........
             4-577
             4.2.5.4.1.3 System Call Components ........
             4-578
             4.2.5.4.1.4 Data Description ..............
             4-580
             4.2.5.4.1.5 System Call Module Design .....
             4-580

           4.2.5.4.2 Semaphore Functions Module
                     Specification .....................
                     4-588
             4.2.5.4.2.1 Functional Specification ......
             4-588


             4.2.5.4.2.2 Semaphore Functions Interfaces
              4-588
             4.2.5.4.2.3 Semaphore Functions Components
              4-589
             4.2.5.4.2.4 Data Description ..............
             4-591
             4.2.5.4.2.5 Semaphore Functions Module 
                         Design ........................
                         4-592

           4.2.5.4.3 Pause Module Specification ........
           4-600
             4.2.5.4.3.1 Functional Specification ......
             4-600
             4.2.5.4.3.2 Pause Module Interface ........
             4-600
             4.2.5.4.3.3 Pause Module Components .......
             4-600
             4.2.5.4.3.4 Pause Data ....................
             4-602
             4.2.5.4.3.5 Pause Module Design ...........
             4-602

           4.2.5.4.4 Initialization Functions Module
                     Specification .....................
                     4-606
           4.2.5.4.4.1 Functional Specification ........
           4-606
           4.2.5.4.4.2 Initialization Functions 
                       Interface .......................
                       4-606
           4.2.5.4.4.3 Initialization Function Module
                       Components ......................
   4-606
           4.2.5.4.4.4 Data Description ................
           4-608
           4.2.5.4.4.5 Initialization Functions Module
                       Design ..........................
   4-608

           4.2.5.4.5 Trace Module Specification ........
           4-614
             4.2.5.4.5.1 Functional Specification ......
             4-614
             4.2.5.4.5.2 Module Interface ..............
             4-614
               4.2.5.4.5.3 Trace Module Components .....
               4-615
               4.2.5.4.5.4 Trace Module Data Description
               4-615
               4.2.5.4.5.5 Trace Module Design .........
               4-618

         4.2.5.5 Common Coroutine Monitor Data .........
         4-620
           4.2.5.5.1 Current Subprocess ................
           4-620
           4.2.5.5.2 Ready List ........................
           4-620

         4.2.5.6 Coroutine Monitor Common Procedures ...
         4-620
           4.2.5.6.1 Chain In ..........................
           4-621
             4.2.5.6.1.1 Functional Specification ......
             4-621
             4.2.5.6.1.2 Chain In Interface ............
             4-621
             4.2.5.6.1.3 Chain In Data .................
             4-621

           4.2.5.6.2 Chain Out .........................
           4-622
             4.2.5.6.2.1 Functional Specification ......
             4-622
             4.2.5.6.2.2 Chain Out Interface ...........
             4-622
             4.2.5.6.2.3 Chain Out Data ................
             4-622

         4.2.5.7 Subpackage Interfaces .................
         4-623



       4.2.6 System Call Monitor Subpackage Specification4-623
         4.2.6.1 Functional Specification ..............
         4-623
         4.2.6.2 System Call Monitor Software Structure
          4-625
         4.2.6.3 System Call Monitor Control Logic .....
         4-625
         4.2.6.4 System Call Monitor Module Specification4-627
           4.2.6.4.1 Application Interface Module ......
           4-627
             4.2.6.4.1.1 Functional Specification ......
             4-627
             4.2.6.4.1.2 Application Interface Module
                         Interfaces ....................
                         4-627
             4.2.6.4.1.3 Application Interface Module
                         Components ....................
                         4-628
             4.2.6.4.1.4 Application Interface Data ....
             4-630
             4.2.6.4.1.5 Application Interface Module
                         Design ........................
                         4-630

           4.2.6.4.2 SCM Wait Module Specification .....
           4-643
             4.2.6.4.2.1 Functional Specification ......
             4-643
             4.2.6.4.2.2 SCM Wait Module Interface .....
             4-643
             4.2.6.4.2.3 SCM Wait Module Component .....
             4-643
             4.2.6.4.2.4 SCM Wait Module Data ..........
             4-644
             4.2.6.4.2.5 SCM Wait Module Design ........
             4-644

           4.2.6.4.3 Process Communication Facility
                     Module Specification ..............
                     4-650
             4.2.6.4.3.1 Functional Specification ......
             4-650
             4.2.6.4.3.2 PCF Module Interface ..........
             4-650
             4.2.6.4.3.3 PCF Module Component ..........
             4-650
             4.2.6.4.3.4 PCF Data ......................
             4-650
             4.2.6.4.3.5 PCF Module Design .............
             4-651

           4.2.6.4.4 IOS Interface Module Specificaton
           . 4-656
             4.2.6.4.4.1 Functional Specification ......
             4-656
             4.2.6.4.4.2 IOS Interface Module Interface
              4-656
             4.2.6.4.4.3 IOS Interface  Module Component
             4-656
             4.2.6.4.4.4 IOS Interface Module Data .....
             4-656
             4.2.6.4.4.5 IOS Interface Module Design ...
             4-657

         4.2.6.5 System Call Monitor Subpackage Data ...
         4-662
           4.2.6.5.1 Service System Control Blocks .....
           4-662
           4.2.6.5.2 System Operation Control Block ....
           4-663
           4.2.6.5.3 Ready SOCB List ...................
           4-665
           4.2.6.5.4 Free SOCB List ....................
           4-665

         4.2.6.6 System Call Monitor Common Procedures
         . 4-665
         4.2.6.7 Subpackage Interfaces .................
         4-665

       4.2.7 Q Setup ...................................
             4-666
         4.2.7.1 Procedure Description .................
                 4-666
           4.2.7.1.1 INIT CSF High Segments ............
                     4-669


           4.2.7.1.2 INIT CSF Low Segments .............
                     4-669
           4.2.7.1.3 INIT Lock Counts ..................
                     4-670
           4.2.7.1.4 INIT Subprocs CAP Array ...........
                     4-670
           4.2.7.1.5 Move CAPS .........................
                     4-671
           4.2.7.1.6 Check ACT Subprocess ..............
                     4-671
           4.2.7.1.7 Init Syncnames ....................
                     4-672
           4.2.7.1.8 Init CAPS .........................
                     4-673
           4.2.7.1.9 Init Qgroups ......................
                     4-674
           4.2.7.1.10 Initialize Queue Segments ........
           4-674
           4.2.7.1.11 Update Q Arrays ..................
           4-676
           4.2.7.1.12 Init SUBQ ........................
           4-677
           4.2.7.1.13 Get Process ......................
           4-677
           4.2.7.1.14 Move MAINQ Template ..............
           4-678
           4.2.7.1.15 Check Size .......................
           4-679
           4.2.7.1.16 Next Q Segment ...................
           4-679
           4.2.7.1.17 Make Queue Segment ...............
           4-680
           4.2.7.1.18 Next Template ....................
           4-680
           4.2.7.1.19 Init Segment .....................
           4-681
           4.2.7.1.20 Init SWOP Pages ..................
           4-682
           4.2.7.1.21 Zero Memory ......................
           4-683
           4.2.7.1.22 Initialize Qel Segments ..........
           4-683
           4.2.7.1.23 Make QEL Segment .................
           4-684
           4.2.7.1.24 Initialize CIF Segments ..........
           4-684
           4.2.7.1.25 Make CIF Segment .................
           4-685
           4.2.7.1.26 Initialize Buffer Segments .......
           4-686
           4.2.7.1.27 Make Buffer Segment ..............
           4-686
           4.2.7.1.28 Chain Resource ...................
           4-687
           4.2.7.1.29 Conn Resource Pool ...............
           4-688
           4.2.7.1.30 Init Resource Pool ...............
           4-688

     4.3 MEMORY LAYOUT .................................
     4-689
       4.3.1 CSF Shared Data ...........................
       4-689
       4.3.2 CSF Local Protected Data ..................
       4-689