summaryrefslogtreecommitdiff
path: root/include/bl31/runtime_svc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bl31/runtime_svc.h')
-rw-r--r--include/bl31/runtime_svc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/bl31/runtime_svc.h b/include/bl31/runtime_svc.h
index 0f510f76..66562e15 100644
--- a/include/bl31/runtime_svc.h
+++ b/include/bl31/runtime_svc.h
@@ -51,13 +51,15 @@
#define GET_SMC_CC(id) ((id >> FUNCID_CC_SHIFT) & \
FUNCID_CC_MASK)
+#define GET_SMC_TYPE(id) ((id >> FUNCID_TYPE_SHIFT) & \
+ FUNCID_TYPE_MASK)
#define SMC_64 1
#define SMC_32 0
#define SMC_UNK 0xffffffff
#define SMC_TYPE_FAST 1
#define SMC_TYPE_STD 0
-
+#define SMC_PREEMPTED 0xfffffffe
/*******************************************************************************
* Owning entity number definitions inside the function id as per the SMC
* calling convention