mirror of
https://github.com/UniXNU/NativeAdreno.git
synced 2026-11-17 04:51:59 +03:00
test(memory): model IODirection and kIOMemoryPersistent in the host fixture
This commit is contained in:
@@ -15,7 +15,8 @@ using addr64_t=uint64_t;
|
||||
constexpr IOReturn kIOReturnSuccess=0,kIOReturnBadArgument=1,kIOReturnBusy=2,
|
||||
kIOReturnNoResources=3,kIOReturnNoMemory=4,kIOReturnUnsupported=5,
|
||||
kIOReturnNotReady=6,kIOReturnIOError=7,kIOReturnTimeout=8;
|
||||
constexpr unsigned kIODirectionOut=2,kIODirectionInOut=3,kIOMemoryMapperNone=0x800,kIOMemoryPhysicallyContiguous=0x10;
|
||||
using IODirection=unsigned;
|
||||
constexpr unsigned kIODirectionOut=2,kIODirectionInOut=3,kIOMemoryMapperNone=0x800,kIOMemoryPhysicallyContiguous=0x10,kIOMemoryPersistent=0x10000;
|
||||
inline void *kernel_task=reinterpret_cast<void *>(1);
|
||||
using task_t=void *;
|
||||
/* ScatterUnlessContiguous: what the tablet does, one physical page per span unless the caller asked for contiguous memory. */
|
||||
|
||||
Reference in New Issue
Block a user