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