wasm-micro-runtime/core/iwasm/aot
Benbuck Nason 926f662231
Add memory instance support apis (#3786)
Now that WAMR supports multiple memory instances, this PR adds some APIs
to access them in a standard way.

This involves moving some existing utility functions out from the
`WASM_ENABLE_MULTI_MODULE` blocks they were nested in, but multi-memory
and multi-module seem independent as far as I can tell so I assume that's okay.

APIs added:
```C
wasm_runtime_lookup_memory
wasm_runtime_get_default_memory
wasm_runtime_get_memory
wasm_memory_get_cur_page_count
wasm_memory_get_max_page_count
wasm_memory_get_bytes_per_page
wasm_memory_get_shared
wasm_memory_get_base_address
wasm_memory_enlarge
```
2024-09-14 10:31:13 +08:00
..
arch Appease GCC strict prototypes warning (#3775) 2024-09-10 09:42:23 +08:00
debug Appease GCC strict prototypes warning (#3775) 2024-09-10 09:42:23 +08:00
aot_intrinsic.c Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
aot_intrinsic.h Add cmake flag to control aot intrinsics (#3261) 2024-04-01 11:26:05 +08:00
aot_loader.c AOT call stack optimizations (#3773) 2024-09-10 09:05:23 +08:00
aot_perf_map.c Enhance wasm loading with LoadArgs and support module names (#3265) 2024-04-07 15:04:35 +08:00
aot_perf_map.h Enhance wasm loading with LoadArgs and support module names (#3265) 2024-04-07 15:04:35 +08:00
aot_reloc.h Appease GCC strict prototypes warning (#3775) 2024-09-10 09:42:23 +08:00
aot_runtime.c Add memory instance support apis (#3786) 2024-09-14 10:31:13 +08:00
aot_runtime.h Add memory instance support apis (#3786) 2024-09-14 10:31:13 +08:00
iwasm_aot.cmake Fix windows AOT hw bound check (#2475) 2023-08-18 10:16:03 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00