Add ia32 support and fix compiling issue for RT-Thread (#730)

This commit is contained in:
Bernard Xiong
2021-09-07 10:20:14 +08:00
committed by GitHub
parent 336abc2b27
commit 7e60b8608e
10 changed files with 25 additions and 69 deletions

View File

@ -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

View File

@ -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)
{