1
0
forked from fsfw/fsfw

architecture dependant call delcared external

This commit is contained in:
2020-04-23 18:13:14 +02:00
parent 328737d0ad
commit fc4199c3b1
2 changed files with 8 additions and 7 deletions

View File

@ -7,6 +7,12 @@
#ifndef FRAMEWORK_OSAL_FREERTOS_TASKMANAGEMENT_H_
#define FRAMEWORK_OSAL_FREERTOS_TASKMANAGEMENT_H_
/**
* Architecture dependant portmacro.h function call.
* Should be implemented in bsp.
*/
extern "C" void requestContextSwitchFromISR();
/*!
* Used by functions to tell if they are being called from
* within an ISR or from a regular task. This is required because FreeRTOS
@ -18,6 +24,7 @@ enum CallContext {
isr = 0xFF //!< isr_context
};
class TaskManagement {
public:
/**