User Tools

Site Tools


ibm:vm370-lib:macro:svcsave.macro_src

SVCSAVE Source

References

Source Listing

SVCSAVE.MACRO.txt
  1. MACRO 00001000
  2. SVCSAVE 00002000
  3. PUSH PRINT 00002200
  4. AIF ('&SYSPARM' NE 'SUP').ACC01 00002400
  5. PRINT OFF,NOGEN 00002600
  6. .ACC01 ANOP 00002800
  7. * FORMAT OF SYSTEM SAVE AREA 00003000
  8. SSAVE DSECT 00004000
  9. OVIND DS X OVERRIDE INDICATOR: 0,1,2,3 00005000
  10. TYPFLAG DS BL1 SVC TYPE FLAG BYTE 00006000
  11. TPFERT EQU X'80' ERROR RETURN DESIRED 00007000
  12. TPFNS EQU X'40' NO SAVE AREA ALLOCATED 00008000
  13. TPFR01 EQU X'20' RETURN CALLEE'S R0-R1 TO CALLER 00009000
  14. TPFUSR EQU X'10' 'USER' SVC CALL 00010000
  15. TPFACB EQU X'08' OS VSAM SVC REQUEST 00010100
  16. TPFSV3 EQU X'02' SVC 203 00011000
  17. TPFSVO EQU X'01' OS SIMULATION SVC 00012000
  18. SPACE 00013000
  19. CODE DS H SVC 203 CODE VALUE 00014000
  20. SPACE 00015000
  21. CALLER DS A ADDRESS OF SVC CALLER 00016000
  22. CALLEE DS D NAME OF ROUTINE BEING CALLED 00017000
  23. SPACE 00018000
  24. OLDPSW DS D SVC OLDPSW OF CALLER 00019000
  25. NRMRET DS A ADDRESS FOR NORMAL RETURN 00020000
  26. ERRET DS A ADDRESS FOR ERROR RETURN 00021000
  27. SPACE 00022000
  28. EGPRS DS 0F GENERAL REGS AT ENTRY TO SVC 00023000
  29. EGPR0 DS F R0 00024000
  30. EGPR1 DS F R1 00025000
  31. EGPR2 DS F R2 00026000
  32. EGPR3 DS F R3 00027000
  33. EGPR4 DS F R4 00028000
  34. EGPR5 DS F R5 00029000
  35. EGPR6 DS F R6 00030000
  36. EGPR7 DS F R7 00031000
  37. EGPR8 DS F R8 00032000
  38. EGPR9 DS F R9 00033000
  39. EGPR10 DS F R10 00034000
  40. EGPR11 DS F R11 00035000
  41. EGPR12 DS F R12 00036000
  42. EGPR13 DS F R13 00037000
  43. EGPR14 DS F R14 00038000
  44. EGPR15 DS F R15 00039000
  45. SPACE 00040000
  46. EFPRS DS 0D FLOATING POINT REGS AT ENTRY 00041000
  47. EFPR0 DS D FPR0 00042000
  48. EFPR2 DS D FPR2 00043000
  49. EFPR4 DS D FPR4 00044000
  50. EFPR6 DS D FPR6 00045000
  51. SPACE 00046000
  52. CHKWRD1 DC C'ABCD' CHECK WORD ONE 00047000
  53. SSAVENXT DS A ADDRESS OF NEXT SSAVE AREA 00048000
  54. SSAVEPRV DS A ADDRESS OF PREVIOUS SSAVE AREA 00049000
  55. USAVEPTR DS A ADDRESS OF CORRESPONDING USER *00050000
  56. SAVE AREA 00051000
  57. OSTEMP DS F TEMP FOR OS SIMULATION ROUTINES 00052000
  58. SPACE 00053000
  59. * 'DMSKEY' KEY STACK 00054000
  60. KEYMAX EQU 7 MAXIMUM NUMBER OF KEYS IN STACK 00055000
  61. KEYP DC X'00' NUMBER OF KEYS ON STACK 00056000
  62. KEYS DS (KEYMAX)X KEY STACK 00057000
  63. SPACE 00058000
  64. * THE FOLLOWING FIELDS ARE FILLED IN ONLY BY DMSOVS, THE SVCTRACE 00059000
  65. * SUBROUTINE. 00060000
  66. XGPR0 DS F EXTRA COPY OF EGPR0 00061000
  67. XGPR1 DS F EXTRA COPY OF EGPR1 00062000
  68. XGPR15 DS F EXTRA COPY OF EGPR15 00063000
  69. XCOUNT DS F EXTRA COPY OF SVCOUNT 00064000
  70. SPACE 00065000
  71. CHKWRD2 DC C'EFGH' SECOND CHECK WORD 00066000
  72. SSAVESZ EQU (*-SSAVE+7)/8 SIZE OF SYSTEM SAVE AREA 00067000
  73. EJECT 00068000
  74. * FORMAT OF USER SAVE AREA 00069000
  75. USAVE DSECT 00070000
  76. SPACE 00071000
  77. * THIS IS A SCRATCH AREA PASSED TO USER WITH POINTER IN REGISTER 13. 00072000
  78. DS 12D 00073000
  79. USAVESZ EQU (*-USAVE+7)/8 SIZE OF USER SAVE AREA 00074000
  80. EJECT 00075000
  81. POP PRINT 00075100
  82. MEND 00076000
ibm/vm370-lib/macro/svcsave.macro_src.txt ยท Last modified: 2023/08/06 13:38 by Site Administrator