#define OPENOCD_TARGET_XTENSA_H
#include "assert.h"
#include <target/target.h>
#include <target/breakpoints.h>
#include "xtensa_regs.h"
#include "xtensa_debug_module.h"
#define XT_ISBE
#define XT_INS_BREAK_LE
#define XT_INS_BREAK_BE
#define XT_INS_BREAK
#define XT_INS_BREAKN_LE
#define XT_INS_BREAKN_BE
#define XT_INS_BREAKN
#define XT_ISNS_SZ_MAX
#define XT_PS_RING
#define XT_PS_RING_MSK
#define XT_PS_RING_GET
#define XT_PS_CALLINC_MSK
#define XT_PS_OWB_MSK
#define XT_PS_WOE_MSK
#define XT_PS_DIEXC_MSK
#define XT_MS_DE_MSK
#define XT_MS_DISPST_MSK
#define XT_MS_DISPST_DBG
#define XT_WB_P_SHIFT
#define XT_WB_P_MSK
#define XT_WB_C_SHIFT
#define XT_WB_C_MSK
#define XT_WB_N_SHIFT
#define XT_WB_N_MSK
#define XT_WB_S_SHIFT
#define XT_WB_S_MSK
#define XT_IBREAKC_FB
#define XT_IMPR_EXC_MSK
#define XT_MESRCLR_IMPR_EXC_MSK
#define XT_LOCAL_MEM_REGIONS_NUM_MAX
#define XT_AREGS_NUM_MAX
#define XT_USER_REGS_NUM_MAX
#define XT_MEM_ACCESS_NONE
#define XT_MEM_ACCESS_READ
#define XT_MEM_ACCESS_WRITE
#define XT_MAX_TIE_REG_WIDTH
#define XT_QUERYPKT_RESP_MAX
xtensa_qerr_e
XT_QERR_INTERNAL
XT_QERR_FAIL
XT_QERR_INVAL
XT_QERR_MEM
XT_QERR_NUM
xtensa_ar_scratch_set_e
XT_AR_SCRATCH_A3
XT_AR_SCRATCH_AR3
XT_AR_SCRATCH_A4
XT_AR_SCRATCH_AR4
XT_AR_SCRATCH_NUM
xtensa_keyval_info
chrval
intval
xtensa_type
XT_UNDEF
XT_LX
XT_NX
xtensa_cache_config
way_count
line_size
size
writeback
xtensa_local_mem_region_config
base
size
access
xtensa_local_mem_config
count
regions
xtensa_mmu_config
enabled
itlb_entries_count
dtlb_entries_count
xtensa_mpu_config
enabled
nfgseg
minsegsize
lockable
execonly
xtensa_irq_config
enabled
irq_num
xtensa_high_prio_irq_config
enabled
level_num
excm_level
xtensa_debug_config
enabled
irq_level
ibreaks_num
dbreaks_num
perfcount_num
xtensa_tracing_config
enabled
mem_sz
reversed_mem_access
xtensa_config
core_type
aregs_num
windowed
coproc
exceptions
irq
high_irq
mmu
mpu
debug
trace
icache
dcache
irom
iram
drom
dram
sram
srom
xtensa_insn_t
xtensa_stepping_isr_mode
XT_STEPPING_ISR_OFF
XT_STEPPING_ISR_ON
xtensa_nx_reg_idx
XT_NX_REG_IDX_IBREAKC0
XT_NX_REG_IDX_WB
XT_NX_REG_IDX_MS
XT_NX_REG_IDX_IEVEC
XT_NX_REG_IDX_IEEXTERN
XT_NX_REG_IDX_MESR
XT_NX_REG_IDX_MESRCLR
XT_NX_REG_IDX_NUM
xtensa_mode
XT_MODE_RING0
XT_MODE_RING1
XT_MODE_RING2
XT_MODE_RING3
XT_MODE_ANY
xtensa_sw_breakpoint
oocd_bp
insn
insn_sz
xtensa_algorithm
core_mode
ctx_debug_reason
ctx_ps
#define XTENSA_COMMON_MAGIC
xtensa
common_magic
xtensa_chip_common
xtensa_chip
core_config
dbg_mod
core_cache
total_regs_num
core_regs_num
regmap_contiguous
genpkt_regs_num
contiguous_regs_desc
contiguous_regs_list
optregs
num_optregs
empty_regs
qpkt_resp
algo_context_backup
eps_dbglevel_idx
dbregs_num
target
reset_asserted
stepping_isr_mode
hw_brps
hw_wps
sw_brps
trace_active
permissive_mode
suppress_dsr_errors
smp_break
spill_loc
spill_bytes
spill_buf
probe_lsddr32p
come_online_probes_num
proc_syscall
halt_request
nx_stop_cause
nx_reg_idx
scratch_ars
regs_fetched
target_to_xtensa(struct target *)
xtensa_init_arch_info(struct target *, struct xtensa *, const struct xtensa_debug_module_config *);
xtensa_target_init(struct command_context *, struct target *);
xtensa_target_deinit(struct target *);
xtensa_addr_in_mem(const struct xtensa_local_mem_config *, uint32_t)
for
(unsigned int i = 0; i < mem->count; i++)
xtensa_data_addr_valid(struct target *, uint32_t)
xtensa_queue_dbg_reg_read(struct xtensa *, enum xtensa_dm_reg, uint8_t *)
if
(!xtensa->core_config->trace.enabled && (reg <= XDMREG_MEMADDREND || (reg >= XDMREG_PMG && reg <= XDMREG_PMSTAT7)))
xtensa_queue_dbg_reg_write(struct xtensa *, enum xtensa_dm_reg, uint32_t)
if
(!xtensa->core_config->trace.enabled && (reg <= XDMREG_MEMADDREND || (reg >= XDMREG_PMG && reg <= XDMREG_PMSTAT7)))
xtensa_core_status_clear(struct target *, uint32_t)
xtensa_core_status_check(struct target *);
xtensa_examine(struct target *);
xtensa_wakeup(struct target *);
xtensa_smpbreak_set(struct target *, uint32_t);
xtensa_smpbreak_get(struct target *, uint32_t *);
xtensa_smpbreak_write(struct xtensa *, uint32_t);
xtensa_smpbreak_read(struct xtensa *, uint32_t *);
xtensa_reg_get(struct target *, enum xtensa_reg_id);
xtensa_reg_set(struct target *, enum xtensa_reg_id, xtensa_reg_val_t);
xtensa_reg_set_deep_relgen(struct target *, enum xtensa_reg_id, xtensa_reg_val_t);
xtensa_fetch_all_regs(struct target *);
xtensa_get_gdb_reg_list(struct target *, struct reg ***, int *, enum target_register_class);
xtensa_cause_get(struct target *);
xtensa_cause_clear(struct target *);
xtensa_cause_reset(struct target *);
xtensa_poll(struct target *);
xtensa_on_poll(struct target *);
xtensa_halt(struct target *);
xtensa_resume(struct target *, int, target_addr_t, int, int);
xtensa_prepare_resume(struct target *, int, target_addr_t, int, int);
xtensa_do_resume(struct target *);
xtensa_step(struct target *, int, target_addr_t, int);
xtensa_do_step(struct target *, int, target_addr_t, int);
xtensa_mmu_is_enabled(struct target *, int *);
xtensa_read_memory(struct target *, target_addr_t, uint32_t, uint32_t, uint8_t *);
xtensa_read_buffer(struct target *, target_addr_t, uint32_t, uint8_t *);
xtensa_write_memory(struct target *, target_addr_t, uint32_t, uint32_t, const uint8_t *);
xtensa_write_buffer(struct target *, target_addr_t, uint32_t, const uint8_t *);
xtensa_checksum_memory(struct target *, target_addr_t, uint32_t, uint32_t *);
xtensa_assert_reset(struct target *);
xtensa_deassert_reset(struct target *);
xtensa_soft_reset_halt(struct target *);
xtensa_breakpoint_add(struct target *, struct breakpoint *);
xtensa_breakpoint_remove(struct target *, struct breakpoint *);
xtensa_watchpoint_add(struct target *, struct watchpoint *);
xtensa_watchpoint_remove(struct target *, struct watchpoint *);
xtensa_start_algorithm(struct target *, int, struct mem_param *, int, struct reg_param *, target_addr_t, target_addr_t, void *);
xtensa_wait_algorithm(struct target *, int, struct mem_param *, int, struct reg_param *, target_addr_t, unsigned int, void *);
xtensa_run_algorithm(struct target *, int, struct mem_param *, int, struct reg_param *, target_addr_t, target_addr_t, unsigned int, void *);
xtensa_set_permissive_mode(struct target *, bool);
xtensa_get_gdb_arch(const struct target *);
xtensa_gdb_query_custom(struct target *, const char *, char **);
xtensa_cmd_xtdef_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_xtopt_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_xtmem_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_xtmpu_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_xtmmu_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_xtreg_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_xtregfmt_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_permissive_mode_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_mask_interrupts_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_smpbreak_do(struct command_invocation *, struct target *);
xtensa_cmd_perfmon_dump_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_perfmon_enable_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_tracestart_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_tracestop_do(struct command_invocation *, struct xtensa *);
xtensa_cmd_tracedump_do(struct command_invocation *, struct xtensa *, const char *);
xtensa_command_handlers;