config.01.xml 1.0 KB

12345678910111213141516171819202122232425262728
  1. <EnclaveConfiguration>
  2. <ProdID>0</ProdID>
  3. <ISVSVN>0</ISVSVN>
  4. <!-- If TCSMaxNum == TCSNum == TCSMinPool, there is no dynamic thread -->
  5. <!-- If TCSMaxNum is omitted, it defaults to TCSNum -->
  6. <!-- According to this setting, there are 10 static threads available -->
  7. <TCSMaxNum>10</TCSMaxNum>
  8. <TCSNum>10</TCSNum>
  9. <TCSMinPool>10</TCSMinPool>
  10. <TCSPolicy>1</TCSPolicy>
  11. <!-- Since there's no dynamic thread, only StackMaxSize is relevant here -->
  12. <StackMaxSize>0x40000</StackMaxSize>
  13. <!-- When there's no gap between HeapMinSize and HeapInitSize, or between
  14. HeapInitSize and HeapMaxSize, no dynamic heap expansion will occur. -->
  15. <!-- In this case, the total available heap is 1 MB-->
  16. <HeapMaxSize>0x100000</HeapMaxSize>
  17. <HeapInitSize>0x100000</HeapInitSize>
  18. <HeapMinSize>0x100000</HeapMinSize>
  19. <!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
  20. <DisableDebug>0</DisableDebug>
  21. <MiscSelect>0</MiscSelect>
  22. <MiscMask>0xFFFFFFFF</MiscMask>
  23. </EnclaveConfiguration>