|
|
@ -36,8 +36,7 @@
|
|
|
|
#define round_up_to_page(x) round_up_to_pow2(x, PAGE_SIZE)
|
|
|
|
#define round_up_to_page(x) round_up_to_pow2(x, PAGE_SIZE)
|
|
|
|
|
|
|
|
|
|
|
|
/* Type alias's so I don't have to write uint32_t a million times */
|
|
|
|
/* Type alias's so I don't have to write uint32_t a million times */
|
|
|
|
typedef signed char i8;
|
|
|
|
typedef signed char i8;
|
|
|
|
typedef unsigned char u8;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* FIXME: per-module configuration? */
|
|
|
|
/* FIXME: per-module configuration? */
|
|
|
|
#define WASM_PAGE_SIZE (1024 * 64) /* 64KB */
|
|
|
|
#define WASM_PAGE_SIZE (1024 * 64) /* 64KB */
|
|
|
|