Note: PCMD pointer is overlaid on top of PAGEINFO.SECINFO field *)</p>
<p>IF ( (DS:TMP_PCMD is not 128Byte aligned) or (DS:TMP_SRCPGE is not 4KByte aligned) )</p>
<p>THEN #GP(0); FI;</p>
<p>(* Check concurrency of EPC by other Intel SGX instructions *)</p>
<p>IF (other instructions accessing EPC)</p>
<p>THEN</p>
<p>IF ((EAX==07h) OR (EAX==08h)) (* ELDB/ELDU *)</p>
<p>THEN</p>
<p>IF (&lt;&lt;VMX non-root operation&gt;&gt; AND</p>
<p>&lt;&lt;ENABLE_EPC_VIRTUALIZATION_EXTENSIONS&gt;&gt;)</p>
<p>THEN</p>
<p>VMC