revert between 56095 -> 55830 in arch
[AROS.git] / arch / .unmaintained / ppc-native / exec / cachecontrol.s
blobb99934e2d6abb053b184842c2da2936b01cfcd22
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 /*****************************************************************************
8 NAME
10 AROS_LH2(ULONG, CacheControl,
12 SYNOPSIS
13 AROS_LHA(ULONG, cacheBits, D0),
14 AROS_LHA(ULONG, cacheMask, D1),
16 LOCATION
17 struct ExecBase *, SysBase, 107, Exec)
19 FUNCTION
20 Change/read the values in the 68030 cacr register. Only the bits set
21 in the mask parameter are affected.
23 INPUTS
24 cacheBits - new bit values.
25 cacheMask - Bits to change.
27 RESULT
28 Old contents of cacr register.
30 NOTES
32 EXAMPLE
34 BUGS
36 SEE ALSO
38 INTERNALS
39 It does nothing on the PPC
41 HISTORY
43 ******************************************************************************/
45 #include "machine.i"
47 .text
48 .balign 4
49 .globl AROS_SLIB_ENTRY(CacheControl,Exec)
50 .type AROS_SLIB_ENTRY(CacheControl,Exec),@function
51 AROS_SLIB_ENTRY(CacheControl,Exec):
52 subr
53 li ret,0 /* return 0 */
54 rts