| Line | Branch | Exec | Source |
|---|---|---|---|
| 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/Delegate.hpp" | ||
| 7 | #include "Os/Stub/Cpu.hpp" | ||
| 8 | |||
| 9 | namespace Os { | ||
| 10 | 1 | CpuInterface* CpuInterface::getDelegate(CpuHandleStorage& aligned_new_memory) { | |
| 11 | 1 | return Os::Delegate::makeDelegate<CpuInterface, Os::Stub::Cpu::StubCpu>(aligned_new_memory); | |
| 12 | } | ||
| 13 | } // namespace Os | ||
| 14 |