|
QP/C++
|
QK/C++ port to QK for a "generic" C++ compiler. More...
#include "qk.h"Go to the source code of this file.
Defines | |
| #define | QK_EXT_SAVE(act_) FPU_save(static_cast<FPU_context *>((act_)->m_thread)) |
| Define the method for saving the extended context (e.g., the context of a floating-point co-processor). | |
| #define | QK_EXT_RESTORE(act_) FPU_restore(static_cast<FPU_context *>((act_)->m_thread)) |
| Define the method for restoring the extended context (e.g., the context of a floating-point co-processor). | |
| #define | QK_ISR_ENTRY() |
| Define the ISR entry sequence, if the compiler supports writing interrupts in C++. | |
| #define | QK_ISR_EXIT() |
| Define the ISR exit sequence, if the compiler supports writing interrupts in C++. | |
| #define | QK_TLS(act_) (impure_ptr = static_cast<reent *>((act_)->m_thread)) |
| Define the method for switching the Thread-Local-Storage for for a given thread. | |
QK/C++ port to QK for a "generic" C++ compiler.
Definition in file qk_port.h.
| #define QK_EXT_RESTORE | ( | act_ | ) | FPU_restore(static_cast<FPU_context *>((act_)->m_thread)) |
Define the method for restoring the extended context (e.g., the context of a floating-point co-processor).
| #define QK_EXT_SAVE | ( | act_ | ) | FPU_save(static_cast<FPU_context *>((act_)->m_thread)) |
Define the method for saving the extended context (e.g., the context of a floating-point co-processor).
Definition at line 57 of file qk_port.h.
Referenced by QK_schedExt_().
| #define QK_ISR_ENTRY | ( | ) |
do { \ ++QK_intNest_; \ QF_QS_ISR_ENTRY(QK_intNest_, QK_currPrio_); \ } while (false)
Define the ISR entry sequence, if the compiler supports writing interrupts in C++.
| #define QK_ISR_EXIT | ( | ) |
do { \ send End-Of-Interrupt instruction to the Interrupt Controller; \ QF_QS_ISR_EXIT(QK_intNest_, QK_currPrio_); \ --QK_intNest_; \ if (QK_intNest_ == static_cast<uint8_t>(0)) { \ QK_scheduleExt_(); \ } \ } while (false)
Define the ISR exit sequence, if the compiler supports writing interrupts in C++.
| #define QK_TLS | ( | act_ | ) | (impure_ptr = static_cast<reent *>((act_)->m_thread)) |
Define the method for switching the Thread-Local-Storage for for a given thread.
Definition at line 123 of file qk_port.h.
Referenced by QK_sched_(), and QK_schedExt_().
1.7.6.1