xref: /haiku/src/system/kernel/arch/m68k/arch_040_asm.S (revision 746cac055adc6ac3308c7bc2d29040fb95689cc9)
1
2#define FUNCTION(x) .global x; .type x,@function; x
3
4.text
5	/* gas doesn't seem to get the -m arg... */
6	.cpu	68040
7
8	/* that one can be inlined */
9FUNCTION(flush_insn_pipeline_040):
10	nop
11	rts
12
13	/* flush all ATC entries */
14FUNCTION(flush_atc_all_040):
15	pflusha
16	rts
17
18	/* flush all user (non-global) ATC entries */
19FUNCTION(flush_atc_user_040):
20	pflushan
21	rts
22
23	/* flush ATC entries for given address */
24FUNCTION(flush_atc_addr_040):
25	move.l	(4,%a7),%a0
26	pflush	(%a0)
27	rts
28
29
30
31