F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
CpuSelection.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title config/CpuSelection.hpp
3 // \brief selection of Linux::Cpu::LinuxCpu as the Os::Cpu implementation
4 //
5 // Supplied as one of the CONFIGURATION_HEADERS of the implementation module: the build system places this file at
6 // config/CpuSelection.hpp when that implementation is chosen (CHOOSES_IMPLEMENTATIONS in register_fprime_config).
7 // Os/Cpu.hpp then defines Os::Cpu as Os::CpuCommon<Os::Selected::Cpu>.
8 // ======================================================================
9 #ifndef CONFIG_CPUSELECTION_HPP
10 #define CONFIG_CPUSELECTION_HPP
11 
12 #include <Os/Linux/Cpu.hpp>
13 
14 namespace Os {
15 namespace Selected {
16 using Cpu = Linux::Cpu::LinuxCpu;
17 } // namespace Selected
18 } // namespace Os
19 
20 #endif // CONFIG_CPUSELECTION_HPP
Linux::Cpu::LinuxCpu Cpu