27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Usage Notes<br />

& indicates 64-bit address indirection. Indirection means that the contents of the<br />

specified address are used instead of the address itself. In this case, the 64 bits<br />

at the specified address are used as the new address for the Display comm<strong>and</strong>.<br />

The indirect address specified here (following INDEX <strong>and</strong> BASE) is determined<br />

after BASE <strong>and</strong> INDEX are applied.<br />

A maximum of 16 indirection characters can be specified.<br />

DISPLAY Guest Storage (ESA/XC)<br />

1. Special authorization is required to use this comm<strong>and</strong> to view any address<br />

space other the host-primary address space of the virtual <strong>CP</strong>U. In order to use<br />

this comm<strong>and</strong> to display storage in an address space, one of the following<br />

conditions must be satisfied:<br />

v Your virtual machine must be the owner of the address space. Your virtual<br />

machine is the owner of its host-primary address space <strong>and</strong> of any address<br />

space that it creates using the CREATE function of the ADRSPACE macro.<br />

v If the address space is owned by another virtual machine, your virtual<br />

machine must have read-only or read-write authorization to the address<br />

space. The owner of the address space can grant authorization to your<br />

virtual machine using the PERMIT function of the ADRSPACE macro.<br />

Authorization is granted on a space-by-space basis, so that you may be<br />

authorized to view one address space of a virtual machine, but may not be<br />

authorized to view a different space.<br />

2. When running with a saved segment, you can display storage locations outside<br />

the range of your virtual machine size if they are within the saved segment. If<br />

locations exist between the upper limit of your virtual machine <strong>and</strong> the address<br />

at which the saved segment was saved, any attempt to display those locations<br />

(or associated keys) causes the “nonaddressable storage” response to be<br />

displayed.<br />

3. The oper<strong>and</strong>s L, PRI, AREG, <strong>and</strong> ALET specify the host-access-register<br />

translation (ART) process. The ART process performs special-case translation<br />

processes for certain ALET values <strong>and</strong> access registers:<br />

v The ALET X'00000000' always indicates the host-primary address space.<br />

v Access register 0 is always treated as containing ALET X'00000000'. The<br />

contents of access register 0 are not used during host-access-register<br />

translation processing.<br />

4. General register 0 is always treated as containing the value 0 when used as<br />

the base or index register with the BASE or INDEX oper<strong>and</strong>s. The contents of<br />

general register 0 are never used.<br />

5. In the XC environment, special rules govern the conversion of real addresses<br />

into absolute addresses. In some cases, prefixing is performed as usual to<br />

convert a real address to an absolute address, while in other cases prefixing is<br />

not performed <strong>and</strong> real addresses are treated unchanged as absolute<br />

addresses.<br />

These rules have an effect on the interpretation of the addresses that specify<br />

the range of storage locations to be displayed:<br />

v When storage is specified using the ALET or AREG oper<strong>and</strong> <strong>and</strong> the ALET<br />

value used is not X'00000000', prefixing is not performed on the addresses<br />

that specify the range of storage in the target address space.<br />

v When storage in the host-primary address space is specified by using the<br />

PRI oper<strong>and</strong>, or by using the ALET or AREG oper<strong>and</strong> when the ALET value<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 293

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!