Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
qs_dummy.h
00001 ////////////////////////////////////////////////////////////////////////////// 00002 // Product: QP/C++ 00003 // Last Updated for Version: 4.0.00 00004 // Date of the Last Update: Apr 06, 2008 00005 // 00006 // Q u a n t u m L e a P s 00007 // --------------------------- 00008 // innovating embedded systems 00009 // 00010 // Copyright (C) 2002-2008 Quantum Leaps, LLC. All rights reserved. 00011 // 00012 // This software may be distributed and modified under the terms of the GNU 00013 // General Public License version 2 (GPL) as published by the Free Software 00014 // Foundation and appearing in the file GPL.TXT included in the packaging of 00015 // this file. Please note that GPL Section 2[b] requires that all works based 00016 // on this software must also be made publicly available under the terms of 00017 // the GPL ("Copyleft"). 00018 // 00019 // Alternatively, this software may be distributed and modified under the 00020 // terms of Quantum Leaps commercial licenses, which expressly supersede 00021 // the GPL and are specifically designed for licensees interested in 00022 // retaining the proprietary status of their code. 00023 // 00024 // Contact information: 00025 // Quantum Leaps Web site: http://www.quantum-leaps.com 00026 // e-mail: info@quantum-leaps.com 00027 ////////////////////////////////////////////////////////////////////////////// 00028 #ifndef qs_dummy_h 00029 #define qs_dummy_h 00030 00031 /// \file 00032 /// \ingroup qep qf qk 00033 /// \brief Dummy definitions of the QS macros that avoid code generation from 00034 /// the QS instrumentation. 00035 00036 #ifdef Q_SPY 00037 #error "Q_SPY must NOT be defined to include qs_dummy.h" 00038 #endif 00039 00040 #define QS_INIT(arg_) ((uint8_t)1) 00041 #define QS_EXIT() ((void)0) 00042 #define QS_DUMP() ((void)0) 00043 #define QS_FILTER_ON(rec_) ((void)0) 00044 #define QS_FILTER_OFF(rec_) ((void)0) 00045 #define QS_FILTER_SM_OBJ(obj_) ((void)0) 00046 #define QS_FILTER_AO_OBJ(obj_) ((void)0) 00047 #define QS_FILTER_MP_OBJ(obj_) ((void)0) 00048 #define QS_FILTER_EQ_OBJ(obj_) ((void)0) 00049 #define QS_FILTER_TE_OBJ(obj_) ((void)0) 00050 #define QS_FILTER_AP_OBJ(obj_) ((void)0) 00051 00052 #define QS_GET_BYTE(pByte_) ((uint16_t)0xFFFF) 00053 #define QS_GET_BLOCK(pSize_) ((uint8_t *)0) 00054 00055 #define QS_BEGIN(rec_, obj_) if (0) { 00056 #define QS_END() } 00057 #define QS_BEGIN_NOLOCK(rec_, obj_) if (0) { 00058 #define QS_END_NOLOCK() } 00059 00060 #define QS_I8(width_, data_) ((void)0) 00061 #define QS_U8(width_, data_) ((void)0) 00062 #define QS_I16(width_, data_) ((void)0) 00063 #define QS_U16(width_, data_) ((void)0) 00064 #define QS_I32(width_, data_) ((void)0) 00065 #define QS_U32(width_, data_) ((void)0) 00066 #define QS_F32(width_, data_) ((void)0) 00067 #define QS_F64(width_, data_) ((void)0) 00068 #define QS_STR(str_) ((void)0) 00069 #define QS_STR_ROM(str_) ((void)0) 00070 #define QS_MEM(mem_, size_) ((void)0) 00071 #define QS_SIG(sig_, obj_) ((void)0) 00072 #define QS_OBJ(obj_) ((void)0) 00073 #define QS_FUN(fun_) ((void)0) 00074 00075 #define QS_SIG_DICTIONARY(sig_, obj_) ((void)0) 00076 #define QS_OBJ_DICTIONARY(obj_) ((void)0) 00077 #define QS_FUN_DICTIONARY(fun_) ((void)0) 00078 #define QS_FLUSH() ((void)0) 00079 00080 // internal QS macros used only in the QP components ......................... 00081 #define QS_INT_LOCK_KEY_ 00082 #define QS_BEGIN_(rec_, refObj_, obj_) if (0) { 00083 #define QS_END_() } 00084 #define QS_BEGIN_NOLOCK_(rec_, refObj_, obj_) if (0) { 00085 #define QS_END_NOLOCK_() } 00086 #define QS_U8_(data_) ((void)0) 00087 #define QS_U16_(data_) ((void)0) 00088 #define QS_U32_(data_) ((void)0) 00089 #define QS_TIME_() ((void)0) 00090 #define QS_SIG_(sig_) ((void)0) 00091 #define QS_EVS_(size_) ((void)0) 00092 #define QS_OBJ_(obj_) ((void)0) 00093 #define QS_FUN_(fun_) ((void)0) 00094 #define QS_EQC_(ctr_) ((void)0) 00095 #define QS_MPC_(ctr_) ((void)0) 00096 #define QS_MPS_(size_) ((void)0) 00097 #define QS_TEC_(ctr_) ((void)0) 00098 00099 #define QF_QS_INT_LOCK() ((void)0) 00100 #define QF_QS_INT_UNLOCK() ((void)0) 00101 #define QF_QS_ISR_ENTRY(isrnest_, prio_) ((void)0) 00102 #define QF_QS_ISR_EXIT(isrnest_, prio_) ((void)0) 00103 #define QF_QS_ACTION(act_) ((void)0) 00104 00105 #endif // qs_dummy_h
Generated on Tue Jul 12 2022 20:22:36 by
1.7.2