File wamr/memory.cpp
-
namespace wasm
SYSCALL NUMBERING
Have a look in the sysroot at include/bits/syscall.h to determine the system call numbering.
Functions
-
uint32_t getFaasmMemoryApi(NativeSymbol **nativeSymbols)
-
static int32_t __sbrk_wrapper(wasm_exec_env_t exec_env, int32_t increment)
-
static int32_t mmap_wrapper(wasm_exec_env_t exec_env, int32_t addr, int32_t length, int32_t prot, int32_t flags, int32_t fd, int64_t offset)
-
static int32_t munmap_wrapper(wasm_exec_env_t exec_env, int32_t addr, int32_t length)
Variables
-
static NativeSymbol ns[] = {REG_NATIVE_FUNC(__sbrk, "(i)i"), REG_NATIVE_FUNC(mmap, "(iiiiiI)i"), REG_NATIVE_FUNC(munmap, "(ii)i"),}
-
uint32_t getFaasmMemoryApi(NativeSymbol **nativeSymbols)