added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / arch / .unmaintained / m68k-native / exec / cachecontrol.s
blob7c09a3099edfc4ddae5d4b150032a0b1afa77645
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
40 HISTORY
42 ******************************************************************************/
44 #include "machine.i"
46 .text
47 .balign 4
48 .globl AROS_SLIB_ENTRY(CacheControl,Exec)
49 .type AROS_SLIB_ENTRY(CacheControl,Exec),@function
50 AROS_SLIB_ENTRY(CacheControl,Exec):
51 /* Simple 68000s have no chaches */
52 rts