wasm-micro-runtime/core/shared/platform
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
..
alios Fix compilation errors on zephyr platform (#2777) 2023-11-16 18:39:41 +08:00
android Allow using mmap for shared memory if hw bound check is disabled (#3029) 2024-01-16 22:15:55 +08:00
common Fix compilation error on iOS due to macOS-specific API (#2995) 2024-01-11 12:35:44 +08:00
cosmopolitan Allow using mmap for shared memory if hw bound check is disabled (#3029) 2024-01-16 22:15:55 +08:00
darwin Allow using mmap for shared memory if hw bound check is disabled (#3029) 2024-01-16 22:15:55 +08:00
ego Make a workaround for EGO when fstat returns NOT_SUPPORT (#1970) 2023-02-21 11:11:27 +08:00
esp-idf Fix build failure on esp-idf platform (#2991) 2024-01-10 10:44:31 +08:00
freebsd Allow using mmap for shared memory if hw bound check is disabled (#3029) 2024-01-16 22:15:55 +08:00
include Return error when shutdown() fails (#2801) 2023-11-24 21:03:59 +08:00
linux Allow using mmap for shared memory if hw bound check is disabled (#3029) 2024-01-16 22:15:55 +08:00
linux-sgx Fix linux-sgx build error when libc-wasi is disabled (#2997) 2024-01-11 14:26:39 +08:00
nuttx nuttx: Use larger alignment for os_mmap and comment why (#3017) 2024-01-16 09:17:58 +08:00
riot Fix compilation errors on zephyr platform (#2777) 2023-11-16 18:39:41 +08:00
rt-thread Fix compilation errors on zephyr platform (#2777) 2023-11-16 18:39:41 +08:00
vxworks Allow using mmap for shared memory if hw bound check is disabled (#3029) 2024-01-16 22:15:55 +08:00
windows Return error when shutdown() fails (#2801) 2023-11-24 21:03:59 +08:00
zephyr Fix typos in zephyr platform struct descriptions (#2818) 2023-11-24 08:47:38 +08:00
README.md re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00

This folder contains the platform abstract layer for multiple platforms. To support a new platform, you can simply create a new folder here and implement all the APIs defined in include folder.

Refer to port_wamr.md for how to port WAMR to a target platform.