Table of Contents

DMTVEC Source

References

Source Listing

DMTVEC.ASSEMBLE.txt
  1. VEC TITLE 'DMTVEC (RSCS) VM/370 - RELEASE 6' 00001000
  2. *. 00002000
  3. * MODULE NAME - 00003000
  4. * 00004000
  5. * DMTVEC 00005000
  6. * 00006000
  7. * FUNCTION - 00007000
  8. * 00008000
  9. * THE DMTVEC MODULE DESCRIBES THE FIXED ADDRESS 00009000
  10. * STORAGE UTILIZATION FOR MSUP, BEGINNING AT MAIN 00010000
  11. * STORAGE ADDRESS X'200'. STORAGE UTILIZATION OF THE 00011000
  12. * FIRST 512 BYTES OF MAIN STORAGE IS DEFINED BY 00012000
  13. * S/370 ARCHITECTURE, AND IS USED BY MSUP 00013000
  14. * EXCLUSIVELY FOR THE PURPOSES SO DEFINED. THIS AREA 00014000
  15. * IS NOT INCLUDED IN THE DMTVEC MODULE TO 00015000
  16. * FACILITATE INITIAL SYSTEM LOADING (THE CONTENTS OF 00016000
  17. * THE MACHINE DEFINED LOW ADDRESS STORAGE ARE 00017000
  18. * INITIALIZED BY DMTINI AT IPL TIME). 00018000
  19. * 00019000
  20. * ATTRIBUTES - 00020000
  21. * 00021000
  22. * THERE IS NO EXECUTABLE CODE IN THIS MODULE 00022000
  23. * 00023000
  24. * 00024000
  25. * EXTERNAL REFERENCES - 00025000
  26. * 00026000
  27. * DMTMAPMS - ADDR OF START OF MAIN (VIRTUAL) STORAGE MAP 00027000
  28. * DMTMAPQU - ADDR OF START OF SUPERVISOR QUEUE 00028000
  29. * DMTMAPQE - ADDR OF END OF SUPERVISOR QUEUE 00029000
  30. * 00030000
  31. * DMTQRQ - ADDR OF SUP QUEUE MANAGER REQUEST ENTRY 00031000
  32. * DMTDSP - ADDR OF DISPATCHER ENTRY 00032000
  33. * 00033000
  34. * DMTWAT - ADDR OF WAIT REQUEST ENTRY 00034000
  35. * DMTPST - ADDR OF POST REQUEST ENTRY 00035000
  36. * DMTIOMRQ - ADDR OF I/O REQUEST ENTRY 00036000
  37. * DMTASK - ADDR OF TASK SERVICE REQUEST ENTRY 00037000
  38. * DMTSTO - ADDR OF MAIN STORAGE REQUEST ENTRY 00038000
  39. * DMTASY - ADDR OF ASYNCH SERVICE REQUEST ENTRY 00039000
  40. * DMTSIG - ADDR OF ALERT SERVICE REQUEST ENTRY 00040000
  41. * DMTGIV - ADDR OF GIVE SERVICE REQUEST ENTRY 00041000
  42. * DMTAKE - ADDR OF TAKE SERVICE REQUEST ENTRY 00042000
  43. * 00043000
  44. * 00044000
  45. * TABLES / WORKAREAS - 00045000
  46. * 00046000
  47. * NONE 00047000
  48. * 00048000
  49. * NOTES - 00049000
  50. * 00050000
  51. * THE EXTERNAL ADDRESSES LISTED ABOVE ARE CONTAINED IN 00051000
  52. * VCONS WHICH ARE AT FIXED LOW STORAGE LOCATIONS, AND WHICH 00052000
  53. * ARE LOADED BY ALL PARTS OF THE SYSTEM FOR SUPERVISOR 00053000
  54. * LINKAGE. 00054000
  55. * 00055000
  56. * OPERATION - 00056000
  57. * 00057000
  58. * 00058000
  59. * STARTING AT MAIN STORAGE ADDRESS X'200', DMTVEC 00059000
  60. * DEFINES: 00060000
  61. * 1. FIELDS FOR USE BY THE MSUP EXECUTION 00061000
  62. * CONTROL SYSTEM, INCLUDING A DISPATCHEE NEW 00062000
  63. * PSW FIELD, A TWO FULLWORD SAVE AREA, A 00063000
  64. * ONE-BYTE ID OF THE LAST DISPATCHED TASK, AND 00064000
  65. * A THREE-BYTE ADDRESS OF THE TASK ELEMENT FOR 00065000
  66. * THAT TASK; 00066000
  67. * 00067000
  68. * 2. A FULLWORD ADDRESS OF THE MAIN STORAGE 00068000
  69. * MAP, AND A FULLWORD COUNT OF TOTAL PAGES IN 00069000
  70. * MAIN STORAGE (CONTIGUOUS, STARTING WITH PAGE 00070000
  71. * 0); 00071000
  72. * 00072000
  73. * 3. TEN FULLWORD ADDRESSES DESCRIBING THE 00073000
  74. * SUPERVISOR STATUS QUEUE CONFIGURATION; 00074000
  75. * 00075000
  76. * 4. ELEVEN FULLWORD ADDRESSES OF ENTRY POINTS 00076000
  77. * FOR THE VARIOUS SUPERVISOR SERVICE ROUTINES; 00077000
  78. * 00078000
  79. * 5. EIGHT FULLWORDS (INITIALIZED TO 0) FOR USE 00079000
  80. * AT THE TASK PROGRAMMING LEVEL. 00080000
  81. * 00081000
  82. *. 00082000
  83. EJECT 00083000
  84. PUNCH 'SLC 000200' 00084000
  85. SPACE 00085000
  86. DMTVEC CSECT 00086000
  87. SPACE 00087000
  88. * LOADING TO BEGIN AT X'200' TO LEAVE ROOM FOR MACHINE 00088000
  89. * EXTENSIONS AND PACIFY THE LOADER ... 00089000
  90. SPACE 00090000
  91. NEWPSW DC D'0' DISPATCHED PSW FOR LAST DISPATCHEE 00091000
  92. SSAVE DC 2F'0' GENERAL PURPOSE LOW CORE SAVE AREA 00092000
  93. ACTIVE DC X'00' ID OF CURRENTLY ACTIVE TASK WHEN RUNNING DISPATCHE 00093000
  94. DC AL3(0) ADDRESS OF TASK ELEMENT FOR LAST DISPATCHEE 00094000
  95. SPACE 00095000
  96. MAINMAP DC V(DMTMAPMS) ADDR OF START OF MAIN CORE ALLOCATION MAP 00096000
  97. MAINSIZE DC F'0' NUMBER OF PAGES IN ALL OF MAIN STORAGE 00097000
  98. QUEUE DC V(DMTMAPQU) ADDR OF START OF SUPERVISOR QUEUE 00098000
  99. QUEUEND DC V(DMTMAPQE) ADDR OF END OF LAST SUP QUEUE ELEMENT 00099000
  100. FREEQ DC A(0) ADDRESS OF START OF FREE ELEMENT QUEUE 00100000
  101. TASKQ DC A(0) ADDRESS OF START OF TASK ELEMENT QUEUE 00101000
  102. MPXIOQ DC A(0) ADDRESS OF START OF MULTIPLEXOR I/O QUEUE 00102000
  103. SELIOQ DC A(0) ADDRESS OF START OF SELECTOR I/O QUEUE 00103000
  104. IOEXITQ DC A(0) ADDRESS OF START OF ASYNCH I/O REQ ELEMENT QUEUE 00104000
  105. EXTQ DC A(0) ADDRESS OF START OF EXTERNAL REQ ELEMENT QUEUE 00105000
  106. ALERTQ DC A(0) ADDRESS OF START OF TASK ASYNCH REQ ELEMENT QUEUE 00106000
  107. GIVEQ DC A(0) ADDRESS OF START OF GIVE REQUEST ELEMENT QUEUE 00107000
  108. SPACE 00108000
  109. QREQ DC V(DMTQRQ) SUP QUEUE ALLOCATION REQUEST ENTRY ADDRESS 00109000
  110. DISPATCH DC V(DMTDSP) TASK DISPATCHER ENTRY ADDRESS 00110000
  111. SPACE 00111000
  112. WAITREQ DC V(DMTWAT) WAIT REQUEST ENTRY ADDRESS 00112000
  113. POSTREQ DC V(DMTPST) POST REQUEST ENTRY ADDRESS 00113000
  114. IOREQ DC V(DMTIOMRQ) I/O REQUEST ENTRY ADDRESS 00114000
  115. TASKREQ DC V(DMTASK) TASK MANAGEMENT REQUEST ENTRY ADDRESS 00115000
  116. MAINREQ DC V(DMTSTO) MAIN ALLOCATION REQUEST ENTRY ADDRESS 00116000
  117. ASYNREQ DC V(DMTASY) ASYNCH INTERRUPT REQUEST ENTRY ADDRESS 00117000
  118. ALERTREQ DC V(DMTSIG) TASK ASYNCH SIGNAL REQUEST ENTRY ADDRESS 00118000
  119. GIVEREQ DC V(DMTGIV) TASK REQUEST SEND REQUEST ENTRY ADDRESS 00119000
  120. TAKEREQ DC V(DMTAKE) TASK REQUEST DELIVER REQUEST ENTRY ADDRESS 00120000
  121. SPACE 00121000
  122. TVECTOR0 DC A(0) TASK DEFINED FIELD 00122000
  123. TVECTOR1 DC A(0) TASK DEFINED FIELD 00123000
  124. TVECTOR2 DC A(0) TASK DEFINED FIELD 00124000
  125. TVECTOR3 DC A(0) TASK DEFINED FIELD 00125000
  126. TVECTOR4 DC A(0) TASK DEFINED FIELD 00126000
  127. TVECTOR5 DC A(0) TASK DEFINED FIELD 00127000
  128. TVECTOR6 DC A(0) TASK DEFINED FIELD 00128000
  129. TVECTOR7 DC A(0) TASK DEFINED FIELD 00129000
  130. END 00130000