utdriver_macro.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #include "utdriver_irq.h"
  2. #define START_STATUS (0)
  3. #define END_STATUS (1)
  4. #define VFS_SIZE 0x80000
  5. #define FAST_CALL_TYPE (0x100)
  6. #define STANDARD_CALL_TYPE (0x200)
  7. #define TYPE_NONE (0x300)
  8. #define SHMEM_ENABLE 0
  9. #define SHMEM_DISABLE 1
  10. #define VDRV_MAX_SIZE (0x80000)
  11. #define FAST_CREAT_NQ (0x40)
  12. #define FAST_ACK_CREAT_NQ (0x41)
  13. #define FAST_CREAT_VDRV (0x42)
  14. #define FAST_ACK_CREAT_VDRV (0x43)
  15. #define FAST_CREAT_SYS_CTL (0x44)
  16. #define FAST_ACK_CREAT_SYS_CTL (0x45)
  17. #define FAST_CREAT_FDRV (0x46)
  18. #define FAST_ACK_CREAT_FDRV (0x47)
  19. #define NQ_CALL_TYPE (0x60)
  20. #define VDRV_CALL_TYPE (0x61)
  21. #define SCHD_CALL_TYPE (0x62)
  22. #define FDRV_ACK_TYPE (0x63)
  23. #define MAX_BUFF_SIZE (4096)
  24. #define VALID_TYPE (1)
  25. #define INVALID_TYPE (0)
  26. #define MESSAGE_SIZE (4096)
  27. #define NQ_SIZE (4096)
  28. #define NQ_BUFF_SIZE (4096)
  29. #define NQ_BLOCK_SIZE (32)
  30. #define BLOCK_MAX_COUNT (NQ_BUFF_SIZE / NQ_BLOCK_SIZE - 1)
  31. #define FP_SYS_NO (100)
  32. #define FP_BUFF_SIZE (512 * 1024)
  33. #define CTL_BUFF_SIZE (4096)
  34. #define VDRV_MAX_SIZE (0x80000)
  35. #define NQ_VALID 1
  36. #define TEEI_VFS_NUM 0x8
  37. #define MESSAGE_LENGTH (4096)
  38. #define MESSAGE_SIZE (4096)
  39. #define CAPI_CALL 0x01
  40. #define FDRV_CALL 0x02
  41. #define BDRV_CALL 0x03
  42. #define SCHED_CALL 0x04
  43. #define VFS_SYS_NO 0x08
  44. #define REETIME_SYS_NO 0x07