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