interplane.Get Omega
Read in your language

omega-gpu-driver

aien-dev/omega-gpu-driver

Brought by drakestapleton

branch main Branches Tags History

omega-gpu-driver / tests / dma_replay.om

18 lines · 607 bytes Raw Blame History
1note TEST ONLY link-time replacement for chan/dma.om; never a production fallback.
2note Real anonymous mapnew/mapget/mapset/mapdrop remain active. No device fd is opened or used.
3note Reject tuple/order mismatches so replay cannot silently bless a missing lifecycle call.
4global mmduout ulong 1
5global drmaps ulong 1
6global drunmaps ulong 1
7global drdrops ulong 1
8global drlive ulong 1
9global drmrc long 1
10global drurc long 1
11global drdrc long 1
12global drusize ulong 1
13fn mmdmaop op ulong fd int h long iova ulong size ulong to long
14ret drdma op fd h iova size
15end
16fn mmdrop h long to long
17ret drdrop h
18end