From 27c068c1f82423a2492899d1632caaa6f8261810 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Sun, 21 Feb 2010 14:30:27 -0800 Subject: 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 --- src/target/arm11.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/target/arm11.h') diff --git a/src/target/arm11.h b/src/target/arm11.h index dd2f3a2..9edadee 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; }; -- cgit v1.1