wasm-micro-runtime/core/shared/platform
Wenyong Huang 7fd37190e8
Add control for the native stack check with hardware trap (#1682)
Add a new options to control the native stack hw bound check feature:
- Besides the original option `cmake -DWAMR_DISABLE_HW_BOUND_CHECK=1/0`,
  add a new option `cmake -DWAMR_DISABLE_STACK_HW_BOUND_CHECK=1/0`
- When the linear memory hw bound check is disabled, the stack hw bound check
   will be disabled automatically, no matter what the input option is
- When the linear memory hw bound check is enabled, the stack hw bound check
  is enabled/disabled according to the value of input option
- Besides the original option `--bounds-checks=1/0`, add a new option
  `--stack-bounds-checks=1/0` for wamrc

Refer to: https://github.com/bytecodealliance/wasm-micro-runtime/issues/1677
2022-11-07 18:26:33 +08:00
..
alios Add check for code section size, fix interp float operations (#1480) 2022-09-14 19:49:18 +08:00
android Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
common Add control for the native stack check with hardware trap (#1682) 2022-11-07 18:26:33 +08:00
darwin Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
esp-idf esp-idf: Add socket support for esp-idf platform (#1364) 2022-11-02 18:02:58 +08:00
include Suppress the warnings when building with GCC11 (#1622) 2022-10-20 21:26:57 +08:00
linux Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
linux-sgx esp-idf: Add socket support for esp-idf platform (#1364) 2022-11-02 18:02:58 +08:00
nuttx Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
riot Add check for code section size, fix interp float operations (#1480) 2022-09-14 19:49:18 +08:00
rt-thread Implement POSIX semaphore support for linux platform (#1345) 2022-08-08 19:59:46 +08:00
vxworks Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
windows Add control for the native stack check with hardware trap (#1682) 2022-11-07 18:26:33 +08:00
zephyr Add check for code section size, fix interp float operations (#1480) 2022-09-14 19:49:18 +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.