Add ia32 support and fix compiling issue for RT-Thread (#730)
This commit is contained in:
@ -25,6 +25,8 @@
|
||||
#define BUILD_TARGET "armv6"
|
||||
#elif defined(RTT_WAMR_BUILD_TARGET_ARMV4)
|
||||
#define BUILD_TARGET "armv4"
|
||||
#elif defined(RTT_WAMR_BUILD_TARGET_X86_32)
|
||||
#define BUILD_TARGET "X86_32"
|
||||
#else
|
||||
#error "unsupported aot platform."
|
||||
#endif
|
||||
|
||||
@ -180,12 +180,10 @@ void os_munmap(void *addr, size_t size)
|
||||
rt_free(addr);
|
||||
}
|
||||
|
||||
#ifdef OS_ENABLE_HW_BOUND_CHECK
|
||||
int os_mprotect(void *addr, size_t size, int prot)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
void os_dcache_flush(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user