coresight-stm.h 611 B

12345678910111213141516171819202122
  1. #ifndef __UAPI_CORESIGHT_STM_H_
  2. #define __UAPI_CORESIGHT_STM_H_
  3. #define STM_FLAG_TIMESTAMPED BIT(3)
  4. #define STM_FLAG_GUARANTEED BIT(7)
  5. /*
  6. * The CoreSight STM supports guaranteed and invariant timing
  7. * transactions. Guaranteed transactions are guaranteed to be
  8. * traced, this might involve stalling the bus or system to
  9. * ensure the transaction is accepted by the STM. While invariant
  10. * timing transactions are not guaranteed to be traced, they
  11. * will take an invariant amount of time regardless of the
  12. * state of the STM.
  13. */
  14. enum {
  15. STM_OPTION_GUARANTEED = 0,
  16. STM_OPTION_INVARIANT,
  17. };
  18. #endif