X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farm_simulator.h;h=3aedaee2e8da205c5f7617282ffd1f4621a7b3d1;hb=a6c4eb03455f6e97fc25183aae249d6ccdcbfb0f;hp=bd5458e409b1244fb50486c7f8f54b7e784cd1c6;hpb=56e01714203406b50b40dd7738983e3b019d4df2;p=openocd.git diff --git a/src/target/arm_simulator.h b/src/target/arm_simulator.h index bd5458e409..3aedaee2e8 100644 --- a/src/target/arm_simulator.h +++ b/src/target/arm_simulator.h @@ -15,17 +15,15 @@ * 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. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ + #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 +38,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 */