| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // ====================================================================== | ||
| 2 | // \title Os/Os.cpp | ||
| 3 | // \brief common definitions for the OSAL layer | ||
| 4 | // ====================================================================== | ||
| 5 | #include "Os/Os.hpp" | ||
| 6 | #include "Fw/FPrimeBasicTypes.hpp" | ||
| 7 | #include "Os/Console.hpp" | ||
| 8 | #include "Os/Cpu.hpp" | ||
| 9 | #include "Os/FileSystem.hpp" | ||
| 10 | #include "Os/Memory.hpp" | ||
| 11 | #include "Os/Task.hpp" | ||
| 12 | |||
| 13 | namespace Os { | ||
| 14 | |||
| 15 | 1 | void init() { | |
| 16 | // Initialize all OSAL singletons | ||
| 17 | 1 | Os::Console::init(); | |
| 18 | 1 | Os::FileSystem::init(); | |
| 19 | 1 | Os::Cpu::init(); | |
| 20 | 1 | Os::Memory::init(); | |
| 21 | 1 | Os::Task::init(); | |
| 22 | 1 | } | |
| 23 | |||
| 24 | } // namespace Os | ||
| 25 |