ta_dcm.h 780 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. DCM TA implementation.
  3. */
  4. #ifndef __TRUSTZONE_TA_DCM__
  5. #define __TRUSTZONE_TA_DCM__
  6. #define TZ_TA_DCM_UUID "b3c1d950-f446-11e2-b778-0800200c9a66"
  7. /* Command for DCM TA */
  8. #define TZCMD_DCM_ENABLE_DCM 0
  9. #define TZCMD_DCM_DISABLE_DCM 1
  10. #define TZCMD_DCM_GET_DCM_STATUS 2
  11. /* Usage */
  12. /*
  13. TZCMD_DCM_ENABLE_DCM
  14. Input:
  15. param[0].value.a = Type (Type = SMI_DCM)
  16. TZCMD_DCM_DISABLE_DCM
  17. Input:
  18. param[0].value.a = Type (Type = SMI_DCM)
  19. TZCMD_DCM_GET_DCM_STATUS
  20. Input:
  21. param[0].value.a = Type (Type = SMI_DCM)
  22. Output:
  23. Type = SMI_DCM
  24. param[1].value.a = register value for SMI_COMMON_DCM
  25. param[1].value.b = register value for SMI_SECURE_DCMCON
  26. param[2].value.a = register value for M4U_DCM
  27. */
  28. #endif /* __TRUSTZONE_TA_DCM__ */