Specifications

Loading an OpenVMS AXP Device Driver
10.3 Loading Sliced Executive Images
4. Add the value calculated in step 2 (2530) to the base address for the image
section (0). The sum (2530) is the offset within the image as written by the
linker.
5. Look at the ‘‘Program Section Synopsis’’ section of the linker map. Using the
offset (2530) determined in step 4, you find that the address is in module
SMPROUT.
EXEC$NONPAGED_CODE 00000000 000087BF 000087C0 ( 34752.) 2 **
SMPROUT 00000000 0000391B 0000391C ( 14620.) 2 **
SMPINITIAL 00003920 000051D3 000018B4 ( 6324.) 2 **
SMPINT_COMMON 000051E0 0000684F 00001670 ( 5744.) 2 **
SPINLOCK$MON 00006860 000087BF 00001F60 ( 8032.) 2 **
EXEC$HI_USE_PAGEABLE_LINKAGE 0000C000 0000C000 00000000 ( 0.) BYTE
EXEC$NONPAGED_DATA 0000C000 0000C4CB 000004CC ( 1228.) 2 **
SMPROUT 0000C000 0000C351 00000352 ( 850.) 2 **
SMPINITIAL 0000C360 0000C4CB 0000016C ( 364.) 2 **
The ;W command has been added to XDELTA to ease locating addresses within
exec loaded images. The command has two forms.
The first form takes a system space address as a parameter and attempts to
locate that address within the loaded executive images. This command works for
both sliced and unsliced executive images. The output is very similar to ;L, except
the offset calculated in steps 1-4 is displayed for you, as in the following example:
80026530;W
Seq# Image Name Base End Image Offset
000C SYSTEM_SYNCHRONIZATION.EXE
Nonpaged read only 80024000 8002C800 00002530
The second form of the command takes an executive image sequence number
and an image offset from the map file as parameters. The output, again, is very
similar to ;L, except that the system space address which corresponds to the
image offset is displayed.
C,2530;W
Seq# Image Name Base End Address
000C SYSTEM_SYNCHRONIZATION.EXE
Nonpaged read only 80024000 8002C800 80026530
10–16