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