2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 /******************************************************************************
10 AROS_LH3(void, CachePostDMA,
13 AROS_LHA(APTR, address, A0),
14 AROS_LHA(ULONG *, length, A1),
15 AROS_LHA(ULONG, flags, D0),
18 struct ExecBase *, SysBase, 128, Exec)
21 Do everything necessary to make CPU caches aware that a DMA has
25 address - Virtual address of memory affected by the DMA
26 *length - Number of bytes affected
27 flags - DMA_NoModify - Indicate that the memory did not change.
28 DMA_ReadFromRAM - Indicate that the DMA goes from RAM
29 to the device. Set this bit in bot calls.
34 DMA must follow a call to CachePreDMA() and must be followed
35 by a call to CachePostDMA().
45 According to Phase 5 technical documentation implementing this is
47 Left out until I decide about PPC memory model
51 ******************************************************************************/
57 .globl AROS_SLIB_ENTRY(CachePostDMA,Exec)
58 .type AROS_SLIB_ENTRY(CachePostDMA,Exec),@function
59 AROS_SLIB_ENTRY
(CachePostDMA
,Exec
):