X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farm_simulator.h;h=971b492fe8986ec8c61eefc6cb03609fb9c60414;hb=18d8ac5267a41d29417ea01213be5dc9c2bddf9c;hp=9c28a086b19d94e5255082b9be83b0359b23f337;hpb=4a5f45e87d593d6911da680cb92ffbc9b43c9486;p=openocd.git diff --git a/src/target/arm_simulator.h b/src/target/arm_simulator.h index 9c28a086b1..971b492fe8 100644 --- a/src/target/arm_simulator.h +++ b/src/target/arm_simulator.h @@ -20,12 +20,12 @@ #ifndef ARM_SIMULATOR_H #define ARM_SIMULATOR_H -#include "target.h" #include "types.h" -extern int arm_simulate_step(target_t *target, u32 *dry_run_pc); +struct target_s; +extern int arm_simulate_step(struct target_s *target, uint32_t *dry_run_pc); -#define ERROR_ARM_SIMULATOR_NOT_IMPLEMENTED (-1000) +#define ERROR_ARM_SIMULATOR_NOT_IMPLEMENTED (-700) #endif /* ARM_SIMULATOR_H */