Commit Graph

113 Commits

Author SHA1 Message Date
Wenyong Huang
1b6ddb37d0
Implement libc-WASI for Linux SGX platform and update documents (#343) 2020-08-10 15:12:26 +08:00
follower
8edf1e152f
Update URL to lvgl repository. (#341)
The `lvgl` project appears to have changed their project name & repository URL.

This commit updates the URLs so the links don't go to a 404 error page.

The project name is now "Light and Versatile Embedded Graphics Library" but I haven't updated the name anywhere.
2020-08-07 22:16:02 +08:00
lum1n0us
08d01b65c5
Eable post-MVP feature wasm-c-api (#315) 2020-07-23 16:54:13 +08:00
yjsungo
ca938f3634
Fix one typo in README.md (#309)
Signed-off-by: yijin.syj <yijin.syj@antgroup.com>

Co-authored-by: yijin.syj <yijin.syj@alibaba-inc.com>
2020-07-13 11:10:46 +08:00
Weining
1a85051415
Implement multi-value feature and import binarydump tool (#308) 2020-07-10 16:29:15 +08:00
wenyongh
ee315e4049
Implement memory access bound check with hardware trap for 64-bit platforms (#293)
Also implement native stack overflow check with hardware trap for 64-bit platforms
Refine classic interpreter and fast interpreter to improve performance
Update document
2020-06-28 15:41:25 +08:00
Josh Triplett
548926ab1a Rename "master" branch to "main"
Update all links accordingly. Also update links to other repositories
whose branches have renamed.

The references to repositories whose branches have not renamed should be
referencing specific commits anyway, so reference those specific commits
by hash.
2020-06-27 02:39:47 -07:00
Xu Jun
acb68c64c2
update doc for multi-thread (#284) 2020-06-16 15:01:35 +08:00
Xu Jun
d98ab63e5c
Enable shared memory && add pthread support (#282) 2020-06-15 19:04:04 +08:00
wenyongh
752826a667
Implement multi-module feature and bulk-memory feature (#271)
Refine wasm loader and aot loader
Fix potential issue of os_mmap/os_munmap
Update document
2020-06-02 14:53:06 +08:00
dpinthinker
c182eebc6b
add darwin compiling support for wamr-compiler (#265)
* add darwin support for wamr-compiler compiling

* add darwin support for wamr-compiler

* Update CMakeLists.txt

Co-authored-by: wenyongh <wenyong.huang@intel.com>
2020-05-28 13:27:52 +08:00
Weining
c6fc12b7b6
Add xtensa AOT support and fix build issue of alios (#223)
* Clean compiling warnings of zephyr samples

* Support xtensa AOT and fix build issue of alios
2020-04-01 18:38:42 +08:00
wenyongh
01e85144f4
Enable aarch64 support, add component test framework and test suite (#211)
and refine aot call indirect op
2020-03-24 19:04:29 +08:00
Shi Lei
67495919b0
Add a basic sample to show how native runtime invokes wasm apps in WAMR and how wasm apps invoke native functions. (#207)
* Add printingAdd print time for wamrc, fix posix mmap bug time for wamrc, fixed a posix mmap bug.

Change-Id: Ib6517b8a69cf022a1a6a74efa1f98155aec143bc

* Add a basic sample to show how native runtime invokes wasm app in WAMR, and how wasm app invokes native functions.

Change-Id: I700ae413ad5e9ea04540d5187952305e1ee92d73
2020-03-20 16:39:13 +08:00
Wang Xin
63cbe4a967
Update README.md 2020-03-16 19:26:10 +08:00
wenyongh
0fdd49ea31
Re-org memory allocation interfaces, add --stack-size and --heap-size option (#193) 2020-03-10 19:54:44 +08:00
Xu Jun
057c849fc0
re-org bh_definition.c && introduce wamr fast interpreter (#189)
Co-authored-by: Xu Jun
2020-03-07 22:20:38 +08:00
wenyongh
0d3f304191
Implement native function pointer check, addr conversion and register, update documents (#185)
Modified WASM runtime API:
- wasm_runtime_module_malloc()
- wasm_runtime_lookup_function()
Introduced runtime API
- wasm_runtime_register_natives()
2020-03-04 20:12:38 +08:00
wenyongh
9a961c4843
Enable ARM and THUMB AOT support, enable Android platform support (#182)
* Sync with internal/feature: enable arm aot and android platform
2020-02-27 16:38:44 +08:00
Wang Xin
82b0bb44c3
sdk build tools and app framework updates (#171) 2020-02-22 10:12:26 +08:00
wenyongh
130d7d07d0 Update document, fix typo of wamrc help info (#158) 2020-01-21 14:24:10 +08:00
wenyongh
46b93b9d22 Enable AoT and wamr-sdk, and change arguments of call wasm API (#157)
* Implement memory profiler, optimize memory usage, modify code indent

* Implement memory.grow and limit heap space base offset to 1G; modify iwasm build type to Release and 64 bit by default

* Add a new extension library: connection

* Fix bug of reading magic number and version in big endian platform

* Re-org platform APIs: move most platform APIs from iwasm to shared-lib

* Enhance wasm loader to fix some security issues

* Fix issue about illegal load of EXC_RETURN into PC on stm32 board

* Updates that let a restricted version of the interpreter run in SGX

* Enable native/app address validation and conversion for wasm app

* Remove wasm_application_exectue_* APIs from wasm_export.h which makes confused

* Refine binary size and fix several minor issues

Optimize interpreter LOAD/STORE opcodes to decrease the binary size
Fix issues when using iwasm library: _bh_log undefined, bh_memory.h not found
Remove unused _stdin/_stdout/_stderr global variables resolve in libc wrapper
Add macros of global heap size, stack size, heap size for Zephyr main.c
Clear compile warning of wasm_application.c

* Add more strict security checks for libc wrapper API's

* Use one libc wrapper copy for sgx and other platforms; remove bh_printf macro for other platform header files

* Enhance security of libc strcpy/sprintf wrapper function

* Fix issue of call native for x86_64/arm/mips, add module inst parameter for native wrapper functions

* Remove get_module_inst() and fix issue of call native

* Refine wgl lib: remove module_inst parameter from widget functions; move function index check to runtime instantiate

* Refine interpreter call native process, refine memory boudary check

* Fix issues of invokeNative function of arm/mips/general version

* Add a switch to build simple sample without gui support

* Add BUILD_TARGET setting in makefile to replace cpu compiler flags in source code

* Re-org shared lib header files, remove unused info; fix compile issues of vxworks

* Add build target general

* Remove unused files

* Update license header

* test push

* Restore file

* Sync up with internal/feature

* Sync up with internal/feature

* Rename build_wamr_app to build_wasm_app

* Fix small issues of README

* Enhance malformed wasm file checking
Fix issue of print hex int and implement utf8 string check
Fix wasi file read/write right issue
Fix minor issue of build wasm app doc

* Sync up with internal/feature

* Sync up with internal/feature: fix interpreter arm issue, fix read leb issue

* Sync up with internal/feature

* Fix bug of config.h and rename wasi config.h to ssp_config.h

* Sync up with internal/feature

* Import wamr aot

* update document

* update document

* Update document, disable WASI in 32bit

* update document

* remove files

* update document

* Update document

* update document

* update document

* update samples

* Sync up with internal repo
2020-01-21 13:26:14 +08:00
wenyongh
631b7a2403 Enhance wasm loader and interpreter, enhance code security and update document (#149) 2019-12-13 15:30:30 +08:00
Wang Xin
ab157473c3 Update README.md 2019-11-25 23:36:39 +08:00
wenyongh
7c5a84cf75 Update README, change wasi primitive lib position and add some exception checks (#146)
Add exception throw when some initial checks fail in executing main or specific function
2019-11-25 23:16:40 +08:00
Weining
a7a7d04dc6 Restore some files and fix minor issues of SGX platform (#144) 2019-11-21 10:30:57 +08:00
Weining
27f246b5f3 Enable WASI feature, enhance security and add SGX sample (#142)
Change emcc to clang
Refine interpreter to improve perforamnce
2019-11-20 21:16:36 +08:00
Riccardo Magliocchetti
29c7c743e9 README: fix a couple of typos 2019-11-12 14:59:28 -08:00
Till Schneidereit
45f0caebd0 Make it a Bytecode Alliance project 2019-11-12 17:48:27 +01:00
Josh Triplett
b0b0789dca Relicense to Apache-2.0 with the LLVM-exception (#137)
With agreement from contributors.
2019-11-12 07:45:21 +08:00
Wang Xin
efd809756a re-organized the readme (#111)
* Update README.md

* re-organize the readme

* more changes

* roadmap and releases

* Update README.md
2019-09-07 14:27:11 +08:00
Jonathan Dong
8deef78624 Add build configuration for Mac (#110)
* Add build configuration for Mac

This patch implements Mac build basically based on Linux platform
implementations and configurations.

The document to build it on Mac has been updated as well.

* Update wasm_application.h

* Update lib_export.h

Add comments for the functions.
2019-09-06 16:51:36 +08:00
Jonathan Beri
51ac31eaa1 Initial Dockerfile (#97)
* Initial Dockerfile

Dockerfile supports clang-8 and adds `iwasm` to `bin`.

* Updated README with Docker instructions

Added to Platform and app building section how to use the docker file to build the core and compile an app with clang.
2019-08-14 10:34:36 +08:00
Weining
9aa9cbde77 Implement 2D graphic API (#87)
* Implement 2D graphic library based on LittlevGL

* Add lvgl license file
2019-08-01 16:57:54 +08:00
Yiting Wang
08ebc6c773 Add support for VxWorks (#43)
This adds iwasm support for VxWorks 7.
2019-07-10 16:01:43 +08:00
wenyongh
7f1e024fce Add a new extension library: connection (#39) 2019-06-10 21:52:15 -05:00
Andrew Brown
69d62f573a Add Fedora dependency installation instructions (#38) 2019-06-08 05:37:44 -05:00
aaltonenzhang
77be251978 add guide to build hello world sample using clang-8 in README. (#37) 2019-06-04 10:34:46 +08:00
wenyongh
504268b297 Implement memory.grow and limit heap space base offset to 1G (#36)
* Implement memory profiler, optimize memory usage, modify code indent

* Implement memory.grow and limit heap space base offset to 1G; modify iwasm build type to Release and 64 bit by default
2019-05-31 01:21:39 -05:00
zhujinzhou
9136abfe31 add support for AliOS Things (#34)
* Add support of AliOS-Things

* update the README.md format

* update the README.md #1

* update the README.md #2
2019-05-22 20:33:39 -07:00
wenyongh
e4c6b53d50 Update README.md 2019-05-20 14:37:55 +08:00
Weining Lu
e411963a86 Update README 2019-05-20 14:26:28 +08:00
Wang Xin
6d1a0ab76d Update README.md 2019-05-18 08:39:12 -07:00
wenyongh
4fb47e9005 Update README.md 2019-05-17 20:58:57 +08:00
lucshi
b11f7a26d9 Update README.md 2019-05-17 20:43:28 +08:00
lucshi
55bce984aa Update README.md 2019-05-17 19:14:16 +08:00
offercomes
5cdf072505 Update README.md
Fixed a picture showing up problem.
2019-05-17 17:30:32 +08:00
wenyongh
dd5b133fa5 Import app manager, samples and test-tools 2019-05-17 17:15:25 +08:00
Johnnie Birch
62605cfb2e Updates to the Readme (#15)
Update README.md
2019-05-11 21:05:43 +08:00
0xflotus
31de47bd92 Update README.md (#18) 2019-05-11 20:36:20 +08:00
Pieter van Mill
8c76e17e29 Update README.md (#12)
Throughout the text I have tried to make it a bit more readable.
2019-05-10 22:50:10 +08:00
Wang Xin
5df8e94c29 Update README.md (#11) 2019-05-10 21:19:47 +08:00
Kyle Mills
76a40bf4f5 Fix: (Minor Spelling Issue) (#9)
Fix minor spelling issue in the README.md.
2019-05-10 20:25:04 +08:00
Eric Engestrom
13db1976af fix iwasm build path (#8)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
2019-05-10 20:09:30 +08:00
Eric Engestrom
89ad7dc101 fix typos (#7)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
2019-05-10 20:07:58 +08:00
Frederic ST
a57c9427dd Fix typo on README.md (#6) 2019-05-10 20:05:31 +08:00
Wang Xin
de68ae03b7 Update README.md 2019-05-09 07:03:15 +08:00
Wang Xin
751ab15c7d Update README.md 2019-05-09 06:50:05 +08:00
Wang Xin
86b03d00df Update README.md 2019-05-08 18:05:36 +08:00
Wang Xin
9ac00b2499 Update README.md 2019-05-08 15:19:46 +08:00
Wang Xin
cf92fc0965 code cleanup 2019-05-07 14:15:28 +08:00
Lei A Shi (Intel)
bdd5351c93 set up readme, contributing and bug template. 2019-05-08 14:04:35 +08:00
Wang Xin
15aa50914b README.md: test push 2019-05-03 06:25:18 +08:00