wasm-micro-runtime/core/shared/platform
zoraaver 77b6bce679
Move WASI types into separate header (#2724)
To allow anything to depend on WASI types, including platform-specific
data structures, move the WASI libc filesystem/clock interface into
`platform_api_extension.h`, which leaves just WASI types in
`platform_wasi.h`. And `platform_wasi.h` has been renamed to
`platform_wasi_types.h` to reflect that it only defines types now and no
function declarations. Finally, these changes allow us to remove the
`windows_fdflags` type which was essentially a duplicate of
`__wasi_fdflags_t`.
2023-11-07 09:39:15 +08:00
..
alios Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
android Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
common Move WASI types into separate header (#2724) 2023-11-07 09:39:15 +08:00
cosmopolitan Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
darwin Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
ego Make a workaround for EGO when fstat returns NOT_SUPPORT (#1970) 2023-02-21 11:11:27 +08:00
esp-idf Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
freebsd Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
include Move WASI types into separate header (#2724) 2023-11-07 09:39:15 +08:00
linux Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
linux-sgx Refactor clock functions to use WASI types (#2666) 2023-10-25 18:06:04 +08:00
nuttx Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
riot Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
rt-thread Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
vxworks Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
windows Move WASI types into separate header (#2724) 2023-11-07 09:39:15 +08:00
zephyr Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +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.