]> git.sur5r.net Git - openocd/blobdiff - src/target/armv7a_cache.h
aarch64: add 'maskisr' command
[openocd] / src / target / armv7a_cache.h
index fbd158b4d5ebe812efe179e6bdbfb4598e77d54a..e0f7eb3a58f6dad22527795297c085b5562e9bc5 100644 (file)
  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
  *   GNU General Public License for more details.                          *
+ *                                                                         *
+ *   You should have received a copy of the GNU General Public License     *
+ *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
 
-#ifndef ARM7A_CACHE_H
-#define ARM7A_CACHE_H
+#ifndef OPENOCD_TARGET_ARM7A_CACHE_H
+#define OPENOCD_TARGET_ARM7A_CACHE_H
 
 #include "arm_jtag.h"
 #include "armv7a_cache_l2x.h"
 
 int armv7a_l1_d_cache_clean_virt(struct target *target, uint32_t virt,
                                        unsigned int size);
+int armv7a_l1_d_cache_inval_virt(struct target *target, uint32_t virt,
+                                       unsigned int size);
 int armv7a_l1_d_cache_flush_virt(struct target *target, uint32_t virt,
                                        unsigned int size);
 int armv7a_l1_i_cache_inval_all(struct target *target);
@@ -38,4 +43,4 @@ extern const struct command_registration arm7a_cache_command_handlers[];
 #define CACHE_LEVEL_HAS_D_CACHE                0x2
 #define CACHE_LEVEL_HAS_I_CACHE                0x1
 
-#endif
+#endif /* OPENOCD_TARGET_ARM7A_CACHE_H */