From f9d250549746f57ff45189653aae9889a1065151 Mon Sep 17 00:00:00 2001 From: Varun Wadekar Date: Fri, 13 Mar 2015 15:10:54 +0530 Subject: Preempt/Resume standard function ID calls This patch allows servicing of the non-secure world IRQs when the CPU is in the secure world. Once the interrupt is handled, the non-secure world issues the Resume FID to allow the secure payload complete the preempted standard FID. Change-Id: Ia52c41adf45014ab51d8447bed6605ca2f935587 Signed-off-by: Varun Wadekar --- include/bl32/payloads/tlk.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/bl32') diff --git a/include/bl32/payloads/tlk.h b/include/bl32/payloads/tlk.h index 0ad1ac06..65fd3339 100644 --- a/include/bl32/payloads/tlk.h +++ b/include/bl32/payloads/tlk.h @@ -41,12 +41,14 @@ */ #define TLK_REGISTER_LOGBUF TLK_TOS_STD_FID(0x1) #define TLK_REGISTER_REQBUF TLK_TOS_STD_FID(0x2) +#define TLK_RESUME_FID TLK_TOS_STD_FID(0x100) /* * SMC function IDs that TLK uses to signal various forms of completions * to the secure payload dispatcher. */ #define TLK_REQUEST_DONE (0x32000001 | (1 << 31)) +#define TLK_PREEMPTED (0x32000002 | (1 << 31)) #define TLK_ENTRY_DONE (0x32000003 | (1 << 31)) #define TLK_VA_TRANSLATE (0x32000004 | (1 << 31)) #define TLK_FID_SHARED_MEMBUF (0x32000005 | (1 << 31)) -- cgit v1.2.3