User Tools

Site Tools


ibm:vm370-lib:copy:shrtable.copy_src

SHRTABLE Source

References

Source Listing

SHRTABLE.COPY.txt
  1. *COPY SHRTABLE 00001000
  2. PUSH PRINT 00001200
  3. AIF ('&SYSPARM' NE 'SUP').SHR01 00001400
  4. PRINT OFF,NOGEN 00001600
  5. .SHR01 ANOP 00001800
  6. SHRTABLE DSECT 00002000
  7. SPACE 00003000
  8. *** SHRTABLE - SHARED SEGMENT TABLE FOR SAVED SYSTEMS 00004000
  9. * 00005000
  10. * 0 +-----------------------+-----------------------+ 00006000
  11. * | S*1 | SHRFPNT | SHRBPNT | 00007000
  12. * 8 +-----------------------+-----------------------+ 00008000
  13. * | SHRNAME | 00009000
  14. * 10 +-----------+-----------+-----------------------+ 00010000
  15. * | SHRTSIZE | SHRUSECT | SHRSEGCT | 00011000
  16. * 18 +-----------+-----------+-----------------------+ 00012000
  17. * | SHRSEGNM | SHRSEGNM | 00013000
  18. * +-----------------------+-----------------------+ 00014000
  19. * | SHRPAGE | SHRPAGE | 00015000
  20. * +-----------------------+-----------------------+ 00016000
  21. * 00017000
  22. *** SHRTABLE - SHARED SEGMENT TABLE FOR SAVED SYSTEMS 00018000
  23. SPACE 00019000
  24. SHRFPNT DS 1F POINTER TO NEXT SHRTABLE 00020000
  25. ORG SHRFPNT 00020100
  26. SHRFLAG DS 1X S*1 SHARED SEGMENT FLAG BYTE 00020200
  27. DS 3X 00020300
  28. SHRBPNT DS 1F POINTER TO PREVIOUS SHRTABLE 00021000
  29. SHRNAME DS CL8 NAME OF SAVED SYSTEM 00022000
  30. SHRTSIZE DS 1H SIZE OF SHRTABLE IN DOUBLE WORDS 00023000
  31. SHRUSECT DS 1H NUMBER OF USERS IPL'ED TO THIS NAME 00024000
  32. SHRSEGCT DS 1F NUMBER OF SHARED SEGMENTS 00025000
  33. SHRSEGNM DS 1F CONTAINS SHARED SEGMENT NUMBERS 00026000
  34. * UP TO FOUR SEGMENT NUMBERS PER WORD 00027000
  35. SHRPAGE DS 1F POINTERS TO EACH OF THE SHARED PAGTABLES 00028000
  36. * THERE IS ONE WORD FOR EACH SHARED SEGMENT 00029000
  37. * THE ENTRY IS THE SAME AS 'S*1 SEGPAGE' IN 00030000
  38. * THE SEGTABLE 00030500
  39. * 00030600
  40. * FLAG BITS DEFINED IN SHRFLAG 00030700
  41. SHRNOPRT EQU X'40' NONPROTECTED SHARED SEGMENTS 00030800
  42. SPACE 2 00030900
  43. * NOTE: IN ATTACHED PROCESSOR MODE, THERE WILL BE 00031001
  44. * TWO SETS OF PAGTABLES FOR EACH SHARED SEGMENT, ONE FOR 00031002
  45. * THE MAIN PROCESSOR AND ONE FOR THE ATTACHED PROCESSOR. 00031003
  46. * SHRPAGE WILL POINT TO THE PAGTABLES FOR THE MAIN PROCESSOR 00031004
  47. * AND THE PAGTABLES FOR THE ATTACHED PROCESSOR WILL BE AT 00031005
  48. * A FIXED OFFSET FROM THE PAGTABLES FOR THE MAIN PROCESSOR. 00031006
  49. EJECT 00031010
  50. SPACE 1 00031020
  51. VMABLOK DSECT 00031030
  52. SPACE 1 00031040
  53. *** VMABLOK - SHARED SYSTEMS RUNNING WITH VMA 00031050
  54. * 00031060
  55. * 0 +-----------------------+-----------------------+ 00031070
  56. * | VMAFPNT | VMASHRBK | 00031080
  57. * 8 +-----------------------+-----------------------+ 00031090
  58. * | VMANAME | 00031100
  59. * +-----------------------------------------------+ 00031110
  60. * 00031120
  61. *** VMABLOK - SHARED SYSTEMS RUNNING WITH VMA 00031130
  62. SPACE 1 00031140
  63. VMAFPNT DS 1F FORWARD POINTER TO NEXT VMABLOK 00031150
  64. VMASHRBK DS 1F ADDRESS OF SHARE TABLE (SHRTABLE) 00031160
  65. VMANAME DS CL8 IDENTIFICATION OF NAMED SHARED SYSTEM 00031170
  66. SPACE 1 00031180
  67. VMASIZE EQU (*-VMABLOK)/8 VMABLOK SIZE IN DOUBLE WORDS 00031190
  68. EJECT 00032000
  69. POP PRINT 00033000
  70. SPACE 00034000
ibm/vm370-lib/copy/shrtable.copy_src.txt ยท Last modified: 2023/08/06 13:36 by Site Administrator