Enable WASI feature, enhance security and add SGX sample (#142)

Change emcc to clang
Refine interpreter to improve perforamnce
This commit is contained in:
Weining
2019-11-20 21:16:36 +08:00
committed by wenyongh
parent 29c7c743e9
commit 27f246b5f3
159 changed files with 9543 additions and 3789 deletions

View File

@ -16,6 +16,12 @@
extern "C" {
#endif
/* Special module IDs */
#define ID_HOST -3
#define ID_APP_MGR -2
/* Invalid module ID */
#define ID_NONE (uint32)-1
struct attr_container_t;
/* Queue message type */
@ -56,6 +62,7 @@ typedef struct watchdog_timer {
typedef struct module_data {
struct module_data *next;
/* ID of the module */
uint32 id;
/* Type of the module */