added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / arch / .unmaintained / m68k-native / exec / cachecleare.s
bloba9a383d385be22fa9cb2972037c65ca259c37816
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
43 HISTORY
45 ******************************************************************************/
47 #include "machine.i"
49 .text
50 .balign 4
51 .globl AROS_SLIB_ENTRY(CacheClearE,Exec)
52 .type AROS_SLIB_ENTRY(CacheClearE,Exec),@function
53 AROS_SLIB_ENTRY(CacheClearE,Exec):
54 /* Simple 68000s have no caches */
55 rts