score
Home
Classes
Namespaces
Files
Loading...
Searching...
No Matches
DmaLockPolicy.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <cstdint>
3
24
namespace
score::gfx::interop
25
{
26
28
struct
NoDmaLock
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
score::gfx::interop::NoDmaLock
No-op DMA lock: the slot is filled by a CPU copy, so no page-pin is needed.
Definition
DmaLockPolicy.hpp:29