#include "qk.h"
Go to the source code of this file.
Defines | |
| #define | QK_EXT_SAVE(act_) FPU_save((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((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_TLS(act_) _impure_ptr = (struct _reent *)(act_)->m_thread |
| Define the method for switching the Thread-Local-Storage for for a given thread. | |
| #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++. | |
Definition in file qk_port.h.
| #define QK_EXT_RESTORE | ( | act_ | ) | FPU_restore((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((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_ISR_ENTRY | ( | ) |
Value:
do { \ ++QK_intNest_; \ QF_QS_ISR_ENTRY(QK_intNest_, QK_currPrio_); \ } while (0)
| #define QK_ISR_EXIT | ( | ) |
Value:
do { \ send End-Of-Interrupt instruction to the Interrupt Controller; \ QF_QS_ISR_EXIT(QK_intNest_, QK_currPrio_); \ --QK_intNest_; \ if (QK_intNest_ == (uint8_t)0) { \ QK_scheduleExt_(); \ } \ } while (0)
| #define QK_TLS | ( | act_ | ) | _impure_ptr = (struct _reent *)(act_)->m_thread |
Define the method for switching the Thread-Local-Storage for for a given thread.
1.5.4