User Tools

Site Tools


ibm:vm370-lib:dumpscan:dmmmod.assemble_abs

Table of Contents

DMMMOD Abstract

Statistics

Type ASSEMBLE
Source Lines : 741
Fixes Applied : 0
Most Recent Version : Friday, December 8, 1978
Last Fix ID : [Unmodified]

Synopsis

Module

        DMMMOD SUBROUTINE OF DUMPSCAN

Function

        LOCATE MODULES AND ENTRY POINTS IN THE LOAD MAP.
       IDENTIFY THE MODULE CONTAINING A GIVEN ADDRESS

Attributes

        REUSABLE
        NON-REENTRANT

Operation

       TYPE 1 - LOCATE A MODULE
        DUMPSCAN PASSES 'MOD' THE ADDRESS OF THE PLIST
        THIS POINTS TO A MODULE NAME. MOD READS IN A SHORT
        FORM OF THE LOAD MAP FROM THE END OF THE DUMP,
        SCANS FOR THE NAME, GETS THE ADDRESS OF THE MODULE AT
        IPL TIME, CHECKS THROUGH THE SEGMENT AND PAGE TABLES
        TO FIND WHERE IT WAS LOADED AT DUMP TIME.
        IT THEN CALLS GETREC TO FETCH THAT AREA INTO CORE,
        AND CALLS DIR TO DISPLAY IT.
       TYPE 2 - FIX AN ADDRESS
       DUMPSCAN PASSES MOD AN ADDRESS. THIS IS VALIDITY
       CHECKED THEN A SEARCH IS MADE TO FIND THE CODE WHICH
       CONTAINS THE ADDRESS. FIRST THE ADDRESS IS CHECKED
       TO SEE IF IT IS ABOVE DMKCPEND. IF NOT, THE NAME IS
       EXTRACTED FROM THE LOAD MAP. IF IT IS, THEN THE PAGE
       CONTAINING THE ADDRESS IS BROUGHT INTO CORE. THE PAGE
       IS SCANNED FROM THE ADDRESS BACK, UNTIL A MODULE NAME
       IS FOUND. THE MESSAGE IS CONSTRUCTED TO GIVE THE
       MODULE NAME AND DISPLACEMENT.

Calls to Other Routines

        DMMMOD   GETS DUMP AREAS INTO CORE
        DMMDIR   DISPLAYS GOTTEN AREAS
ibm/vm370-lib/dumpscan/dmmmod.assemble_abs.txt ยท Last modified: 2023/08/06 13:37 by Site Administrator