#define TARGET_H
#include <helper/types.h>
-#include <helper/jim.h>
struct reg;
struct trace;
TARGET_DEBUG_RUNNING = 4,
};
-extern const Jim_Nvp nvp_target_state[];
-
enum nvp_assert {
NVP_DEASSERT,
NVP_ASSERT,
};
-extern const Jim_Nvp nvp_assert[];
-
enum target_reset_mode
{
RESET_UNKNOWN = 0,
RESET_INIT = 3, /* reset and halt target out of reset, then run init script */
};
-extern const Jim_Nvp nvp_reset_mode[];
-
enum target_debug_reason
{
DBG_REASON_DBGRQ = 0,
TARGET_BIG_ENDIAN = 1, TARGET_LITTLE_ENDIAN = 2
};
-extern const Jim_Nvp nvp_target_endian[];
-
struct working_area
{
uint32_t address;
struct target_event_action {
enum target_event event;
- Jim_Interp *interp;
+ struct Jim_Interp *interp;
struct Jim_Obj *body;
int has_percent;
struct target_event_action *next;
#define ERROR_TARGET_NOT_RUNNING (-310)
#define ERROR_TARGET_NOT_EXAMINED (-311)
-extern const Jim_Nvp nvp_error_target[];
-
const char *target_strerror_safe(int err);
#endif /* TARGET_H */