Implement libc-WASI for Linux SGX platform and update documents (#343)
This commit is contained in:
@ -5,6 +5,8 @@
|
||||
|
||||
enclave {
|
||||
from "sgx_tstdc.edl" import *;
|
||||
from "sgx_pthread.edl" import *;
|
||||
from "sgx_wamr.edl" import *;
|
||||
|
||||
trusted {
|
||||
/* define ECALLs here. */
|
||||
@ -13,6 +15,7 @@ enclave {
|
||||
unsigned cmd_buf_size);
|
||||
public void ecall_iwasm_main([user_check]uint8_t *wasm_file_buf,
|
||||
uint32_t wasm_file_size);
|
||||
public void ecall_iwasm_test();
|
||||
};
|
||||
|
||||
untrusted {
|
||||
|
||||
Reference in New Issue
Block a user