Test initialisation of MUIA_List_AdjustWidth and MUIA_List_AdjustHeight, and
[AROS.git] / arch / .unmaintained / ppc-native / exec / cachecleare.s
blob3b2621be49d796a9eccd666bdebbd0349c46632c
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 /*****************************************************************************
8 NAME
10 AROS_LH3(void, CacheClearE,
12 SYNOPSIS
13 AROS_LHA(APTR, address, A0),
14 AROS_LHA(ULONG, length, D0),
15 AROS_LHA(ULONG, caches, D1),
17 LOCATION
18 struct ExecBase *, SysBase, 107, Exec)
20 FUNCTION
21 Flushes the contents of the CPU chaches for a given area of memory
22 and a given cache.
24 INPUTS
25 address - First byte in memory
26 length - number of bytes (~0 means all addresses).
27 caches - CPU caches affected
28 CACRF_ClearI - Instruction cache
29 CACRF_ClearD - Data cache
31 RESULT
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
41 INTERNALS
42 Left out until I decide about PPC memory model
44 HISTORY
46 ******************************************************************************/
48 #include "machine.i"
50 .text
51 .balign 4
52 .globl AROS_SLIB_ENTRY(CacheClearE,Exec)
53 .type AROS_SLIB_ENTRY(CacheClearE,Exec),@function
54 AROS_SLIB_ENTRY(CacheClearE,Exec):
55 subr
56 rts