X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Ftarget%2Farm9tdmi.h;h=fc650914a254543c1f0a20ce7e2b9ce4dee4491e;hb=64e5467ca735a091e08b8ec6e028ec2ab5e530cb;hp=9656792530c6e486d8de6c16219e8db83d2a32e4;hpb=0d7d64b5e9a463f63deb19f00efa14e6e5b1c34e;p=openocd diff --git a/src/target/arm9tdmi.h b/src/target/arm9tdmi.h index 96567925..fc650914 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,8 +58,8 @@ enum arm9tdmi_vector }; extern int arm9tdmi_init_target(struct command_context_s *cmd_ctx, struct target_s *target); -int arm9tdmi_examine(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);