Miosix
2.0alpha1
|
#include "config/miosix_settings.h"
#include <cstddef>
#include "interfaces-impl/portability_impl.h"
Namespaces | |
miosix_pivate | |
This file is the interface from the Miosix kernel to the hardware. It ccontains what is required to perform a context switch, disable interrupts, set up the stack frame and registers of a newly created thread, and contains iterrupt handlers for preemption and yield.
Since some of the functions in this file must be inline for speed reasons, and context switch code must be macros, at the end of this file the file portability_impl.h is included. This file should contain the implementation of those inline functions.