Files
Haitao Huang c636761ff4 EDMM support using kernel interfaces
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>
2021-10-18 08:31:26 -07:00

25 lines
824 B
XML

<EnclaveConfiguration>
<ProdID>0</ProdID>
<ISVSVN>0</ISVSVN>
<TCSNum>1</TCSNum>
<TCSMinPool>5</TCSMinPool>
<TCSPolicy>1</TCSPolicy>
<TCSMaxNum>13</TCSMaxNum>
<!-- 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>0x4000</StackMaxSize>
<StackMinSize>0x2000</StackMinSize>
<HeapMaxSize>0x900000</HeapMaxSize>
<HeapInitSize>0x90000</HeapInitSize>
<HeapMinSize>0x0022000</HeapMinSize>
<!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
<DisableDebug>0</DisableDebug>
<MiscSelect>1</MiscSelect>
<MiscMask>0xFFFFFFFF</MiscMask>
</EnclaveConfiguration>