mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-12 20:51:21 +00:00
NuttX: Rename a few recently-added nuttx options (#3449)
from: ARCH_TEXT_HEAP_SEPARATE_DATA_ADDRESS ARCH_TEXT_HEAP_WORD_ALIGNED_READ to: ARCH_HAVE_TEXT_HEAP_SEPARATE_DATA_ADDRESS ARCH_HAVE_TEXT_HEAP_WORD_ALIGNED_READ
This commit is contained in:
parent
a4f0a0d0ea
commit
5bc38f77f6
|
@ -106,7 +106,7 @@ void
|
||||||
os_dcache_flush()
|
os_dcache_flush()
|
||||||
{
|
{
|
||||||
#if defined(CONFIG_ARCH_USE_TEXT_HEAP) \
|
#if defined(CONFIG_ARCH_USE_TEXT_HEAP) \
|
||||||
&& defined(CONFIG_ARCH_TEXT_HEAP_SEPARATE_DATA_ADDRESS)
|
&& defined(CONFIG_ARCH_HAVE_TEXT_HEAP_SEPARATE_DATA_ADDRESS)
|
||||||
up_textheap_data_sync();
|
up_textheap_data_sync();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -120,7 +120,7 @@ void *
|
||||||
os_get_dbus_mirror(void *ibus)
|
os_get_dbus_mirror(void *ibus)
|
||||||
{
|
{
|
||||||
#if defined(CONFIG_ARCH_USE_TEXT_HEAP) \
|
#if defined(CONFIG_ARCH_USE_TEXT_HEAP) \
|
||||||
&& defined(CONFIG_ARCH_TEXT_HEAP_SEPARATE_DATA_ADDRESS)
|
&& defined(CONFIG_ARCH_HAVE_TEXT_HEAP_SEPARATE_DATA_ADDRESS)
|
||||||
return up_textheap_data_address(ibus);
|
return up_textheap_data_address(ibus);
|
||||||
#else
|
#else
|
||||||
return ibus;
|
return ibus;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user