common.h 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef TRUSTY_COMMON_H_
  13. #define TRUSTY_COMMON_H_
  14. int32_t trusty_fast_call32(struct trusty_dev* dev,
  15. uint32_t smcnr,
  16. uint32_t a0,
  17. uint32_t a1,
  18. uint32_t a2);
  19. int32_t trusty_std_call32(struct trusty_dev* dev,
  20. uint32_t smcnr,
  21. uint32_t a0,
  22. uint32_t a1,
  23. uint32_t a2);
  24. int trusty_init_api_version(struct trusty_dev* dev);
  25. int trusty_dev_nop(struct trusty_dev* dev);
  26. #endif /* TRUSTY_COMMON_H_ */