zephyr/subsys/ipc/ipc_service/backends
Emil Obalski 5143db540c ipc: Fix icmsg deregister functionality
This change fixes the deregister functionality for
icmsg backend. There are two changes:

Memory access layer was not initialized properly
when the endpoint was registered again. This lead to
memory fault when attepmt to write to the buffer was
done.

Mbox driver was initialized before memory access layer
was initialized. This could lead to race condition
where immediately after the mbox driver was initialized,
the receiving work is scheduled due to pending interrupt.
In that case an attempt to read from garbage address will
occur.

Signed-off-by: Emil Obalski <Emil.Obalski@nordicsemi.no>
2023-04-03 11:29:08 +02:00
..
CMakeLists.txt ipc: add a multi-endpoint feature to icmsg 2022-11-09 10:41:43 +01:00
ipc_icmsg_me_follower.c ipc: multi-endpoint icmsg cleanup 2023-02-23 10:46:25 +01:00
ipc_icmsg_me_initiator.c ipc: multi-endpoint icmsg cleanup 2023-02-23 10:46:25 +01:00
ipc_icmsg.c ipc: Fix icmsg deregister functionality 2023-04-03 11:29:08 +02:00
ipc_icmsg.h ipc: separate icmsg core from ipc_service backend 2022-11-09 10:41:43 +01:00
ipc_rpmsg_static_vrings.c ipc_service: Add ipc_service_close_instance function 2022-10-03 10:08:44 +02:00
ipc_rpmsg_static_vrings.h
Kconfig ipc: multi-endpoint icmsg cleanup 2023-02-23 10:46:25 +01:00
Kconfig.icmsg_me ipc: multi-endpoint icmsg cleanup 2023-02-23 10:46:25 +01:00
Kconfig.rpmsg