Add SGX AOT support with SGX SDKv2.8 unpublic sgx_rsrv_mem_mngr.h (#169)

This commit is contained in:
qdaoming-intel
2020-02-19 15:11:12 +08:00
committed by GitHub
parent 0fb40f3f9a
commit a4ac16a1c8
5 changed files with 138 additions and 16 deletions

View File

@ -32,8 +32,8 @@ if (NOT DEFINED WAMR_BUILD_INTERP)
endif ()
if (NOT DEFINED WAMR_BUILD_AOT)
# Disable AOT by default.
set (WAMR_BUILD_AOT 0)
# Enable AOT by default.
set (WAMR_BUILD_AOT 1)
endif ()
if (NOT DEFINED WAMR_BUILD_JIT)

View File

@ -3,7 +3,9 @@
<ProdID>0</ProdID>
<ISVSVN>0</ISVSVN>
<StackMaxSize>0x40000</StackMaxSize>
<HeapMaxSize>0x100000</HeapMaxSize>
<HeapMaxSize>0x200000</HeapMaxSize>
<ReservedMemMaxSize>0x100000</ReservedMemMaxSize>
<ReservedMemExecutable>1</ReservedMemExecutable>
<TCSNum>10</TCSNum>
<TCSPolicy>1</TCSPolicy>
<DisableDebug>0</DisableDebug>

View File

@ -10,7 +10,7 @@
#include "bh_memory.h"
#include "wasm_export.h"
static char global_heap_buf[512 * 1024] = { 0 };
static char global_heap_buf[2* 1024 * 1024] = { 0 };
static int app_argc;
static char **app_argv;