1 |******************************************************************************
5 | __AROS_LH3(void, CachePostDMA
,
8 | __AROS_LA(APTR
, address
, A0
),
9 | __AROS_LA(ULONG
*, length
, A1
),
10 | __AROS_LA(ULONG
, flags
, D0
),
13 | struct ExecBase
*, SysBase
, 128, Exec
)
16 | Do everything necessary to make CPU caches aware that a DMA has
20 | address
- Virtual address of memory affected by the DMA
21 | *length
- Number of bytes affected
22 | flags
- DMA_NoModify
- Indicate that the memory didn
't change.
23 | DMA_ReadFromRAM - Indicate that the DMA goes from RAM
24 | to the device. Set this bit in bot calls.
29 | DMA must follow a call to CachePreDMA() and must be followed
30 | by a call to CachePostDMA().
43 |******************************************************************************
45 | Simple 68000s have no chaches
46 .globl _Exec_CachePostDMA