qs_dummy.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /*$file${include::qs_dummy.h} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv*/
  2. /*
  3. * Model: qpc.qm
  4. * File: ${include::qs_dummy.h}
  5. *
  6. * This code has been generated by QM 5.2.5 <www.state-machine.com/qm>.
  7. * DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
  8. *
  9. * This code is covered by the following QP license:
  10. * License # : LicenseRef-QL-dual
  11. * Issued to : Any user of the QP/C real-time embedded framework
  12. * Framework(s) : qpc
  13. * Support ends : 2023-12-31
  14. * License scope:
  15. *
  16. * Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
  17. *
  18. * SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-QL-commercial
  19. *
  20. * This software is dual-licensed under the terms of the open source GNU
  21. * General Public License version 3 (or any later version), or alternatively,
  22. * under the terms of one of the closed source Quantum Leaps commercial
  23. * licenses.
  24. *
  25. * The terms of the open source GNU General Public License version 3
  26. * can be found at: <www.gnu.org/licenses/gpl-3.0>
  27. *
  28. * The terms of the closed source Quantum Leaps commercial licenses
  29. * can be found at: <www.state-machine.com/licensing>
  30. *
  31. * Redistributions in source code must retain this top-level comment block.
  32. * Plagiarizing this software to sidestep the license obligations is illegal.
  33. *
  34. * Contact information:
  35. * <www.state-machine.com/licensing>
  36. * <info@state-machine.com>
  37. */
  38. /*$endhead${include::qs_dummy.h} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
  39. /*! @file
  40. * @brief Dummy definitions of the QS macros that avoid code generation from
  41. * the QS instrumentation.
  42. */
  43. #ifndef QS_DUMMY_H_
  44. #define QS_DUMMY_H_
  45. #ifdef Q_SPY
  46. #error "Q_SPY must NOT be defined to include qs_dummy.h"
  47. #endif
  48. #define QS_INIT(arg_) ((uint8_t)1U)
  49. #define QS_EXIT() ((void)0)
  50. #define QS_DUMP() ((void)0)
  51. #define QS_GLB_FILTER(rec_) ((void)0)
  52. #define QS_LOC_FILTER(qs_id_) ((void)0)
  53. #define QS_GET_BYTE(pByte_) ((uint16_t)0xFFFFU)
  54. #define QS_GET_BLOCK(pSize_) ((uint8_t *)0)
  55. #define QS_BEGIN_ID(rec_, qs_id_) if (false) {
  56. #define QS_END() }
  57. #define QS_BEGIN_NOCRIT(rec_, qs_id_) if (false) {
  58. #define QS_END_NOCRIT() }
  59. #define QS_I8(width_, data_) ((void)0)
  60. #define QS_U8(width_, data_) ((void)0)
  61. #define QS_I16(width_, data_) ((void)0)
  62. #define QS_U16(width_, data_) ((void)0)
  63. #define QS_I32(width_, data_) ((void)0)
  64. #define QS_U32(width_, data_) ((void)0)
  65. #define QS_F32(width_, data_) ((void)0)
  66. #define QS_F64(width_, data_) ((void)0)
  67. #define QS_I64(width_, data_) ((void)0)
  68. #define QS_U64(width_, data_) ((void)0)
  69. #define QS_ENUM(group_, value_) ((void)0)
  70. #define QS_STR(str_) ((void)0)
  71. #define QS_MEM(mem_, size_) ((void)0)
  72. #define QS_SIG(sig_, obj_) ((void)0)
  73. #define QS_OBJ(obj_) ((void)0)
  74. #define QS_FUN(fun_) ((void)0)
  75. #define QS_SIG_DICTIONARY(sig_, obj_) ((void)0)
  76. #define QS_OBJ_DICTIONARY(obj_) ((void)0)
  77. #define QS_OBJ_ARR_DICTIONARY(obj_, idx_) ((void)0)
  78. #define QS_FUN_DICTIONARY(fun_) ((void)0)
  79. #define QS_USR_DICTIONARY(rec_) ((void)0)
  80. #define QS_ENUM_DICTIONARY(value_, group_) ((void)0)
  81. #define QS_ASSERTION(module_, loc_, delay_) ((void)0)
  82. #define QS_FLUSH() ((void)0)
  83. #define QS_TEST_PROBE_DEF(fun_)
  84. #define QS_TEST_PROBE(code_)
  85. #define QS_TEST_PROBE_ID(id_, code_)
  86. #define QS_TEST_PAUSE() ((void)0)
  87. #define QS_OUTPUT() ((void)0)
  88. #define QS_RX_INPUT() ((void)0)
  89. /*==========================================================================*/
  90. /* internal QS macros used only in the QP components */
  91. #ifdef QP_IMPL
  92. /* predefined QS trace records */
  93. #define QS_BEGIN_PRE_(rec_, qs_id_) if (false) {
  94. #define QS_END_PRE_() }
  95. #define QS_BEGIN_NOCRIT_PRE_(rec_, qs_id_) if (false) {
  96. #define QS_END_NOCRIT_PRE_() }
  97. #define QS_U8_PRE_(data_) ((void)0)
  98. #define QS_2U8_PRE_(data1_, data2_) ((void)0)
  99. #define QS_U16_PRE_(data_) ((void)0)
  100. #define QS_U32_PRE_(data_) ((void)0)
  101. #define QS_TIME_PRE_() ((void)0)
  102. #define QS_SIG_PRE_(sig_) ((void)0)
  103. #define QS_EVS_PRE_(size_) ((void)0)
  104. #define QS_OBJ_PRE_(obj_) ((void)0)
  105. #define QS_FUN_PRE_(fun_) ((void)0)
  106. #define QS_EQC_PRE_(ctr_) ((void)0)
  107. #define QS_MPC_PRE_(ctr_) ((void)0)
  108. #define QS_MPS_PRE_(size_) ((void)0)
  109. #define QS_TEC_PRE_(ctr_) ((void)0)
  110. #define QS_CRIT_STAT_
  111. #define QF_QS_CRIT_ENTRY() ((void)0)
  112. #define QF_QS_CRIT_EXIT() ((void)0)
  113. #define QF_QS_ISR_ENTRY(isrnest_, prio_) ((void)0)
  114. #define QF_QS_ISR_EXIT(isrnest_, prio_) ((void)0)
  115. #define QF_QS_ACTION(act_) ((void)0)
  116. #endif /* QP_IMPL */
  117. #endif /* QS_DUMMY_H_ */