[FOSS_TLK]security: tlk: 64-bit function IDs (TOS/TAP)
Varun Wadekar [Mon, 9 Feb 2015 09:56:31 +0000 (14:56 +0530)]
64-bit function IDs for the Trusted OS and Trusted App
SMC apertures,

Change-Id: Ifb96eac12bbd5c394a0680d1221ce8369ed571d6
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/755011
Reviewed-by: Automatic_Commit_Validation_User

security/tlk_driver/ote_protocol.h

index e7a20f2..9d13bf5 100644 (file)
@@ -114,16 +114,15 @@ struct tlk_context {
 
 enum {
        /* Trusted Application Calls */
-       TE_SMC_OPEN_SESSION             = 0x30000001,
-       TE_SMC_CLOSE_SESSION            = 0x30000002,
-       TE_SMC_LAUNCH_OPERATION         = 0x30000003,
-
-       /* Trusted OS calls */
-       TE_SMC_REGISTER_REQ_BUF         = 0x32000002,
-       TE_SMC_INIT_LOGGER              = 0x32000007,
-       TE_SMC_SS_REQ_COMPLETE          = 0x32000009,
-       TE_SMC_SS_REGISTER_HANDLER      = 0x32000010,
-       TE_SMC_RESTART                  = 0x3C000000,
+       TE_SMC_OPEN_SESSION             = 0x70000001,
+       TE_SMC_CLOSE_SESSION            = 0x70000002,
+       TE_SMC_LAUNCH_OPERATION         = 0x70000003,
+
+       /* Trusted OS (64-bit) calls */
+       TE_SMC_REGISTER_REQ_BUF         = 0x72000001,
+       TE_SMC_INIT_LOGGER              = 0x72000002,
+       TE_SMC_SS_REGISTER_HANDLER      = 0x72000003,
+       TE_SMC_RESTART                  = 0x72000100,
 
        /* SIP (SOC specific) calls.  */
        TE_SMC_PROGRAM_VPR              = 0x82000003,