]>
git.sur5r.net Git - openocd/log
David Brownell [Sat, 14 Nov 2009 00:22:36 +0000 (16:22 -0800)]
target: remove unused "bitfield" infrastructure
We have too many different registers, and too many version and
context dependent interpretations, for this type of bitfield
management to be scalable.
(Anyone who really wants bitfield interpretation *can* do that
in Tcl code...)
There are ... quite a few copies of the same ARM dummy registers.
There should eventually be one copy; this many is craziness.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
David Brownell [Fri, 13 Nov 2009 21:44:50 +0000 (13:44 -0800)]
target.cfg: label ETBs correctly
Various cores with an ETB have its TAP misnamed ... either as a
boundary scan TAP or as the iMX "Secure JTAG Controller" (which
is, among other things, a JRC that could be used to shorten
scan chains).
Use the correct name for these TAPs, which we can recognize since
their IDs were assigned by ARM and these chips all document the
presence of an ETB. The 0x2b900f0f is ETB11; the 0x1b900f0f
is an older module, just called "ETB".
Also shrink the ETB's IR configuration; the default IR-Capture
value is fine, and the mask can specify that all four bits are
safe to check (per ARM documentation).
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
David Brownell [Fri, 13 Nov 2009 21:44:50 +0000 (13:44 -0800)]
ARM7/9: rm arm7_9_get_arch_pointers()
Remove the last external user of arm7_9_get_arch_pointers(), and
that annoying downcast utility. Add an is_arm7_9() predicate.
Stop returning specious success codes on various failure paths
in the ARM7/ARM9 commands which used that downcast utility.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Zachary T Welch [Fri, 13 Nov 2009 21:38:35 +0000 (13:38 -0800)]
update developer manual for new types
Update the style guide and chase obvious references to structures
that have been renamed.
Zachary T Welch [Fri, 13 Nov 2009 21:30:50 +0000 (13:30 -0800)]
command_t -> struct command
Remove misleading typedef and redundant suffix from struct command.
Zachary T Welch [Fri, 13 Nov 2009 21:25:47 +0000 (13:25 -0800)]
command_context_t -> struct command_context
Remove misleading typedef and redundant suffix from struct command_context.
Zachary T Welch [Fri, 13 Nov 2009 20:19:39 +0000 (12:19 -0800)]
remove rlink structure typedefs
Remove useless typedefs from the rlink driver. Improve whitespace.
Zachary T Welch [Fri, 13 Nov 2009 19:32:28 +0000 (11:32 -0800)]
flash_bank_t -> struct flash_bank
Remove misleading typedef and redundant suffix from struct flash_bank.
Zachary T Welch [Fri, 13 Nov 2009 19:32:17 +0000 (11:32 -0800)]
nand_device_t -> struct nand_device
Remove misleading typedef and redundant suffix from struct nand_device.
Zachary T Welch [Fri, 13 Nov 2009 18:11:13 +0000 (10:11 -0800)]
target_t -> struct target
Remove misleading typedef and redundant suffix from struct target.
Zachary T Welch [Fri, 13 Nov 2009 17:55:49 +0000 (09:55 -0800)]
reg_t -> struct reg
Remove misleading typedef and redundant suffix from struct reg.
Zachary T Welch [Fri, 13 Nov 2009 17:52:20 +0000 (09:52 -0800)]
target_type_t -> struct target_type
Remove misleading typedef and redundant suffix from struct target_type.
Zachary T Welch [Fri, 13 Nov 2009 17:48:18 +0000 (09:48 -0800)]
improve mips32_pracc_context
Use struct mips32_pracc_context instead of a typedef.
Zachary T Welch [Fri, 13 Nov 2009 17:46:21 +0000 (09:46 -0800)]
image_t -> struct image
Remove misleading typedef and redundant suffix from struct image.
Also removes the typedef from enum image_type, as it is used in
image.h only.
Zachary T Welch [Fri, 13 Nov 2009 17:43:03 +0000 (09:43 -0800)]
armv4_5_common_t -> struct arm
Remove misleading typedef and just use struct arm.
Zachary T Welch [Fri, 13 Nov 2009 17:35:48 +0000 (09:35 -0800)]
etm_context_t -> struct etm_context
Remove misleading typedef and redundant suffix from struct etm_context.
Zachary T Welch [Fri, 13 Nov 2009 17:27:28 +0000 (09:27 -0800)]
etb_t -> struct etb
Remove misleading typedef and redundant suffix from struct etb.
Zachary T Welch [Fri, 13 Nov 2009 17:26:19 +0000 (09:26 -0800)]
trace_t -> struct trace
Remove misleading typedef and redundant suffix from struct trace.
Zachary T Welch [Fri, 13 Nov 2009 17:25:36 +0000 (09:25 -0800)]
image_elf_t -> struct image_elf
Remove misleading typedef and redundant suffix from struct image_elf.
Zachary T Welch [Fri, 13 Nov 2009 17:19:49 +0000 (09:19 -0800)]
cortex_m3_dwt_comparator_t -> struct cortex_m3_dwt_comparator
Remove misleading typedef and redundant suffix from struct cortex_m3_dwt_comparator.
Zachary T Welch [Fri, 13 Nov 2009 17:19:37 +0000 (09:19 -0800)]
cortex_m3_fp_comparator_t -> struct cortex_m3_fp_comparator
Remove misleading typedef and redundant suffix from struct cortex_m3_fp_comparator.
Zachary T Welch [Fri, 13 Nov 2009 17:18:27 +0000 (09:18 -0800)]
cortex_a8_wrp_t -> struct cortex_a8_wrp
Remove misleading typedef and redundant suffix from struct cortex_a8_wrp.
Zachary T Welch [Fri, 13 Nov 2009 17:17:08 +0000 (09:17 -0800)]
cortex_a8_brp_t -> struct cortex_a8_brp
Remove misleading typedef and redundant suffix from struct cortex_a8_brp.
Zachary T Welch [Fri, 13 Nov 2009 17:15:32 +0000 (09:15 -0800)]
breakpoint_t -> struct breakpoint
Remove misleading typedef and redundant suffix from struct breakpoint.
Zachary T Welch [Fri, 13 Nov 2009 17:11:22 +0000 (09:11 -0800)]
xscale_trace_t -> struct xscale_trace
Remove misleading typedef and redundant suffix from struct xscale_trace.
Zachary T Welch [Fri, 13 Nov 2009 17:10:47 +0000 (09:10 -0800)]
xscale_trace_entry_t -> struct xscale_trace_entry
Remove misleading typedef and redundant suffix from struct xscale_trace_entry.
Zachary T Welch [Fri, 13 Nov 2009 17:09:40 +0000 (09:09 -0800)]
target_event_action_t -> struct target_event_action
Remove misleading typedef and redundant suffix from struct target_event_action.
Zachary T Welch [Fri, 13 Nov 2009 17:06:49 +0000 (09:06 -0800)]
arm_instruction_t -> struct arm_instruction
Remove misleading typedef and redundant suffix from struct arm_instruction.
Zachary T Welch [Fri, 13 Nov 2009 17:04:14 +0000 (09:04 -0800)]
arm9tdmi_vector_t -> struct arm9tdmi_vector
Remove misleading typedef and redundant suffix from struct arm9tdmi_vector.
Renames enum arm9tdmi_vector as enum arm9tdmi_vector_bit.
Zachary T Welch [Fri, 13 Nov 2009 16:45:40 +0000 (08:45 -0800)]
xscale_reg_t -> struct xscale_reg
Remove misleading typedef and redundant suffix from struct xscale_reg.
Zachary T Welch [Fri, 13 Nov 2009 16:45:37 +0000 (08:45 -0800)]
xscale_common_t -> struct xscale_common
Remove misleading typedef and redundant suffix from struct xscale_common.
Zachary T Welch [Fri, 13 Nov 2009 16:45:32 +0000 (08:45 -0800)]
xscale_trace_data_t -> struct xscale_trace_data
Remove misleading typedef and redundant suffix from struct xscale_trace_data.
Zachary T Welch [Fri, 13 Nov 2009 16:45:19 +0000 (08:45 -0800)]
trace_point_t -> struct trace_point
Remove misleading typedef and redundant suffix from struct trace_point.
Zachary T Welch [Fri, 13 Nov 2009 16:45:11 +0000 (08:45 -0800)]
debug_msg_receiver_t -> struct debug_msg_receiver
Remove misleading typedef and redundant suffix from struct debug_msg_receiver.
Zachary T Welch [Fri, 13 Nov 2009 16:44:58 +0000 (08:44 -0800)]
target_timer_callback_t -> struct target_timer_callback
Remove misleading typedef and redundant suffix from struct target_timer_callback.
Zachary T Welch [Fri, 13 Nov 2009 16:44:45 +0000 (08:44 -0800)]
target_event_callback_t -> struct target_event_callback
Remove misleading typedef and redundant suffix from struct target_event_callback.
Zachary T Welch [Fri, 13 Nov 2009 16:44:30 +0000 (08:44 -0800)]
working_area_t -> struct working_area
Remove misleading typedef and redundant suffix from struct working_area.
Zachary T Welch [Fri, 13 Nov 2009 16:44:18 +0000 (08:44 -0800)]
reg_arch_type_t -> struct reg_arch_type
Remove misleading typedef and redundant suffix from struct reg_arch_type.
Zachary T Welch [Fri, 13 Nov 2009 16:44:08 +0000 (08:44 -0800)]
reg_cache_t -> struct reg_cache
Remove misleading typedef and redundant suffix from struct reg_cache.
Zachary T Welch [Fri, 13 Nov 2009 16:43:51 +0000 (08:43 -0800)]
bitfield_desc_t -> struct bitfield_desc
Remove misleading typedef and redundant suffix from struct bitfield_desc.
Zachary T Welch [Fri, 13 Nov 2009 16:43:42 +0000 (08:43 -0800)]
oocd_trace_t -> struct oocd_trace
Remove misleading typedef and redundant suffix from struct oocd_trace.
Zachary T Welch [Fri, 13 Nov 2009 16:43:39 +0000 (08:43 -0800)]
mips_m4k_common_t -> struct mips_m4k_common
Remove misleading typedef and redundant suffix from struct mips_m4k_common.
Zachary T Welch [Fri, 13 Nov 2009 16:43:36 +0000 (08:43 -0800)]
mips_ejtag_t -> struct mips_ejtag
Remove misleading typedef and redundant suffix from struct mips_ejtag.
Zachary T Welch [Fri, 13 Nov 2009 16:43:33 +0000 (08:43 -0800)]
mips32_core_reg_t -> struct mips32_core_reg
Remove misleading typedef and redundant suffix from struct mips32_core_reg.
Zachary T Welch [Fri, 13 Nov 2009 16:43:30 +0000 (08:43 -0800)]
mips32_common_t -> struct mips32_common
Remove misleading typedef and redundant suffix from struct mips32_common.
Zachary T Welch [Fri, 13 Nov 2009 16:43:26 +0000 (08:43 -0800)]
mips32_comparator_t -> struct mips32_comparator
Remove misleading typedef and redundant suffix from struct mips32_comparator.
Zachary T Welch [Fri, 13 Nov 2009 16:43:23 +0000 (08:43 -0800)]
image_mot_t -> struct image_mot
Remove misleading typedef and redundant suffix from struct image_mot.
Zachary T Welch [Fri, 13 Nov 2009 16:43:14 +0000 (08:43 -0800)]
image_memory_t -> struct image_memory
Remove misleading typedef and redundant suffix from struct image_memory.
Zachary T Welch [Fri, 13 Nov 2009 16:43:09 +0000 (08:43 -0800)]
image_ihex_t -> struct image_ihex
Remove misleading typedef and redundant suffix from struct image_ihex.
Zachary T Welch [Fri, 13 Nov 2009 16:43:02 +0000 (08:43 -0800)]
image_binary_t -> struct image_binary
Remove misleading typedef and redundant suffix from struct image_binary.
Zachary T Welch [Fri, 13 Nov 2009 16:42:52 +0000 (08:42 -0800)]
image_section_t -> struct image_section
Remove misleading typedef and redundant suffix from struct image_section.
Zachary T Welch [Fri, 13 Nov 2009 16:42:46 +0000 (08:42 -0800)]
etmv1_trace_data_t -> struct etmv1_trace_data
Remove misleading typedef and redundant suffix from struct etmv1_trace_data.
Zachary T Welch [Fri, 13 Nov 2009 16:42:39 +0000 (08:42 -0800)]
etm_capture_driver_t -> struct etm_capture_driver
Remove misleading typedef and redundant suffix from struct etm_capture_driver.
Zachary T Welch [Fri, 13 Nov 2009 16:42:32 +0000 (08:42 -0800)]
etm_reg_t -> struct etm_reg
Remove misleading typedef and redundant suffix from struct etm_reg.
Zachary T Welch [Fri, 13 Nov 2009 16:42:24 +0000 (08:42 -0800)]
etb_reg_t -> struct etb_reg
Remove misleading typedef and redundant suffix from struct etb_reg.
Zachary T Welch [Fri, 13 Nov 2009 16:42:20 +0000 (08:42 -0800)]
embeddedice_reg_t -> struct embeddedice_reg
Remove misleading typedef and redundant suffix from struct embeddedice_reg.
Zachary T Welch [Fri, 13 Nov 2009 16:42:15 +0000 (08:42 -0800)]
cortex_m3_common_t -> struct cortex_m3_common
Remove misleading typedef and redundant suffix from struct cortex_m3_common.
Zachary T Welch [Fri, 13 Nov 2009 16:42:11 +0000 (08:42 -0800)]
cortex_a8_common_t -> struct cortex_a8_common
Remove misleading typedef and redundant suffix from struct cortex_a8_common.
Zachary T Welch [Fri, 13 Nov 2009 16:42:06 +0000 (08:42 -0800)]
watchpoint_t -> struct watchpoint
Remove misleading typedef and redundant suffix from struct watchpoint.
Zachary T Welch [Fri, 13 Nov 2009 16:41:52 +0000 (08:41 -0800)]
avr_common_t -> struct avr_common
Remove misleading typedef and redundant suffix from struct avr_common.
Zachary T Welch [Fri, 13 Nov 2009 16:41:49 +0000 (08:41 -0800)]
mcu_jtag_t -> struct mcu_jtag
Remove misleading typedef and redundant suffix from struct mcu_jtag.
Zachary T Welch [Fri, 13 Nov 2009 16:41:46 +0000 (08:41 -0800)]
armv7m_core_reg_t -> struct armv7m_core_reg
Remove misleading typedef and redundant suffix from struct armv7m_core_reg.
Zachary T Welch [Fri, 13 Nov 2009 16:41:43 +0000 (08:41 -0800)]
armv7m_algorithm_t -> struct armv7m_algorithm
Remove misleading typedef and redundant suffix from struct armv7m_algorithm.
Zachary T Welch [Fri, 13 Nov 2009 16:41:39 +0000 (08:41 -0800)]
armv7m_common_t -> struct armv7m_common
Remove misleading typedef and redundant suffix from struct armv7m_common.
Zachary T Welch [Fri, 13 Nov 2009 16:41:35 +0000 (08:41 -0800)]
armv7a_core_reg_t -> struct armv7a_core_reg
Remove misleading typedef and redundant suffix from struct armv7a_core_reg.
Zachary T Welch [Fri, 13 Nov 2009 16:41:32 +0000 (08:41 -0800)]
armv7a_algorithm_t -> struct armv7a_algorithm
Remove misleading typedef and redundant suffix from struct armv7a_algorithm.
Zachary T Welch [Fri, 13 Nov 2009 16:41:29 +0000 (08:41 -0800)]
armv7a_common_t -> struct armv7a_common
Remove misleading typedef and redundant suffix from struct armv7a_common.
Zachary T Welch [Fri, 13 Nov 2009 16:41:27 +0000 (08:41 -0800)]
armv4_5_mmu_common_t -> struct armv4_5_mmu_common
Remove misleading typedef and redundant suffix from struct armv4_5_mmu_common.
Zachary T Welch [Fri, 13 Nov 2009 16:41:22 +0000 (08:41 -0800)]
armv4_5_cache_common_t -> struct armv4_5_cache_common
Remove misleading typedef and redundant suffix from struct armv4_5_cache_common.
Zachary T Welch [Fri, 13 Nov 2009 16:41:18 +0000 (08:41 -0800)]
armv4_5_cachesize_t -> struct armv4_5_cachesize
Remove misleading typedef and redundant suffix from struct armv4_5_cachesize.
Zachary T Welch [Fri, 13 Nov 2009 16:41:14 +0000 (08:41 -0800)]
armv4_5_core_reg_t -> struct armv4_5_core_reg
Remove misleading typedef and redundant suffix from struct armv4_5_core_reg.
Zachary T Welch [Fri, 13 Nov 2009 16:41:07 +0000 (08:41 -0800)]
armv4_5_algorithm_t -> struct armv4_5_algorithm
Remove misleading typedef and redundant suffix from struct armv4_5_algorithm.
Zachary T Welch [Fri, 13 Nov 2009 16:41:00 +0000 (08:41 -0800)]
arm_jtag_t -> struct arm_jtag
Remove misleading typedef and redundant suffix from struct arm_jtag.
Zachary T Welch [Fri, 13 Nov 2009 16:40:48 +0000 (08:40 -0800)]
arm_load_store_multiple_instr_t -> struct arm_load_store_multiple_instr
Remove misleading typedef and redundant suffix from struct arm_load_store_multiple_instr.
Zachary T Welch [Fri, 13 Nov 2009 16:40:44 +0000 (08:40 -0800)]
arm_load_store_instr_t -> struct arm_load_store_instr
Remove misleading typedef and redundant suffix from struct arm_load_store_instr.
Zachary T Welch [Fri, 13 Nov 2009 16:40:40 +0000 (08:40 -0800)]
arm_data_proc_instr_t -> struct arm_data_proc_instr
Remove misleading typedef and redundant suffix from struct arm_data_proc_instr.
Zachary T Welch [Fri, 13 Nov 2009 16:40:35 +0000 (08:40 -0800)]
arm_b_bl_bx_blx_instr_t -> struct arm_b_bl_bx_blx_instr
Remove misleading typedef and redundant suffix from struct arm_b_bl_bx_blx_instr.
Zachary T Welch [Fri, 13 Nov 2009 16:40:31 +0000 (08:40 -0800)]
swjdp_common_t -> struct swjdp_common
Remove misleading typedef and redundant suffix from struct swjdp_common.
Zachary T Welch [Fri, 13 Nov 2009 16:40:27 +0000 (08:40 -0800)]
swjdp_reg_t -> struct swjdp_reg
Remove misleading typedef and redundant suffix from struct swjdp_reg.
Zachary T Welch [Fri, 13 Nov 2009 16:40:22 +0000 (08:40 -0800)]
arm9tdmi_common_t -> struct arm9tdmi_common
Remove misleading typedef and redundant suffix from struct arm9tdmi_common.
Zachary T Welch [Fri, 13 Nov 2009 16:40:18 +0000 (08:40 -0800)]
arm966e_common_t -> struct arm966e_common
Remove misleading typedef and redundant suffix from struct arm966e_common.
Zachary T Welch [Fri, 13 Nov 2009 16:40:15 +0000 (08:40 -0800)]
arm926ejs_common_t -> struct arm926ejs_common
Remove misleading typedef and redundant suffix from struct arm926ejs_common.
Zachary T Welch [Fri, 13 Nov 2009 16:40:12 +0000 (08:40 -0800)]
arm920t_tlb_entry_t -> struct arm920t_tlb_entry
Remove misleading typedef and redundant suffix from struct arm920t_tlb_entry.
Zachary T Welch [Fri, 13 Nov 2009 16:40:09 +0000 (08:40 -0800)]
arm920t_cache_line_t -> struct arm920t_cache_line
Remove misleading typedef and redundant suffix from struct arm920t_cache_line.
Zachary T Welch [Fri, 13 Nov 2009 16:40:06 +0000 (08:40 -0800)]
arm7tdmi_common_t -> struct arm7tdmi_common
Remove misleading typedef and redundant suffix from struct arm7tdmi_common.
Zachary T Welch [Fri, 13 Nov 2009 16:40:03 +0000 (08:40 -0800)]
arm7_9_common_t -> struct arm7_9_common
Remove misleading typedef and redundant suffix from struct arm7_9_common.
Zachary T Welch [Fri, 13 Nov 2009 16:39:57 +0000 (08:39 -0800)]
arm720t_common_t -> struct arm720t_common
Remove misleading typedef and redundant suffix from struct arm720t_common.
Zachary T Welch [Fri, 13 Nov 2009 16:39:54 +0000 (08:39 -0800)]
arm11_sc7_action_t -> struct arm11_sc7_action
Remove misleading typedef and redundant suffix from struct arm11_sc7_action.
Zachary T Welch [Fri, 13 Nov 2009 16:39:51 +0000 (08:39 -0800)]
arm11_reg_state_t -> struct arm11_reg_state
Remove misleading typedef and redundant suffix from struct arm11_reg_state.
Zachary T Welch [Fri, 13 Nov 2009 16:39:48 +0000 (08:39 -0800)]
arm11_common_t -> struct arm11_common
Remove misleading typedef and redundant suffix from struct arm11_common.
Zachary T Welch [Fri, 13 Nov 2009 16:39:45 +0000 (08:39 -0800)]
arm11_reg_defs_t -> struct arm11_reg_defs
Remove misleading typedef and redundant suffix from struct arm11_reg_defs.
Zachary T Welch [Fri, 13 Nov 2009 16:39:42 +0000 (08:39 -0800)]
reg_param_t -> struct reg_param
Remove misleading typedef and redundant suffix from struct reg_param.
Zachary T Welch [Fri, 13 Nov 2009 16:39:30 +0000 (08:39 -0800)]
mem_param_t -> struct mem_param
Remove misleading typedef and redundant suffix from struct mem_param.
Zachary T Welch [Fri, 13 Nov 2009 16:36:02 +0000 (08:36 -0800)]
arm920t_common_t -> struct arm920t_common
Remove misleading typedef and redundant suffix from struct arm920t_common.
Zachary T Welch [Fri, 13 Nov 2009 16:35:54 +0000 (08:35 -0800)]
arm11_register_history_t -> struct arm11_register_history
Remove misleading typedef and redundant suffix from struct arm11_register_history.
Zachary T Welch [Fri, 13 Nov 2009 16:20:24 +0000 (08:20 -0800)]
remove typedef keyword from svf structures
Removes all misleading typedef keywords from structures in svf.c.
Zachary T Welch [Fri, 13 Nov 2009 16:15:00 +0000 (08:15 -0800)]
pld_device_t -> struct pld_device
Remove misleading typedef and redundant suffix from struct pld_device.
Zachary T Welch [Fri, 13 Nov 2009 16:14:57 +0000 (08:14 -0800)]
virtex2_pld_device_t -> struct virtex2_pld_device
Remove misleading typedef and redundant suffix from struct virtex2_pld_device.
Zachary T Welch [Fri, 13 Nov 2009 16:14:54 +0000 (08:14 -0800)]
xilinx_bit_file_t -> struct xilinx_bit_file
Remove misleading typedef and redundant suffix from struct xilinx_bit_file.
Zachary T Welch [Fri, 13 Nov 2009 16:14:52 +0000 (08:14 -0800)]
pld_driver_t -> struct pld_driver
Remove misleading typedef and redundant suffix from struct pld_driver.