kree_int.h 815 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef __KREE_INT_H__
  2. #define __KREE_INT_H__
  3. #include "tz_cross/ree_service.h"
  4. /* Maximum temp memory parameter size. */
  5. #define TEE_PARAM_MEM_LIMIT (4096)
  6. TZ_RESULT KREE_InitTZ(void);
  7. void tz_test(void);
  8. TZ_RESULT KREE_TeeServiceCallNoCheck(KREE_SESSION_HANDLE handle,
  9. uint32_t command, uint32_t paramTypes, MTEEC_PARAM param[4]);
  10. typedef TZ_RESULT(*KREE_REE_Service_Func) (u32 op,
  11. u8 uparam[REE_SERVICE_BUFFER_SIZE]);
  12. /* REE Services function prototype */
  13. TZ_RESULT KREE_ServRequestIrq(u32 op, u8 uparam[REE_SERVICE_BUFFER_SIZE]);
  14. TZ_RESULT KREE_ServEnableIrq(u32 op, u8 uparam[REE_SERVICE_BUFFER_SIZE]);
  15. TZ_RESULT KREE_ServEnableClock(u32 op, u8 uparam[REE_SERVICE_BUFFER_SIZE]);
  16. TZ_RESULT KREE_ServDisableClock(u32 op, u8 uparam[REE_SERVICE_BUFFER_SIZE]);
  17. #endif /* __KREE_INT_H__ */