wasm-micro-runtime/core/shared/platform/android
Marcin Kolny ffa131b5ac
Allow using mmap for shared memory if hw bound check is disabled (#3029)
For shared memory, the max memory size must be defined in advanced. Re-allocation
for growing memory can't be used as it might change the base address, therefore when
OS_ENABLE_HW_BOUND_CHECK is enabled the memory is mmaped, and if the flag is
disabled, the memory is allocated. This change introduces a flag that allows users to use
mmap for reserving memory address space even if the OS_ENABLE_HW_BOUND_CHECK
is disabled.
2024-01-16 22:15:55 +08:00
..
platform_init.c Upgrade uvwasi to 1.42.0 and fix Android link issues (#938) 2022-01-06 18:25:37 +08:00
platform_internal.h Allow using mmap for shared memory if hw bound check is disabled (#3029) 2024-01-16 22:15:55 +08:00
shared_platform.cmake re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00