mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
14 lines
541 B
C++
14 lines
541 B
C++
// ======================================================================
|
|
// \title Os/Linux/DefaultCpu.cpp
|
|
// \brief sets default Os::Cpu to Linux implementation via linker
|
|
// ======================================================================
|
|
#include "Os/Cpu.hpp"
|
|
#include "Os/Delegate.hpp"
|
|
#include "Os/Linux/Cpu.hpp"
|
|
|
|
namespace Os {
|
|
CpuInterface* CpuInterface::getDelegate(CpuHandleStorage& aligned_new_memory) {
|
|
return Os::Delegate::makeDelegate<CpuInterface, Os::Linux::Cpu::LinuxCpu>(aligned_new_memory);
|
|
}
|
|
} // namespace Os
|