PMUFW: Interrupts: Add CSU secure lock down interrupt handler

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
This commit is contained in:
Jyotheeswar Reddy 2015-08-06 11:02:21 -07:00 committed by Nava kishore Manne
parent f5b94e4ea2
commit 7968c6a661
2 changed files with 10 additions and 2 deletions

View file

@ -157,7 +157,15 @@ static void XPfw_InterruptPwrDnHandler(void)
}
}
static void XPfw_InterruptSecLockHandler(void)
{
XStatus Status = XPfw_CoreDispatchEvent(XPFW_EV_CSU_SEC_LOCK);
if (XST_SUCCESS != Status) {
fw_printf("Warning: Failed to dispatch Event ID: %d\r\n",
XPFW_EV_CSU_SEC_LOCK);
}
}
static void XPfw_InterruptGpi0Handler(void)
{
@ -315,7 +323,7 @@ static struct HandlerTable g_TopLevelInterruptTable[] = {
{PMU_IOMODULE_IRQ_PENDING_PIT2_MASK, XPfw_NullHandler},
{PMU_IOMODULE_IRQ_PENDING_PIT1_MASK, XPfw_Pit1Handler},
{PMU_IOMODULE_IRQ_PENDING_PIT0_MASK, XPfw_NullHandler},
{PMU_IOMODULE_IRQ_PENDING_CSU_PMU_SEC_LOCK_MASK, XPfw_NullHandler}
{PMU_IOMODULE_IRQ_PENDING_CSU_PMU_SEC_LOCK_MASK, XPfw_InterruptSecLockHandler}
};
void XPfw_InterruptInit(void)

View file

@ -1,4 +1,4 @@
#ifndef ZYNQMP_XPFW_VERSION__H_
#define ZYNQMP_XPFW_VERSION__H_
#define ZYNQMP_XPFW_VERSION "2015.3-rc1-8-g2e66b7a8c2c7"
#define ZYNQMP_XPFW_VERSION "2015.3-rc1-9-g3e98ed456bac"
#endif