occlum/src/Enclave.edl
Tate, Hongliang Tian 637e15f6c6 Add syscall spawn
2019-02-16 16:23:30 +08:00

21 lines
556 B
Plaintext

enclave {
from "sgx_stdio.edl" import *;
from "sgx_backtrace.edl" import *;
from "sgx_tstdc.edl" import *;
from "sgx_tstd.edl" import *;
from "sgx_net.edl" import *;
from "sgx_time.edl" import *;
from "sgx_tprotected_fs.edl" import *;
trusted {
/* define ECALLs here. */
public int libos_boot([in, string] const char* executable_path);
public int libos_run(void);
};
untrusted {
void ocall_print_string([in, string] const char* msg);
int ocall_run_new_task(void);
};
};