summaryrefslogtreecommitdiff
path: root/src/target/arm11.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-02-21 14:30:27 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-02-21 14:30:27 -0800
commit27c068c1f82423a2492899d1632caaa6f8261810 (patch)
treeea07994eec041ebb764be2cae2845266b0197ce8 /src/target/arm11.h
parentce1feaa7322affd3b979c9fe93dd8f7462ea9eca (diff)
downloadopenocd+libswd-27c068c1f82423a2492899d1632caaa6f8261810.tar.gz
openocd+libswd-27c068c1f82423a2492899d1632caaa6f8261810.tar.bz2
openocd+libswd-27c068c1f82423a2492899d1632caaa6f8261810.tar.xz
openocd+libswd-27c068c1f82423a2492899d1632caaa6f8261810.zip
ARM11: per-core options should not be global
Address some FIXME comments by getting rid of globals, moving per-core parameters in the existing per-core data structure. This will matter most whenever there are multiple ARM11 cores, e.g. ARM11 MPcore chips, but in general is just cleanup. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm11.h')
-rw-r--r--src/target/arm11.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/target/arm11.h b/src/target/arm11.h
index dd2f3a21..9edadee1 100644
--- a/src/target/arm11.h
+++ b/src/target/arm11.h
@@ -69,6 +69,18 @@ struct arm11_common
bool simulate_reset_on_next_halt; /**< Perform cleanups of the ARM state on next halt */
+ /* Per-core configurable options.
+ * NOTE that several of these boolean options should not exist
+ * once the relevant code is known to work correctly.
+ */
+ bool memwrite_burst;
+ bool memwrite_error_fatal;
+ bool step_irq_enable;
+ bool hardware_step;
+
+ /** Configured Vector Catch Register settings. */
+ uint32_t vcr;
+
struct arm_jtag jtag_info;
};