In Example M13, the subject matter of any one of Examples M1-M12 can optionally include where, prior to adjusting the enclave entry epoch variable, the method further comprises: obtaining a current value of the enclave entry epoch variable; obtaining a current value of a global epoch variable; and determining the logical processor entered the enclave mode during the prior epoch based on a comparison of the current value of the enclave entry epoch variable and the current value of the global epoch variable.
In Example M14, the subject matter of any one of Examples M1-M13 can optionally include where the RAR is associated with one of an inter-processor interrupt (IPI) or a RAR signal.
In Example M15, the subject matter of any one of Examples M1-M14 can optionally include where the memory includes an enclave page cache that stores one or more pages at one or more page addresses corresponding to the one or more TLB entries.
Example X1 provides an apparatus for avoiding an asynchronous exit from an enclave mode, where the apparatus comprises means for performing the method of any one of the preceding Examples.
In Example X2, the subject matter of Example X1 can optionally include that the means for performing the method comprises at least one processor and at least one memory element.
In Example X3, the subject matter of Example X2 can optionally include that the at least one memory element comprises machine readable instructions that when executed, cause the apparatus to perform the method of any one of the preceding Examples.
In Example X4, the subject matter of any one of Examples X1-X3 can optionally include that the apparatus is one of a computing system, a processing element, or a system-on-a-chip.