8487fcca5b
Use NSI_HW_EVENT() in order to periodically check for events in host sockets. Whenever there is a socket event ready to be processed by Zephyr, raise native_sim (newly introduced) CPU interrupt, so that Zephyr driver can signal readiness with k_poll(). Maintain a list of Zephyr poll() executions in Zephyr context. Iterate through them whenever there is some event to be processed. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev> |
||
---|---|---|
.. | ||
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 | ||
Kconfig.native_sim_64 | ||
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 |