User Tools

Site Tools


ibm:vm370-lib:macro:svcsect.macro_src

SVCSECT Source

References

Source Listing

SVCSECT.MACRO.txt
  1. MACRO 00001000
  2. SVCSECT &SECT 00002000
  3. PUSH PRINT 00002200
  4. AIF ('&SYSPARM' NE 'SUP').ACC01 00002400
  5. PRINT OFF,NOGEN 00002600
  6. .ACC01 ANOP 00002800
  7. AIF ('&SECT' EQ 'CSECT').CSECT 00003000
  8. SVCSECT DSECT 00004000
  9. AGO .CONT 00005000
  10. .CSECT ANOP 00006000
  11. SVCSECT DS 0D 00007000
  12. ENTRY SVCSECT 00008000
  13. .CONT ANOP 00009000
  14. * 00010000
  15. USVCTBL DS 0F __________ A 'HANDLE' FOR THE FOLLOWING ... 00011000
  16. * 00012000
  17. * KEEP NEXT FOUR IN ORDER .... 00013000
  18. JNUMB DC F'0' ________ NO. OF DBL-WORDS IN SVC-NUMBER TABLE 00014000
  19. JFIRST DC A(*-*) ______ ADDRESS OF FIRST ITEM (IF ANY) IN TABLE 00015000
  20. JF4 DC F'4' ________ (FOR BXLE) 00016000
  21. JLAST DC A(*-*) ______ ADDRESS OF LAST ITEM IN TABLE 00017000
  22. * 00018000
  23. * START-UP FLAGS -- INDICATE WHAT MODE THE CALLEE IS TO BE STARTED UP. 00019000
  24. SFLAG DC BL1'0' FLAG BYTE 00020000
  25. SFSYS EQU X'80' SYSTEM FLAG -- SVC PROTECT KEY *00021000
  26. IS ZERO 00022000
  27. SFTRN EQU X'40' TRANSIENT AREA ROUTINE -- SYSTEM*00023000
  28. MASK IS OFF 00024000
  29. SFNUC EQU X'20' NUCLEUS ROUTINE -- SYS MASK OFF 00025000
  30. SFREN EQU X'01' ILLEGAL RE-ENTRY FLAG 00026000
  31. SPACE 00027000
  32. DC X'00' UNUSED 00028000
  33. SVCAB DC H'0' SVC ABEND CODE, IF ANY 00029000
  34. CURRALOC DC A(0) CURRENT ALLOCATED SAVE AREA 00030000
  35. LASTALOC DC A(0) LAST ALLOCATED SAVE AREA 00031000
  36. DEPTH DC F'0' NESTED SVC DEPTH 00032000
  37. SPACE 2 00033000
  38. * 00034000
  39. * INFORMATION FOR SVCTRACE 00035000
  40. ADMSOVS DC A(0) ADDRESS OF DMSOVS 00036000
  41. OVBPF DC BL2'0' 'BEFORE PRINT' FLAGS 00037000
  42. OVBTF DC BL2'0' 'BEFORE TYPE' FLAGS 00038000
  43. OVAPF DC BL2'0' 'AFTER PRINT' FLAGS 00039000
  44. OVATF DC BL2'0' 'AFTER TYPE' FLAGS 00040000
  45. SPACE 00041000
  46. * DEFINITIONS OF FLAGS FOR EACH PAIR OF FLAG BYTES. 00042000
  47. OVF1ON EQU X'80' THIS OPTION IS ON 00043000
  48. OVF1GB EQU X'40' GPRS BEFORE CALL WANTED 00044000
  49. OVF1GA EQU X'20' GPRS AFTER CALL WANTED 00045000
  50. OVF1GS EQU X'10' GPRS RETURNED FROM SVC CALLEE 00046000
  51. OVF1PA EQU X'08' PARAMETER LIST WANTED 00047000
  52. OVF1F EQU X'04' FLOATING POINT REGS WANTED 00048000
  53. OVF1FS EQU X'01' FPRS RETURNED FROM SVC CALLEE 00049000
  54. SPACE 00050000
  55. OVF2ST EQU X'80' 'STOP' WANTED 00051000
  56. OVF2CM EQU X'40' CMS SVC TRACE WANTED 00052000
  57. OVF2NR EQU X'20' NORMAL RETURN CMS SVC'S WANTED 00053000
  58. OVF2OS EQU X'10' OS SVC'S WANTED 00054000
  59. OVF2WA EQU X'08' 'WAIT' CMS SVC'S WANTED 00055000
  60. SPACE 00056000
  61. OVSTAT DC B'0' CURRENT STATUS OF SVCTRACE 00057000
  62. OVSON EQU X'80' OVERRIDES ARE ON 00058000
  63. OVSPREV EQU X'40' 'SVCTRACE SAME' IS LEGAL 00059000
  64. OVSAFT EQU X'20' 'AFTER' BIT, SET BY DMSITS 00060000
  65. OVSHO EQU X'10' 'HALT OVERRIDES' FLAG 00061000
  66. OVSSO EQU X'08' 'SUSPEND OVERRIDES' FLAG 00062000
  67. SPACE 00063000
  68. DC XL3'0' UNUSED 00064000
  69. * 00065000
  70. SVCSAVE DC 18F'0' - INTSVC WORK AREA 00066000
  71. NRMSAV DC 28D'0' ______ NORMAL STANDARD INFORMATION 00067000
  72. * 00068000
  73. DC F'0' UNUSED 00069000
  74. SVCOUNT DC F'0' CURRENT SVC COUNT 00070000
  75. SVCSTOP DC F'0' FOR DMSITS DEBUGGING 00071000
  76. SVLAD DS F SAVE REG 14 FOR DMSLAD 00072000
  77. SVLADW DS F SAVE REG 14 FOR DMSLADW 00073000
  78. SVLFS DS F SAVE REG 14 FOR DMSLFS 00074000
  79. LOADLIST DC CL8'LOAD' 00075100
  80. LOADNAME DC CL8' ' 00075200
  81. DC CL8'(' 00075300
  82. DC CL8'ORIGIN' 00075400
  83. LOADSTRT DC CL8'0' 00075500
  84. DC 8X'FF' 00075600
  85. * 00075700
  86. DC 2F'0' RESERVED FOR FUTURE USE 00075800
  87. * 00076000
  88. * KEEP NEXT FIVE IN ORDER ..... 00077000
  89. DS 0F 00078000
  90. MODLIST DC CL8'LOADMOD ' ROUTINE NAME 00079000
  91. DUMCOM DC CL8' ' MODULE 'FILENAME' FILLED IN HERE 00080000
  92. SSMON DC X'FF' _______ 'FENCE' AND ALLOWS ALL INTERRUPTS. 00081000
  93. ZERO3 DC AL3(0) ______ THREE-BYTE ZERO 00082000
  94. * 00083000
  95. TRANSRT DC CL8' ' HOLDS FILENAME OF TRANSIENT ROUTINE 00084000
  96. TRANMSK DC AL1(X'FF') 00085000
  97. ADTRANS DC VL3(TRANSAR) 00086000
  98. TEMP02 DC D'0' ________ (FOR 'CVD' & OTHER SCRATCH-USE) 00087000
  99. DC 4F'0' - RESERVED FOR FUTURE USE 00088000
  100. * 00089000
  101. DS 0D 00090000
  102. RGPRS DS 0F RETURNED GPRS 00091000
  103. RGPR0 DS F R0 00092000
  104. RGPR1 DS F R1 00093000
  105. RGPR2 DS F R2 00094000
  106. RGPR3 DS F R3 00095000
  107. RGPR4 DS F R4 00096000
  108. RGPF5 DS F R5 00097000
  109. RGPR6 DS F R6 00098000
  110. RGPR7 DS F R7 00099000
  111. RGPR8 DS F R8 00100000
  112. RGPR9 DS F R9 00101000
  113. RGPR10 DS F R10 00102000
  114. RGPR11 DS F R11 00103000
  115. RGPR12 DS F R12 00104000
  116. RGPR13 DS F R13 00105000
  117. RGPR14 DS F R14 00106000
  118. RGPR15 DS F R15 00107000
  119. RFPRS DS 0D RETURNED FLOATING POINT REGS 00108000
  120. RFPR0 DS D FPR0 00109000
  121. RFPR2 DS D FPR2 00110000
  122. RFPR4 DS D FPR4 00111000
  123. RFPR6 DS D FPR6 00112000
  124. SPACE 00113000
  125. NRMUSAV DS 12D 'NRMSAV' USER SAVE AREA 00114000
  126. * 00115000
  127. EJECT 00116000
  128. POP PRINT 00116100
  129. MEND 00117000
ibm/vm370-lib/macro/svcsect.macro_src.txt ยท Last modified: 2023/08/06 13:38 by Site Administrator