2023-01-19 21:13:24 -05:00
|
|
|
//============================================================================
|
|
|
|
// QP/C Real-Time Embedded Framework (RTEF)
|
2025-01-18 18:33:14 -05:00
|
|
|
// Version 8.0.2
|
2023-01-19 21:13:24 -05:00
|
|
|
//
|
|
|
|
// Copyright (C) 2005 Quantum Leaps, LLC. All rights reserved.
|
|
|
|
//
|
2025-01-18 18:33:14 -05:00
|
|
|
// Q u a n t u m L e a P s
|
|
|
|
// ------------------------
|
|
|
|
// Modern Embedded Software
|
2023-01-19 21:13:24 -05:00
|
|
|
//
|
2025-01-18 18:33:14 -05:00
|
|
|
// SPDX-License-Identifier: LicenseRef-QL-commercial
|
2023-01-19 21:13:24 -05:00
|
|
|
//
|
2025-01-18 18:33:14 -05:00
|
|
|
// This software is licensed under the terms of the Quantum Leaps commercial
|
|
|
|
// licenses. Please contact Quantum Leaps for more information about the
|
|
|
|
// available licensing options.
|
2023-01-19 21:13:24 -05:00
|
|
|
//
|
2025-01-18 18:33:14 -05:00
|
|
|
// RESTRICTIONS
|
|
|
|
// You may NOT :
|
|
|
|
// (a) redistribute, encumber, sell, rent, lease, sublicense, or otherwise
|
|
|
|
// transfer rights in this software,
|
|
|
|
// (b) remove or alter any trademark, logo, copyright or other proprietary
|
|
|
|
// notices, legends, symbols or labels present in this software,
|
|
|
|
// (c) plagiarize this software to sidestep the licensing obligations.
|
2023-01-19 21:13:24 -05:00
|
|
|
//
|
2025-01-18 18:33:14 -05:00
|
|
|
// Quantum Leaps contact information:
|
|
|
|
// <www.state-machine.com/licensing>
|
2023-01-19 21:13:24 -05:00
|
|
|
// <info@state-machine.com>
|
|
|
|
//============================================================================
|
|
|
|
#ifndef QS_PORT_H_
|
|
|
|
#define QS_PORT_H_
|
|
|
|
|
|
|
|
// object pointer size in bytes
|
|
|
|
#define QS_OBJ_PTR_SIZE 4U
|
|
|
|
|
|
|
|
// function pointer size in bytes
|
|
|
|
#define QS_FUN_PTR_SIZE 4U
|
|
|
|
|
|
|
|
//============================================================================
|
|
|
|
// NOTE: QS might be used with or without other QP components, in which
|
|
|
|
// case the separate definitions of the macros QF_CRIT_STAT, QF_CRIT_ENTRY(),
|
|
|
|
// and QF_CRIT_EXIT() are needed. In this port QS is configured to be used
|
|
|
|
// with the other QP component, by simply including "qp_port.h"
|
2024-06-07 16:06:49 -04:00
|
|
|
// *before* "qs.h".
|
2023-01-19 21:13:24 -05:00
|
|
|
#ifndef QP_PORT_H_
|
2024-06-07 16:06:49 -04:00
|
|
|
#include "qp_port.h" // use QS with QP
|
2022-04-30 18:29:48 -04:00
|
|
|
#endif
|
|
|
|
|
2023-01-19 21:13:24 -05:00
|
|
|
#include "qs.h" // QS platform-independent public interface
|
|
|
|
|
|
|
|
#endif // QS_PORT_H_
|