1 /* MN10300 CPU cache invalidation routines
3 * Copyright (C) 2011 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
11 #include <linux/sys.h>
12 #include <linux/linkage.h>
15 #include <asm/cache.h>
16 #include <asm/irqflags.h>
17 #include <asm/cacheflush.h>
22 .globl debugger_local_cache_flushinv
24 ###############################################################################
26 # void debugger_local_cache_flushinv(void)
28 # Invalidate the entire icache
30 ###############################################################################
32 .globl debugger_local_cache_flushinv
33 .type debugger_local_cache_flushinv,@function
34 debugger_local_cache_flushinv:
36 # we only need to invalidate the icache in this cache mode
41 beq debugger_local_cache_flushinv_end
45 debugger_local_cache_flushinv_end:
47 .size debugger_local_cache_flushinv,.-debugger_local_cache_flushinv