mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
c636761ff4
Add a runtime agnostic enclave memory manager implementation in sdk/emm. The EMM APIs are based on design proposed in this PR: https://github.com/openenclave/openenclave/pull/3991 Enclave common loader changes are in psw/enclave_common/sgx_mm_ocalls.cpp, which are basically OCall support needed for EMM. Intel SDK runtime specific support are implemented as runtime abstraction layer: sdk/trts/ema_rt.c Current limitations, steps to build and test are documented in sdk/emm/README.md Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com> Signed-off-by: Xiaofeng Xu <20158212+xxu36@users.noreply.github.com>
24 lines
722 B
XML
24 lines
722 B
XML
<EnclaveConfiguration>
|
|
<ProdID>0</ProdID>
|
|
<ISVSVN>0</ISVSVN>
|
|
|
|
<TCSNum>10</TCSNum>
|
|
<TCSMinPool>3</TCSMinPool>
|
|
<TCSPolicy>1</TCSPolicy>
|
|
|
|
<!-- For a static thread, total available stack is 0x40000 -->
|
|
<!-- For a dynamic thread, once it is creted, available stack is
|
|
0x2000, the gap, that is 0x40000 - 0x2000, can be dynamically
|
|
expanded as necessary.
|
|
-->
|
|
<StackMaxSize>0x40000</StackMaxSize>
|
|
<StackMinSize>0x2000</StackMinSize>
|
|
|
|
<HeapMaxSize>0x100000</HeapMaxSize>
|
|
|
|
<!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
|
|
<DisableDebug>0</DisableDebug>
|
|
<MiscSelect>1</MiscSelect>
|
|
<MiscMask>0xFFFFFFFF</MiscMask>
|
|
</EnclaveConfiguration>
|