Searched hist:"29 e682bdb3ec76711355c771952b7df5cd45b808" (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/include/kernel/ |
| H A D | virtualization.h | 29e682bdb3ec76711355c771952b7df5cd45b808 Mon Feb 26 22:19:43 UTC 2024 Jens Wiklander <jens.wiklander@linaro.org> core: virt: get current guest partition
Add the function virt_get_current_guest() to get a pointer to the current guest partition. The returned guest partition has its reference counter increased which must be restored with a matching call to virt_put_guest() when the caller is done with the guest partition.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | virtualization.c | 29e682bdb3ec76711355c771952b7df5cd45b808 Mon Feb 26 22:19:43 UTC 2024 Jens Wiklander <jens.wiklander@linaro.org> core: virt: get current guest partition
Add the function virt_get_current_guest() to get a pointer to the current guest partition. The returned guest partition has its reference counter increased which must be restored with a matching call to virt_put_guest() when the caller is done with the guest partition.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
|