Loading...
Searching...
No Matches
DmaLockPolicy.hpp
Go to the documentation of this file.
1#pragma once
2#include <cstdint>
3
24namespace score::gfx::interop
25{
26
29{
30 bool valid() const noexcept { return true; }
31 bool lock(const void*, std::uint32_t) noexcept { return true; }
32 void unlock(const void*, std::uint32_t) noexcept { }
33};
34
35} // namespace score::gfx::interop
No-op DMA lock: the slot is filled by a CPU copy, so no page-pin is needed.
Definition DmaLockPolicy.hpp:29