wasm-micro-runtime/core/shared/platform
Wenyong Huang 78b5c5b484
Merge dev/socket into main (#1393)
Implement more socket APIs, refer to #1336 and below PRs:
- Implement wasi_addr_resolve function (#1319)
- Fix socket-api byte order issue when host/network order are the same (#1327)
- Enhance sock_addr_local syscall (#1320)
- Implement sock_addr_remote syscall (#1360)
- Add support for IPv6 in WAMR (#1411)
- Implement ns lookup allowlist (#1420)
- Implement sock_send_to and sock_recv_from system calls (#1457)
- Added http downloader and multicast socket options (#1467)
- Fix `bind()` calls to receive the correct size of `sockaddr` structure (#1490)
- Assert on correct parameters (#1505)
- Copy only received bytes from socket recv buffer into the app buffer (#1497)

Co-authored-by: Marcin Kolny <mkolny@amazon.com>
Co-authored-by: Marcin Kolny <marcin.kolny@gmail.com>
Co-authored-by: Callum Macmillan <callumimacmillan@gmail.com>
2022-09-22 21:46:14 +08:00
..
alios Add check for code section size, fix interp float operations (#1480) 2022-09-14 19:49:18 +08:00
android Implement POSIX semaphore support for linux platform (#1345) 2022-08-08 19:59:46 +08:00
common Merge dev/socket into main (#1393) 2022-09-22 21:46:14 +08:00
darwin Implement POSIX semaphore support for linux platform (#1345) 2022-08-08 19:59:46 +08:00
esp-idf esp-idf: Make esp-idf support Libc WASI (#1356) 2022-08-15 16:17:28 +08:00
include Merge dev/socket into main (#1393) 2022-09-22 21:46:14 +08:00
linux Implement POSIX semaphore support for linux platform (#1345) 2022-08-08 19:59:46 +08:00
linux-sgx Merge dev/socket into main (#1393) 2022-09-22 21:46:14 +08:00
nuttx Make libc-builtin buffered printf be a common feature (#1483) 2022-09-15 15:09:01 +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 Implement POSIX semaphore support for linux platform (#1345) 2022-08-08 19:59:46 +08:00
windows Merge dev/socket into main (#1393) 2022-09-22 21:46:14 +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.