Searched hist:"4199 b52fe3b81140e50b089eb7b4a39030aa4d12" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/kernel/ |
| H A D | notif.c | 4199b52fe3b81140e50b089eb7b4a39030aa4d12 Mon Feb 12 17:54:54 UTC 2024 Jens Wiklander <jens.wiklander@linaro.org> core: notif_register_driver() assert ndrv is nexus memory
Notification drivers defined by struct notif_driver are processed from the nexus when non-secure virtualization is enabled. Add an assert in notif_register_driver() to check that the passed driver struct is located in nexus memory.
Move all notif global state variables into nexus memory. The mutex used for yielding notifications is the exception since notif_deliver_event() is called from a partition outside of the nexus.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
|