mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-14 05:42:57 +08:00
80d9bcd6fb
Added QP Functional Safety (FuSa) Subsystem Memory Isolation with MPU Added QAsm abstract state machine base class Added memory marker to QEvt and rearranged memory layout Updated: QP-FreeRTOS, QP-ESP-IDF,QP-Zephyr Added drift-free ticking for QP-POSIX Reorganized documentation Updated 3rd_party
62 lines
2.0 KiB
C++
62 lines
2.0 KiB
C++
//============================================================================
|
|
// QP/C++ Real-Time Embedded Framework (RTEF)
|
|
//
|
|
// Q u a n t u m L e a P s
|
|
// ------------------------
|
|
// Modern Embedded Software
|
|
//
|
|
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-QL-commercial
|
|
//
|
|
// This software is dual-licensed under the terms of the open source GNU
|
|
// General Public License version 3 (or any later version), or alternatively,
|
|
// under the terms of one of the closed source Quantum Leaps commercial
|
|
// licenses.
|
|
//
|
|
// The terms of the open source GNU General Public License version 3
|
|
// can be found at: <www.gnu.org/licenses/gpl-3.0>
|
|
//
|
|
// The terms of the closed source Quantum Leaps commercial licenses
|
|
// can be found at: <www.state-machine.com/licensing>
|
|
//
|
|
// Redistributions in source code must retain this top-level comment block.
|
|
// Plagiarizing this software to sidestep the license obligations is illegal.
|
|
//
|
|
// Contact information:
|
|
// <www.state-machine.com/licensing>
|
|
// <info@state-machine.com>
|
|
//============================================================================
|
|
//! @date Last updated on: 2023-09-07
|
|
//! @version Last updated for: @ref qpcpp_7_3_0
|
|
//!
|
|
//! @file
|
|
//! @brief QP/C dummy port
|
|
|
|
#ifndef QP_PORT_HPP_
|
|
#define QP_PORT_HPP_
|
|
|
|
#include <cstdint> // Exact-width types. C++11 Standard
|
|
|
|
#ifdef QP_CONFIG
|
|
#include "qp_config.hpp" // external QP configuration
|
|
#endif
|
|
|
|
// no-return function specifier (C++11 Standard)
|
|
#define Q_NORETURN [[ noreturn ]] void
|
|
|
|
#define QF_MAX_EPOOL 0U
|
|
|
|
#define QF_CRIT_STAT
|
|
#define QF_CRIT_ENTRY() (static_cast<void>(0))
|
|
#define QF_CRIT_EXIT() (static_cast<void>(0))
|
|
|
|
#define QF_MEM_SYS() (static_cast<void>(0))
|
|
#define QF_MEM_APP() (static_cast<void>(0))
|
|
|
|
// include files -------------------------------------------------------------
|
|
#include "qp.hpp" // QP platform-independent public interface
|
|
|
|
#endif // QP_PORT_HPP_
|
|
|