diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 13:30:50 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 13:30:50 -0800 |
commit | ef746e27c55c14b7a4f6381c490e5c175e409c0b (patch) | |
tree | c98f55afdd4a40de64371a04f7d201a47decb7e4 /src/target | |
parent | 98723c4ecdbe06f90c66f3abec27b792c3b38e34 (diff) | |
download | openocd+libswd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.tar.gz openocd+libswd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.tar.bz2 openocd+libswd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.tar.xz openocd+libswd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.zip |
command_t -> struct command
Remove misleading typedef and redundant suffix from struct command.
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/arm11.c | 2 | ||||
-rw-r--r-- | src/target/arm720t.c | 2 | ||||
-rw-r--r-- | src/target/arm7_9_common.c | 2 | ||||
-rw-r--r-- | src/target/arm920t.c | 2 | ||||
-rw-r--r-- | src/target/arm926ejs.c | 2 | ||||
-rw-r--r-- | src/target/arm966e.c | 2 | ||||
-rw-r--r-- | src/target/arm9tdmi.c | 2 | ||||
-rw-r--r-- | src/target/armv4_5.c | 2 | ||||
-rw-r--r-- | src/target/armv7a.c | 4 | ||||
-rw-r--r-- | src/target/armv7m.c | 2 | ||||
-rw-r--r-- | src/target/cortex_a8.c | 2 | ||||
-rw-r--r-- | src/target/cortex_m3.c | 2 | ||||
-rw-r--r-- | src/target/etb.c | 2 | ||||
-rw-r--r-- | src/target/etm.c | 2 | ||||
-rw-r--r-- | src/target/etm_dummy.c | 2 | ||||
-rw-r--r-- | src/target/oocd_trace.c | 2 | ||||
-rw-r--r-- | src/target/target_request.c | 2 | ||||
-rw-r--r-- | src/target/trace.c | 2 | ||||
-rw-r--r-- | src/target/xscale.c | 2 |
19 files changed, 20 insertions, 20 deletions
diff --git a/src/target/arm11.c b/src/target/arm11.c index feaa17b6..24c6b8f4 100644 --- a/src/target/arm11.c +++ b/src/target/arm11.c @@ -2243,7 +2243,7 @@ int arm11_register_commands(struct command_context *cmd_ctx) { FNC_INFO; - command_t *top_cmd, *mw_cmd; + struct command *top_cmd, *mw_cmd; top_cmd = register_command(cmd_ctx, NULL, "arm11", NULL, COMMAND_ANY, NULL); diff --git a/src/target/arm720t.c b/src/target/arm720t.c index bdbc8dd3..145c8d15 100644 --- a/src/target/arm720t.c +++ b/src/target/arm720t.c @@ -493,7 +493,7 @@ static int arm720t_mcr(struct target *target, int cpnum, uint32_t op1, uint32_t static int arm720t_register_commands(struct command_context *cmd_ctx) { int retval; - command_t *arm720t_cmd; + struct command *arm720t_cmd; retval = arm7_9_register_commands(cmd_ctx); diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c index 87a64345..ce2d4f02 100644 --- a/src/target/arm7_9_common.c +++ b/src/target/arm7_9_common.c @@ -3121,7 +3121,7 @@ int arm7_9_init_arch_info(struct target *target, struct arm7_9_common *arm7_9) int arm7_9_register_commands(struct command_context *cmd_ctx) { - command_t *arm7_9_cmd; + struct command *arm7_9_cmd; arm7_9_cmd = register_command(cmd_ctx, NULL, "arm7_9", NULL, COMMAND_ANY, "arm7/9 specific commands"); diff --git a/src/target/arm920t.c b/src/target/arm920t.c index cd63d7bd..dd742cac 100644 --- a/src/target/arm920t.c +++ b/src/target/arm920t.c @@ -1351,7 +1351,7 @@ static int arm920t_mcr(struct target *target, int cpnum, uint32_t op1, uint32_t int arm920t_register_commands(struct command_context *cmd_ctx) { int retval; - command_t *arm920t_cmd; + struct command *arm920t_cmd; retval = arm9tdmi_register_commands(cmd_ctx); diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c index 47a20cb1..c7609c47 100644 --- a/src/target/arm926ejs.c +++ b/src/target/arm926ejs.c @@ -821,7 +821,7 @@ static int arm926ejs_mmu(struct target *target, int *enabled) int arm926ejs_register_commands(struct command_context *cmd_ctx) { int retval; - command_t *arm926ejs_cmd; + struct command *arm926ejs_cmd; retval = arm9tdmi_register_commands(cmd_ctx); diff --git a/src/target/arm966e.c b/src/target/arm966e.c index 6db7d79b..61f9ae50 100644 --- a/src/target/arm966e.c +++ b/src/target/arm966e.c @@ -219,7 +219,7 @@ COMMAND_HANDLER(arm966e_handle_cp15_command) int arm966e_register_commands(struct command_context *cmd_ctx) { int retval; - command_t *arm966e_cmd; + struct command *arm966e_cmd; retval = arm9tdmi_register_commands(cmd_ctx); arm966e_cmd = register_command(cmd_ctx, NULL, "arm966e", diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c index b910447f..147c0903 100644 --- a/src/target/arm9tdmi.c +++ b/src/target/arm9tdmi.c @@ -939,7 +939,7 @@ COMMAND_HANDLER(handle_arm9tdmi_catch_vectors_command) int arm9tdmi_register_commands(struct command_context *cmd_ctx) { int retval; - command_t *arm9tdmi_cmd; + struct command *arm9tdmi_cmd; retval = arm7_9_register_commands(cmd_ctx); arm9tdmi_cmd = register_command(cmd_ctx, NULL, "arm9", diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c index f7d5d16c..6e3eff68 100644 --- a/src/target/armv4_5.c +++ b/src/target/armv4_5.c @@ -464,7 +464,7 @@ usage: int armv4_5_register_commands(struct command_context *cmd_ctx) { - command_t *armv4_5_cmd; + struct command *armv4_5_cmd; armv4_5_cmd = register_command(cmd_ctx, NULL, "armv4_5", NULL, COMMAND_ANY, diff --git a/src/target/armv7a.c b/src/target/armv7a.c index e40e8fdc..0474a560 100644 --- a/src/target/armv7a.c +++ b/src/target/armv7a.c @@ -363,8 +363,8 @@ usage: int armv7a_register_commands(struct command_context *cmd_ctx) { - command_t *arm_adi_v5_dap_cmd; - command_t *armv7a_cmd; + struct command *arm_adi_v5_dap_cmd; + struct command *armv7a_cmd; arm_adi_v5_dap_cmd = register_command(cmd_ctx, NULL, "dap", NULL, COMMAND_ANY, diff --git a/src/target/armv7m.c b/src/target/armv7m.c index a7405840..f3396452 100644 --- a/src/target/armv7m.c +++ b/src/target/armv7m.c @@ -834,7 +834,7 @@ COMMAND_HANDLER(handle_dap_info_command) /** Registers commands used to access DAP resources. */ int armv7m_register_commands(struct command_context *cmd_ctx) { - command_t *arm_adi_v5_dap_cmd; + struct command *arm_adi_v5_dap_cmd; arm_adi_v5_dap_cmd = register_command(cmd_ctx, NULL, "dap", NULL, COMMAND_ANY, diff --git a/src/target/cortex_a8.c b/src/target/cortex_a8.c index 6c613634..730cd33e 100644 --- a/src/target/cortex_a8.c +++ b/src/target/cortex_a8.c @@ -1548,7 +1548,7 @@ COMMAND_HANDLER(cortex_a8_handle_dbginit_command) static int cortex_a8_register_commands(struct command_context *cmd_ctx) { - command_t *cortex_a8_cmd; + struct command *cortex_a8_cmd; int retval = ERROR_OK; armv4_5_register_commands(cmd_ctx); diff --git a/src/target/cortex_m3.c b/src/target/cortex_m3.c index bb0b0c41..e236df2d 100644 --- a/src/target/cortex_m3.c +++ b/src/target/cortex_m3.c @@ -1931,7 +1931,7 @@ COMMAND_HANDLER(handle_cortex_m3_mask_interrupts_command) static int cortex_m3_register_commands(struct command_context *cmd_ctx) { int retval; - command_t *cortex_m3_cmd; + struct command *cortex_m3_cmd; retval = armv7m_register_commands(cmd_ctx); diff --git a/src/target/etb.c b/src/target/etb.c index 903951f5..2e8e7ca4 100644 --- a/src/target/etb.c +++ b/src/target/etb.c @@ -405,7 +405,7 @@ COMMAND_HANDLER(handle_etb_config_command) static int etb_register_commands(struct command_context *cmd_ctx) { - command_t *etb_cmd = register_command(cmd_ctx, NULL, "etb", + struct command *etb_cmd = register_command(cmd_ctx, NULL, "etb", NULL, COMMAND_ANY, "Embedded Trace Buffer"); register_command(cmd_ctx, etb_cmd, "config", diff --git a/src/target/etm.c b/src/target/etm.c index ee064ebc..43158b56 100644 --- a/src/target/etm.c +++ b/src/target/etm.c @@ -223,7 +223,7 @@ static int etm_register_user_commands(struct command_context *cmd_ctx); static int etm_set_reg_w_exec(struct reg *reg, uint8_t *buf); static int etm_write_reg(struct reg *reg, uint32_t value); -static command_t *etm_cmd; +static struct command *etm_cmd; /* Look up register by ID ... most ETM instances only diff --git a/src/target/etm_dummy.c b/src/target/etm_dummy.c index 8301fb06..b0ab1fb8 100644 --- a/src/target/etm_dummy.c +++ b/src/target/etm_dummy.c @@ -60,7 +60,7 @@ COMMAND_HANDLER(handle_etm_dummy_config_command) static int etm_dummy_register_commands(struct command_context *cmd_ctx) { - command_t *etm_dummy_cmd; + struct command *etm_dummy_cmd; etm_dummy_cmd = register_command(cmd_ctx, NULL, "etm_dummy", NULL, COMMAND_ANY, "Dummy ETM capture driver"); diff --git a/src/target/oocd_trace.c b/src/target/oocd_trace.c index c2e13618..cad49779 100644 --- a/src/target/oocd_trace.c +++ b/src/target/oocd_trace.c @@ -409,7 +409,7 @@ COMMAND_HANDLER(handle_oocd_trace_resync_command) int oocd_trace_register_commands(struct command_context *cmd_ctx) { - command_t *oocd_trace_cmd; + struct command *oocd_trace_cmd; oocd_trace_cmd = register_command(cmd_ctx, NULL, "oocd_trace", NULL, COMMAND_ANY, "OpenOCD + trace"); diff --git a/src/target/target_request.c b/src/target/target_request.c index 1f02be6f..283ce55f 100644 --- a/src/target/target_request.c +++ b/src/target/target_request.c @@ -34,7 +34,7 @@ #include "log.h" -static command_t *target_request_cmd = NULL; +static struct command *target_request_cmd = NULL; static int charmsg_mode = 0; static int target_asciimsg(struct target *target, uint32_t length) diff --git a/src/target/trace.c b/src/target/trace.c index aa8fb294..6ec08d6f 100644 --- a/src/target/trace.c +++ b/src/target/trace.c @@ -158,7 +158,7 @@ COMMAND_HANDLER(handle_trace_history_command) int trace_register_commands(struct command_context *cmd_ctx) { - command_t *trace_cmd = + struct command *trace_cmd = register_command(cmd_ctx, NULL, "trace", NULL, COMMAND_ANY, "trace commands"); register_command(cmd_ctx, trace_cmd, "history", handle_trace_history_command, diff --git a/src/target/xscale.c b/src/target/xscale.c index 73c1ba1c..ca3ea2ae 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -3577,7 +3577,7 @@ COMMAND_HANDLER(xscale_handle_cp15) static int xscale_register_commands(struct command_context *cmd_ctx) { - command_t *xscale_cmd; + struct command *xscale_cmd; xscale_cmd = register_command(cmd_ctx, NULL, "xscale", NULL, COMMAND_ANY, "xscale specific commands"); |