F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
DefaultCpu.cpp
Go to the documentation of this file.
1// ======================================================================
2// \title Os/Stub/DefaultCpu.cpp
3// \brief sets default Os::Cpu to stub implementation via linker
4// ======================================================================
5#include "Os/Cpu.hpp"
6#include "Os/Stub/Cpu.hpp"
7#include "Os/Delegate.hpp"
8
9namespace Os {
10CpuInterface* CpuInterface::getDelegate(CpuHandleStorage& aligned_new_memory) {
11 return Os::Delegate::makeDelegate<CpuInterface, Os::Stub::Cpu::StubCpu>(aligned_new_memory);
12}
13}
U8 CpuHandleStorage[FW_CPU_HANDLE_MAX_SIZE]
Definition Os.hpp:18
static CpuInterface * getDelegate(CpuHandleStorage &aligned_new_memory)
provide a pointer to a Mutex delegate object