Test initialisation of MUIA_List_AdjustWidth and MUIA_List_AdjustHeight, and
[AROS.git] / arch / .unmaintained / m68k-emul / cacheclearu.s
blob509478a9b4c8b9106fadff01f5b9d4c4ff2e1f4e
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 /******************************************************************************
8 NAME
9 AROS_LH0(void, CacheClearU,
11 LOCATION
12 struct ExecBase *, SysBase, 106, Exec)
14 FUNCTION
15 Flushes the contents of all CPU chaches in a simple way.
17 INPUTS
19 RESULT
21 NOTES
23 EXAMPLE
25 BUGS
26 Currently this only works on Linux/m68k.
28 SEE ALSO
30 INTERNALS
32 HISTORY
34 ******************************************************************************/
36 #include "machine.i"
38 .text
39 .balign 16
40 .globl AROS_SLIB_ENTRY(CacheClearU,Exec)
41 .type AROS_SLIB_ENTRY(CacheClearU,Exec),@function
42 AROS_SLIB_ENTRY(CacheClearU,Exec):
43 movem.l %d2-%d4,-(%sp)
44 move.l #123,%d0
45 clr.l %d1
46 moveq #3,%d2
47 moveq #3,%d3
48 clr.l %d4
49 trap #0
50 movem.l (%sp)+,%d2-%d4
51 rts