baremetal: undo last change
This commit is contained in:
@ -44,9 +44,9 @@ os_dumps_proc_mem_info(char *out, unsigned int size)
|
|||||||
// #11 0x08048cff in wasm_runtime_load
|
// #11 0x08048cff in wasm_runtime_load
|
||||||
// #12 0x08048112 in main
|
// #12 0x08048112 in main
|
||||||
|
|
||||||
// Place mmap memory inside the .text segment, so FAIL* ignores it
|
// To place mmap memory inside the .text segment:
|
||||||
__attribute__((section(".text.wamr_aot"),
|
// __attribute__((section(".text.wamr_aot"), aligned(4096)))
|
||||||
aligned(4096))) static uint8_t mmap_space[MMAP_SPACE_SIZE];
|
static uint8_t mmap_space[MMAP_SPACE_SIZE];
|
||||||
static size_t mmap_offset = 0; // Free space begins here
|
static size_t mmap_offset = 0; // Free space begins here
|
||||||
|
|
||||||
static size_t
|
static size_t
|
||||||
|
|||||||
Reference in New Issue
Block a user