When a logical processor enters an enclave, the TCS is considered busy until the logical processors exits the enclave.
My questions is :
1.Is the status of TCS indicated by the field of TCS.STATE( ACTIVE or INACTIVE)?
2. When AEX happened,what's the status of TCS? busy or not ? I don't find any details of changing tcs status in AEX flow details of Intel SDM.
3. When AEX happend and if the TCS is not busy, another thread is created .Can it use the same tcs to enter the enclave (Suppose that there is only one tcs supported in enclave)
For more complete information about compiler optimizations, see our Optimization Notice.