ta_irq.h 687 B

1234567891011121314151617181920212223242526
  1. /* IRQ/FIQ TA functions
  2. */
  3. #ifndef __TRUSTZONE_TA_IRQ__
  4. #define __TRUSTZONE_TA_IRQ__
  5. #define TZ_TA_IRQ_UUID "0be96652-d723-11e2-b1a4-d485645c4310"
  6. /* Command for IRQ TA */
  7. #define TZCMD_IRQ_SET_FIQ 0
  8. #define TZCMD_IRQ_ENABLE_FIQ 1
  9. #define TZCMD_IRQ_GET_INTACK 2
  10. #define TZCMD_IRQ_EOI 3
  11. #define TZCMD_IRQ_TRIGGER_SGI 4
  12. #define TZCMD_IRQ_MASK_ALL 5
  13. #define TZCMD_IRQ_MASK_RESTORE 6
  14. #define TZCMD_IRQ_QUERY_FIQ 7
  15. /* TZ Flags for TZCMD_IRQ_SET_FIQ */
  16. #define TZ_IRQF_EDGE_SENSITIVE 0
  17. #define TZ_IRQF_LEVEL_SENSITIVE 1
  18. #define TZ_IRQF_LOW 0
  19. #define TZ_IRQF_HIGH 2
  20. #endif /* __TRUSTZONE_TA_IRQ__ */