00001 00013 /* 00014 * INCLUDE FILES 00015 **************************************************************************************** 00016 */ 00017 #include "rwnx_config.h" 00018 #include "dbg_assert.h" 00019 #include "ipc_shared.h" 00020 #include "compiler.h" 00021 00023 #if NX_EMB 00024 // In case of embedded, a specific region is defined in linker script 00025 struct ipc_shared_env_tag ipc_shared_env __SHAREDRAMIPC; 00026 00027 #else 00028 // In case of host, the objects will probably be relocated, and the only 00029 // way to declare them absolute is by defining them in the linker script. 00030 // However, to declare them at the right address, we pass their size 00031 // to the linker with the following trick: 00032 struct ipc_shared_env_tag fake_ipc_shared_env __attribute__ ((section("fake_env"))); 00033 00034 #endif 00035
1.6.1