Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0ee5ffce85 
							
						 
					 
					
						
						
							
							Refactor APIs and data structures as preliminary work for Memory64 ( #3209 )  
						
						... 
						
						
						
						# Change the data type representing linear memory address from u32 to u64
## APIs signature changes
- (Export)wasm_runtime_module_malloc
  - wasm_module_malloc
    - wasm_module_malloc_internal
  - aot_module_malloc
    - aot_module_malloc_internal
- wasm_runtime_module_realloc
  - wasm_module_realloc
    - wasm_module_realloc_internal
  - aot_module_realloc
    - aot_module_realloc_internal
- (Export)wasm_runtime_module_free
  - wasm_module_free
    - wasm_module_free_internal
  - aot_module_malloc
    - aot_module_free_internal
- (Export)wasm_runtime_module_dup_data
  - wasm_module_dup_data
  - aot_module_dup_data
- (Export)wasm_runtime_validate_app_addr
- (Export)wasm_runtime_validate_app_str_addr
- (Export)wasm_runtime_validate_native_addr
- (Export)wasm_runtime_addr_app_to_native
- (Export)wasm_runtime_addr_native_to_app
- (Export)wasm_runtime_get_app_addr_range
- aot_set_aux_stack
- aot_get_aux_stack
- wasm_set_aux_stack
- wasm_get_aux_stack
- aot_check_app_addr_and_convert, wasm_check_app_addr_and_convert
  and jit_check_app_addr_and_convert
- wasm_exec_env_set_aux_stack
- wasm_exec_env_get_aux_stack
- wasm_cluster_create_thread
- wasm_cluster_allocate_aux_stack
- wasm_cluster_free_aux_stack
## Data structure changes
- WASMModule and AOTModule
  - field aux_data_end, aux_heap_base and aux_stack_bottom
- WASMExecEnv
  - field aux_stack_boundary and aux_stack_bottom
- AOTCompData
  - field aux_data_end, aux_heap_base and aux_stack_bottom
- WASMMemoryInstance(AOTMemoryInstance)
  - field memory_data_size and change __padding to is_memory64
- WASMModuleInstMemConsumption
  - field total_size and memories_size
- WASMDebugExecutionMemory
  - field start_offset and current_pos
- WASMCluster
  - field stack_tops
## Components that are affected by the APIs and data structure changes
- libc-builtin
- libc-emcc
- libc-uvwasi
- libc-wasi
- Python and Go Language Embedding
- Interpreter Debug engine
- Multi-thread: lib-pthread, wasi-threads and thread manager 
						
					 
					
						2024-03-12 11:38:50 +08:00 
						 
				 
			
				
					
						
							
							
								zoraaver 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8c27676718 
							
						 
					 
					
						
						
							
							Return uint32 from WASI functions ( #2749 )  
						
						... 
						
						
						
						Returning uint16 from WASI functions is technically correct. However,
the smallest integer type in WASM is int32 and since we don't guarantee
that the upper 16 bits of the result are zero'ed, it can result in
tricky bugs if the language SDK being used in the WASM app does not cast
back immediately to uint16. To prevent this, we directly return uint32
instead, so that the result is well-defined as a 32-bit number. 
						
					 
					
						2023-11-13 20:07:32 +08:00 
						 
				 
			
				
					
						
							
							
								Cengizhan Pasaoglu 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							84ecf15322 
							
						 
					 
					
						
						
							
							Update libuv version to v1.46.0 ( #2405 )  
						
						
						
					 
					
						2023-07-31 18:32:20 +08:00 
						 
				 
			
				
					
						
							
							
								Blaine Bublitz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f51d98f850 
							
						 
					 
					
						
						
							
							Use system libuv if available ( #1861 )  
						
						... 
						
						
						
						This PR attempts to search for the system libuv and use it if found instead of
downloading it. As reported in #1831 , this is needed because some tools
build in a sandbox and clear the extra sources. 
						
					 
					
						2023-06-26 08:37:10 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1032aac60b 
							
						 
					 
					
						
						
							
							Add wasm_runtime_get_wasi_exit_code ( #1748 )  
						
						... 
						
						
						
						Refer to https://github.com/bytecodealliance/wasm-micro-runtime/issues/1738  
						
					 
					
						2022-11-24 20:26:18 +08:00 
						 
				 
			
				
					
						
							
							
								Blaine Bublitz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							101ea0ea3c 
							
						 
					 
					
						
						
							
							Update libuv version number ( #1666 )  
						
						... 
						
						
						
						Update the libuv version to work around a mingw64 bug, refer to:
  https://github.com/libuv/libuv/pull/3345  
						
					 
					
						2022-11-01 11:07:35 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d955aa1bcc 
							
						 
					 
					
						
						
							
							Fix libc-wasi/uvwasi poll/environ_get issues ( #1300 )  
						
						... 
						
						
						
						Fix libc-wasi poll_oneoff hang issue
Fix libc-uvwasi environ_get sanity check issue 
						
					 
					
						2022-07-20 20:02:26 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4864302a1f 
							
						 
					 
					
						
						
							
							Fix wasi implementation issues ( #1078 )  
						
						... 
						
						
						
						Fix args_get and environ_get issues in libc-wasi and libc-uvwasi implementation. 
						
					 
					
						2022-04-11 11:55:37 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							38b07b3614 
							
						 
					 
					
						
						
							
							Add libuv and uvwasi to attributions ( #1057 )  
						
						
						
					 
					
						2022-03-24 10:05:10 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							21d89135da 
							
						 
					 
					
						
						
							
							Enhance uvwasi build process and fix wamrc windows build error ( #1046 )  
						
						... 
						
						
						
						And update related document 
						
					 
					
						2022-03-15 21:43:55 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							308d31c621 
							
						 
					 
					
						
						
							
							Upgrade uvwasi to 1.42.0 and fix Android link issues ( #938 )  
						
						... 
						
						
						
						Upgrade uvwasi to 1.42.0 and fix Android link issues reported by #934  
						
					 
					
						2022-01-06 18:25:37 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fb4afc7ca4 
							
						 
					 
					
						
						
							
							Apply clang-format for core/iwasm compilation and libraries ( #784 )  
						
						... 
						
						
						
						Apply clang-format for core/iwasm/compilation and core/iwasm/libraries files.
Add wasm-c-api empty_imports sample to workflow test.
And enable triggering workflow when core/config.h changes. 
						
					 
					
						2021-10-13 15:13:00 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a1568825e8 
							
						 
					 
					
						
						
							
							Enable to use BH_VPRINTF macro to redirect stdout output ( #560 )  
						
						... 
						
						
						
						Enable to use BH_VPRINTF macro for platform Linux/Windows/Darwin/VxWorks to redirect the stdout output from platform os_printf/os_vprintf, or the wasi output from wasm app to the vprintf like callback function specified by BH_VPRINTF macro of cmake WAMR_BH_VPRINTF variable.
Signed-off-by: Wenyong Huang <wenyong.huang@intel.com> 
						
					 
					
						2021-03-06 22:29:58 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Jun 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fc50404115 
							
						 
					 
					
						
						
							
							add uvwasi implementation to support wasi on windows [experimental] ( #534 )  
						
						... 
						
						
						
						add uvwasi implementation to support wasi on windows [experimental] and update windows.yml
Co-authored-by: Wenyong Huang <wenyong.huang@intel.com> 
						
					 
					
						2021-02-22 14:17:46 +08:00