My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros
smc_id.h File Reference

Go to the source code of this file.

Macros

#define SMC_FAST   (0x80000000)
 
#define SMC_STD   (~SMC_FAST)
 
#define SMC_ARCH64   (0x40000000)
 
#define SMC_ARCH32   (~SMC_ARCH64)
 
#define SMC_SOS_SHIFT   (29)
 
#define SMC_SOS_MASK   (0x3f000000)
 
#define SMC_FROM_NS   (0x5600BBBB)
 
#define SMC_FROM_SEC   (0x5e000000)
 
#define SMC_FNID_MASK   (0x0000FFFF)
 
#define SMC_SET_ELX_ENTRY   (0x1)
 
#define HVC_SET_EL1_ENTRY   (0x1)
 
#define CALL_TRUSTZONE_API   (0x3)
 
#define CALL_TRUSTZONE_API_RET   (0x4)
 
#define SMC_FIQ_RETURN   (0x5)
 
#define SMC_EXCEPTION_RETURN   (0x6)
 
#define TRUSTED_OS_CALL_REVISION   0xbf00ff03
 
#define TRUSTED_OS_CALL_UUID   0xbf00ff01
 
#define TRUSTED_OS_NUMBER_CALL   0xbf00ff00
 
#define TRUSTED_OS_MAJOR_VERSION   (0x0)
 
#define TRUSTED_OS_MINOR_VERSION   (0x1)
 
#define TRUSTED_OS_CALL_COUNT   0x2
 
#define STANDARD_SERVICE_NUMBER_CALL   0x8400ff00
 
#define STANDARD_SERVICE_CALL_UUID   0x8400ff01
 
#define STANDARD_SERVICE_CALL_REVISION   0x8400ff03
 
#define STANDARD_SERVICE_MAJOR_VERSION   0x0
 
#define STANDARD_SERVICE_MINOR_VERSION   0x1
 
#define STANDARD_SERVICE_CALL_COUNT   0x3
 
#define OEM_SERVICE_NUMBER_CALL   0x8300ff00
 
#define OEM_SERVICE_CALL_UUID   0x8300ff01
 
#define OEM_SERVICE_CALL_REVISION   0x8300ff03
 
#define OEM_SERVICE_MAJOR_VERSION   0x0
 
#define OEM_SERVICE_MINOR_VERSION   0x1
 
#define OEM_SERVICE_CALL_COUNT   0x1
 
#define SIP_SERVICE_NUMBER_CALL   0x8200ff00
 
#define SIP_SERVICE_CALL_UUID   0x8200ff01
 
#define SIP_SERVICE_CALL_REVISION   0x8200ff03
 
#define SIP_SERVICE_MAJOR_VERSION   0x0
 
#define SIP_SERVICE_MINOR_VERSION   0x1
 
#define SIP_SERVICE_CALL_COUNT   0x0f
 
#define CPU_SERVICE_NUMBER_CALL   0x8100ff00
 
#define CPU_SERVICE_CALL_UUID   0x8100ff01
 
#define CPU_SERVICE_CALL_REVISION   0x8100ff03
 
#define CPU_SERVICE_MAJOR_VERSION   0x0
 
#define CPU_SERVICE_MINOR_VERSION   0x0
 
#define CPU_SERVICE_CALL_COUNT   0x0
 
#define ARM_SERVICE_NUMBER_CALL   0x8000ff00
 
#define ARM_SERVICE_CALL_UUID   0x8000ff01
 
#define ARM_SERVICE_CALL_REVISION   0x8000ff03
 
#define ARM_SERVICE_MAJOR_VERSION   0x0
 
#define ARM_SERVICE_MINOR_VERSION   0x0
 
#define ARM_SERVICE_CALL_COUNT   0x0
 

Macro Definition Documentation

#define ARM_SERVICE_CALL_COUNT   0x0
#define ARM_SERVICE_CALL_REVISION   0x8000ff03
#define ARM_SERVICE_CALL_UUID   0x8000ff01
#define ARM_SERVICE_MAJOR_VERSION   0x0
#define ARM_SERVICE_MINOR_VERSION   0x0
#define ARM_SERVICE_NUMBER_CALL   0x8000ff00
#define CALL_TRUSTZONE_API   (0x3)
#define CALL_TRUSTZONE_API_RET   (0x4)
#define CPU_SERVICE_CALL_COUNT   0x0
#define CPU_SERVICE_CALL_REVISION   0x8100ff03
#define CPU_SERVICE_CALL_UUID   0x8100ff01
#define CPU_SERVICE_MAJOR_VERSION   0x0
#define CPU_SERVICE_MINOR_VERSION   0x0
#define CPU_SERVICE_NUMBER_CALL   0x8100ff00
#define HVC_SET_EL1_ENTRY   (0x1)
#define OEM_SERVICE_CALL_COUNT   0x1
#define OEM_SERVICE_CALL_REVISION   0x8300ff03
#define OEM_SERVICE_CALL_UUID   0x8300ff01
#define OEM_SERVICE_MAJOR_VERSION   0x0
#define OEM_SERVICE_MINOR_VERSION   0x1
#define OEM_SERVICE_NUMBER_CALL   0x8300ff00
#define SIP_SERVICE_CALL_COUNT   0x0f
#define SIP_SERVICE_CALL_REVISION   0x8200ff03
#define SIP_SERVICE_CALL_UUID   0x8200ff01
#define SIP_SERVICE_MAJOR_VERSION   0x0
#define SIP_SERVICE_MINOR_VERSION   0x1
#define SIP_SERVICE_NUMBER_CALL   0x8200ff00
#define SMC_ARCH32   (~SMC_ARCH64)
#define SMC_ARCH64   (0x40000000)
#define SMC_EXCEPTION_RETURN   (0x6)
#define SMC_FAST   (0x80000000)
#define SMC_FIQ_RETURN   (0x5)
#define SMC_FNID_MASK   (0x0000FFFF)
#define SMC_FROM_NS   (0x5600BBBB)
#define SMC_FROM_SEC   (0x5e000000)
#define SMC_SET_ELX_ENTRY   (0x1)
#define SMC_SOS_MASK   (0x3f000000)
#define SMC_SOS_SHIFT   (29)
#define SMC_STD   (~SMC_FAST)
#define STANDARD_SERVICE_CALL_COUNT   0x3
#define STANDARD_SERVICE_CALL_REVISION   0x8400ff03
#define STANDARD_SERVICE_CALL_UUID   0x8400ff01
#define STANDARD_SERVICE_MAJOR_VERSION   0x0
#define STANDARD_SERVICE_MINOR_VERSION   0x1
#define STANDARD_SERVICE_NUMBER_CALL   0x8400ff00
#define TRUSTED_OS_CALL_COUNT   0x2
#define TRUSTED_OS_CALL_REVISION   0xbf00ff03
#define TRUSTED_OS_CALL_UUID   0xbf00ff01
#define TRUSTED_OS_MAJOR_VERSION   (0x0)
#define TRUSTED_OS_MINOR_VERSION   (0x1)
#define TRUSTED_OS_NUMBER_CALL   0xbf00ff00