Update i2c_emul.c to support i2c_target_register and i2c_target_unregister function calls as well as support address forwarding in emulation. Address forwarding helps us test IPCs in native sim. Instead of having to emulate 2 separate cores, we can forward read/write requests from one bus to another bus (effectively creating a loop). This way the same image can simulate both the controller and the target. Signed-off-by: Yuval Peress <peress@google.com> |
||
|---|---|---|
| .. | ||
| doc | ||
| board.cmake | ||
| board.yml | ||
| board_irq.h | ||
| board_soc.h | ||
| CMakeLists.txt | ||
| cmdline.c | ||
| cmdline.h | ||
| cmdline_common.h | ||
| cpu_wait.c | ||
| irq_handler.c | ||
| irq_handler.h | ||
| Kconfig | ||
| Kconfig.defconfig | ||
| Kconfig.native_sim | ||
| misc.c | ||
| native_posix_compat.h | ||
| native_sim.dts | ||
| native_sim.yaml | ||
| native_sim_64.dts | ||
| native_sim_64_defconfig | ||
| native_sim_defconfig | ||
| native_sim_native_64.yaml | ||
| nsi_if.c | ||
| posix_arch_if.c | ||
| timer_model.h | ||