SysLink-IPC: SLPM - Replace GateMutex with GateSwi
authorJuan Gutierrez <jgutierrez@ti.com>
Mon, 22 Nov 2010 20:53:20 +0000 (14:53 -0600)
committerSuman Anna <s-anna@ti.com>
Wed, 24 Nov 2010 01:59:07 +0000 (19:59 -0600)
commitcd01b5b4ab52b7859f5c1551d89803985504be3d
tree9cf87cc556a64788327e9336c2c93127f24c0784
parent8df47e95719c140b7a555824c60ab883fc042f66
SysLink-IPC: SLPM - Replace GateMutex with GateSwi

slpm_deregister_timer(), slpm_deregister_timer(),
slpm_Task_sleep and slpm_Thread_sleep APIs use a GateMutex
object for protecting multiple tasks modifying and updating
the reference counter. The above API can be called from both
a Task context and a Swi context.

The new BIOS version 6.31.00.18 does not allow calling
GateMutex from a Swi context, and throws an error. The SLPM
GateMutex object is therefore replaced with a GateSwi object,
which can be called from both Task & Swi contexts.

Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
Signed-off-by: Paul Hunt <hunt@ti.com>
packages/ti/omap/slpm/idle.c
packages/ti/omap/slpm/slpm.c
packages/ti/omap/slpm/slpm.xdc
packages/ti/omap/slpm/slpm.xs