mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-07 12:16:24 +00:00
nuttx: remove the up_x API for kernel build (#4154)
Signed-off-by: buxiasen <buxiasen@xiaomi.com> Co-authored-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
parent
4a17741670
commit
1931f2e5d5
|
@ -117,13 +117,17 @@ os_dcache_flush()
|
|||
&& defined(CONFIG_ARCH_HAVE_TEXT_HEAP_SEPARATE_DATA_ADDRESS)
|
||||
up_textheap_data_sync();
|
||||
#endif
|
||||
#ifndef CONFIG_BUILD_KERNEL
|
||||
up_invalidate_dcache_all();
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
os_icache_flush(void *start, size_t len)
|
||||
{
|
||||
#ifndef CONFIG_BUILD_KERNEL
|
||||
up_invalidate_icache((uintptr_t)start, (uintptr_t)start + len);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if (WASM_MEM_DUAL_BUS_MIRROR != 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user