X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Farm_simulator.h;h=8db1817a6b13cb488b2450ff6d1a4603f9d21017;hp=bd5458e409b1244fb50486c7f8f54b7e784cd1c6;hb=d0e763ac7ef6aa17b17bd00ccdfbccfb4eacda69;hpb=56e01714203406b50b40dd7738983e3b019d4df2 diff --git a/src/target/arm_simulator.h b/src/target/arm_simulator.h index bd5458e409..8db1817a6b 100644 --- a/src/target/arm_simulator.h +++ b/src/target/arm_simulator.h @@ -13,19 +13,15 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * along with this program. If not, see . * ***************************************************************************/ + #ifndef ARM_SIMULATOR_H #define ARM_SIMULATOR_H -#include - struct target; -struct arm_sim_interface -{ +struct arm_sim_interface { void *user_data; uint32_t (*get_reg)(struct arm_sim_interface *sim, int reg); void (*set_reg)(struct arm_sim_interface *sim, int reg, uint32_t value); @@ -40,8 +36,4 @@ struct arm_sim_interface /* armv4_5 version */ int arm_simulate_step(struct target *target, uint32_t *dry_run_pc); -/* a generic arm simulator. Caller must implement the sim interface */ -int arm_simulate_step_core(struct target *target, - uint32_t *dry_run_pc, struct arm_sim_interface *sim); - #endif /* ARM_SIMULATOR_H */