wasm-micro-runtime/product-mini/platforms
Wenyong Huang b6adec373e
shared-platform: Remove dependency on shared-utils' bh_memory_remap_slow (#3153)
As an original design rule, the code in `core/shared/platform` should not
rely on the code in `core/share/utils`. In the current implementation,
platform layer calls function `bh_memory_remap_slow` in utils layer.

This PR adds inline function `os_mremap_slow` in platform_api_vmcore.h,
and lets os_remap call it if mremap fails. And remove bh_memutils.h/c as
as they are unused.

And resolve the compilation warning in wamrc:
```bash
core/shared/platform/common/posix/posix_memmap.c:255:16:
warning: implicit declaration of function ‘bh_memory_remap_slow’
  255 |         return bh_memory_remap_slow(old_addr, old_size, new_size);
```
2024-02-17 13:44:33 +08:00
..
alios-things Fix data/elem drop (#2747) 2023-11-18 08:50:16 +08:00
android Fix several issues in CI binary releasing (#2064) 2023-03-26 12:19:45 +08:00
common Fix typos of CIDR in docs and help text (#2851) 2023-12-04 11:38:54 +08:00
cosmopolitan cosmopolitan: Update compiler and update platform_internal.h (#3079) 2024-01-24 16:04:48 +08:00
darwin Fix build error with LLVM 16 (#2259) 2023-06-06 13:45:18 +08:00
esp-idf ESP-IDF platform supports to load AOT to PSRAM and run it (#2385) 2023-07-27 10:17:21 +08:00
freebsd Fix build error with LLVM 16 (#2259) 2023-06-06 13:45:18 +08:00
ios Fix build error with LLVM 16 (#2259) 2023-06-06 13:45:18 +08:00
linux Implement GC (Garbage Collection) feature for interpreter, AOT and LLVM-JIT (#3125) 2024-02-06 20:47:11 +08:00
linux-sgx Implement GC (Garbage Collection) feature for interpreter, AOT and LLVM-JIT (#3125) 2024-02-06 20:47:11 +08:00
nuttx shared-platform: Remove dependency on shared-utils' bh_memory_remap_slow (#3153) 2024-02-17 13:44:33 +08:00
posix Implement GC (Garbage Collection) feature for interpreter, AOT and LLVM-JIT (#3125) 2024-02-06 20:47:11 +08:00
riot Normalize how the global heap pool is configured across iwasm apps (#1628) 2022-10-25 21:36:24 +08:00
rt-thread Fix compiling error for RT-Thread (#2569) 2023-09-21 13:33:03 +08:00
vxworks Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
windows Refine AOT/JIT code call wasm-c-api import process (#2982) 2024-01-10 18:37:02 +08:00
zephyr/simple Update Zephyr support to v3.5.0 and make instructions generic to boards (#2805) 2023-11-23 09:56:04 +08:00