X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farm9tdmi.h;h=fc650914a254543c1f0a20ce7e2b9ce4dee4491e;hb=d2a8922bd451d0d99303d038aefb9e62c63ba831;hp=728d2951845d46601dc634bad70304512ae8b88c;hpb=5cc4601c5f356af02571db240e2f70be908399f6;p=openocd.git diff --git a/src/target/arm9tdmi.h b/src/target/arm9tdmi.h index 728d295184..fc650914a2 100644 --- a/src/target/arm9tdmi.h +++ b/src/target/arm9tdmi.h @@ -2,6 +2,9 @@ * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * + * Copyright (C) 2008 by Spencer Oliver * + * spen@spen-soft.co.uk * + * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * @@ -32,7 +35,6 @@ typedef struct arm9tdmi_common_s { int common_magic; - char *variant; void *arch_info; arm7_9_common_t arm7_9_common; } arm9tdmi_common_t; @@ -56,7 +58,8 @@ enum arm9tdmi_vector }; extern int arm9tdmi_init_target(struct command_context_s *cmd_ctx, struct target_s *target); -extern int arm9tdmi_init_arch_info(target_t *target, arm9tdmi_common_t *arm9tdmi, int chain_pos, char *variant); +int arm9tdmi_examine(struct target_s *target); +extern int arm9tdmi_init_arch_info(target_t *target, arm9tdmi_common_t *arm9tdmi, jtag_tap_t *tap); extern int arm9tdmi_register_commands(struct command_context_s *cmd_ctx); extern int arm9tdmi_clock_out(arm_jtag_t *jtag_info, u32 instr, u32 out, u32 *in, int sysspeed);