duan ellis target tcl work in progress
converts a number of 'simple string lookup tables' into NVP tables. These NVP tables will be used by various commands coming in the next patch. git-svn-id: svn://svn.berlios.de/openocd/trunk@962 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -983,7 +983,7 @@ int xscale_arch_state(struct target_s *target)
|
||||
"MMU: %s, D-Cache: %s, I-Cache: %s"
|
||||
"%s",
|
||||
armv4_5_state_strings[armv4_5->core_state],
|
||||
target_debug_reason_strings[target->debug_reason],
|
||||
Jim_Nvp_value2name_simple( nvp_target_debug_reason, target->debug_reason )->name ,
|
||||
armv4_5_mode_strings[armv4_5_mode_to_number(armv4_5->core_mode)],
|
||||
buf_get_u32(armv4_5->core_cache->reg_list[ARMV4_5_CPSR].value, 0, 32),
|
||||
buf_get_u32(armv4_5->core_cache->reg_list[15].value, 0, 32),
|
||||
@@ -1225,7 +1225,8 @@ int xscale_halt(target_t *target)
|
||||
armv4_5_common_t *armv4_5 = target->arch_info;
|
||||
xscale_common_t *xscale = armv4_5->arch_info;
|
||||
|
||||
LOG_DEBUG("target->state: %s", target_state_strings[target->state]);
|
||||
LOG_DEBUG("target->state: %s",
|
||||
Jim_Nvp_value2name_simple( nvp_target_state, target->state )->name);
|
||||
|
||||
if (target->state == TARGET_HALTED)
|
||||
{
|
||||
@@ -1558,7 +1559,8 @@ int xscale_assert_reset(target_t *target)
|
||||
armv4_5_common_t *armv4_5 = target->arch_info;
|
||||
xscale_common_t *xscale = armv4_5->arch_info;
|
||||
|
||||
LOG_DEBUG("target->state: %s", target_state_strings[target->state]);
|
||||
LOG_DEBUG("target->state: %s",
|
||||
Jim_Nvp_value2name_simple( nvp_target_state, target->state )->name);
|
||||
|
||||
/* select DCSR instruction (set endstate to R-T-I to ensure we don't
|
||||
* end up in T-L-R, which would reset JTAG
|
||||
|
||||
Reference in New Issue
Block a user