diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-05 22:04:22 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-05 22:04:22 -0800 |
commit | 03ac53a2cfdb7d0715f7060cecf8719068f6fae1 (patch) | |
tree | 20fa43151ab7693af4c61cc5e102ccb781bf3307 /src/target/embeddedice.c | |
parent | a81df55f393478cdef9197c248a1b64d26465589 (diff) |
ARM: other code uses the new inheritance/nesting scheme
Remove most remaining uses of target->arch_info from ARM
infrastructure, where it hasn't already been updated.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/embeddedice.c')
-rw-r--r-- | src/target/embeddedice.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/target/embeddedice.c b/src/target/embeddedice.c index 99090842..faeef38d 100644 --- a/src/target/embeddedice.c +++ b/src/target/embeddedice.c @@ -276,10 +276,13 @@ reg_cache_t* embeddedice_build_reg_cache(target_t *target, arm7_9_common_t *arm7 int embeddedice_setup(target_t *target) { int retval; - armv4_5_common_t *armv4_5 = target->arch_info; - arm7_9_common_t *arm7_9 = armv4_5->arch_info; + struct arm7_9_common_s *arm7_9 = target_to_arm7_9(target); - /* explicitly disable monitor mode */ + /* Explicitly disable monitor mode. For now we only support halting + * debug ... we don't know how to talk with a resident debug monitor + * that manages break requests. ARM's "Angel Debug Monitor" is one + * common example of such code. + */ if (arm7_9->has_monitor_mode) { reg_t *dbg_ctrl = &arm7_9->eice_cache->reg_list[EICE_DBG_CTRL]; |