mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
Implement APIs which mimic below QNX standard APIs and use them in interface.lock unit tests. This is required because as part of writing UTs for "daemon_igpu.c" file, the below standard APIs are mocked. - sem_init() - sem_wait() - sem_post() JIRA NVGPU-3909 Change-Id: I8f7e9c031b2a840e04e03a0f871a9e5d72c3e4dd Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2293634 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Philip Elcan <pelcan@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit