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.

Messages<br />

H<strong>CP</strong>002E Invalid oper<strong>and</strong> - oper<strong>and</strong><br />

H<strong>CP</strong>026E Oper<strong>and</strong> missing or invalid<br />

4. PAGEX is used by the following <strong>IBM</strong> operating systems:<br />

VSE/ESA*<br />

GCS<br />

5. If the virtual configuration executes a SIGP Set-Architecture instruction, the<br />

pseudo-page-fault facility is reset.<br />

6. SET PAGEX ON may not be issued when the asynchronous page-fault<br />

h<strong>and</strong>shaking facility for the host-primary address space is in effect (when the<br />

VERSION=2 parameter of the PFAULT TOKEN macro has been specified).<br />

Pseudo-Page-Fault Interruption<br />

A pseudo-page-fault (PPF) interruption is a program interruption with interruption<br />

code X'0014'. There are two types of PPF interruptions, initial <strong>and</strong> completion.<br />

When PPF interruptions are enabled <strong>and</strong> a guest instruction encounters a <strong>CP</strong> page<br />

fault which can not be resolved immediately, a PPF initial interruption is presented<br />

to the virtual <strong>CP</strong>U. This allows the guest supervisor to suspend the running thread<br />

<strong>and</strong> dispatch another. For each initial interruption, a completion interruption<br />

specifying the same fault address is presented to the same virtual <strong>CP</strong>U when the<br />

page fault has been resolved. This signals the guest supervisor to unblock the<br />

affected thread.<br />

If the virtual <strong>CP</strong>U is disabled for PPF interruptions when a page fault occurs, the<br />

fault is h<strong>and</strong>led synchronously; that is, execution of the virtual <strong>CP</strong>U is suspended<br />

until the fault is resolved. If the virtual <strong>CP</strong>U is disabled for PPF interruptions when a<br />

previous asynchronous page fault is completed, the completion interruption remains<br />

pending until the virtual <strong>CP</strong>U enables.<br />

PPF interruptions are enabled on a virtual <strong>CP</strong>U when all of the following are true:<br />

v PAGEX is set ON for the virtual machine.<br />

v The PSW is enabled for I/O interruptions. (PSW bit 6 is one.)<br />

In addition, if the virtual machine is in z/Architecture mode, PPFs are presented<br />

only for faults on guest-real addresses below 2 GB. Faults on higher addresses are<br />

h<strong>and</strong>led synchronously, as if PPF interruptions were disabled.<br />

When a PPF interruption is presented, an interruption parameter is stored at guest<br />

real locations 144-147 (X'90'-X'93'), as follows:<br />

v Bit 0 is zero for a PPF initial interruption, or one for a PPF completion<br />

interruption.<br />

v Bits 1-31 are the guest-real starting address of the page on which the fault<br />

occurred. (Bits 20-31 are zero.)<br />

H<strong>CP</strong>1404E Asynchronous page-fault h<strong>and</strong>shaking<br />

for the host-primary space is already in<br />

effect. PAGEX cannot be activated.<br />

SET PAGEX<br />

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

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

Saved successfully!

Ooh no, something went wrong!