diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-02-21 14:30:27 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-02-21 14:30:27 -0800 |
commit | 27c068c1f82423a2492899d1632caaa6f8261810 (patch) | |
tree | ea07994eec041ebb764be2cae2845266b0197ce8 /src/target/arm11.h | |
parent | ce1feaa7322affd3b979c9fe93dd8f7462ea9eca (diff) | |
download | riscv-openocd-27c068c1f82423a2492899d1632caaa6f8261810.zip riscv-openocd-27c068c1f82423a2492899d1632caaa6f8261810.tar.gz riscv-openocd-27c068c1f82423a2492899d1632caaa6f8261810.tar.bz2 |
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.h | 12 |
1 files changed, 12 insertions, 0 deletions
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; }; |