Nicolas Pitre <nico@cam.org> making reset+halt on the
[fw/openocd] / src / target / arm966e.h
index dee06765229d965f2ecda87f20fabe993064f56c..b98c022489e7dc653cfd160149316bc2b3cf819f 100644 (file)
@@ -2,6 +2,9 @@
  *   Copyright (C) 2005 by Dominic Rath                                    *
  *   Dominic.Rath@gmx.de                                                   *
  *                                                                         *
+ *   Copyright (C) 2008 by Spencer Oliver                                  *
+ *   spen@spen-soft.co.uk                                                  *
+ *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
  *   the Free Software Foundation; either version 2 of the License, or     *
@@ -33,7 +36,9 @@ typedef struct arm966e_common_s
        int common_magic;
        arm9tdmi_common_t arm9tdmi_common;
        u32 cp15_control_reg;
-       int monitor_mode_set;
 } arm966e_common_t;
 
+extern int arm966e_read_cp15(target_t *target, int reg_addr, u32 *value);
+extern int arm966e_write_cp15(target_t *target, int reg_addr, u32 value);
+
 #endif /* ARM966E_H */