21 #ifndef OPENOCD_TARGET_LAKEMONT_H
22 #define OPENOCD_TARGET_LAKEMONT_H
48 #define MAX_SCAN_SIZE PIR_SIZE
51 #define NOT_PMREG 0xfe
52 #define NOT_AVAIL_REG 0xff
53 #define PM_DSB ((uint32_t)0x00000000)
54 #define PM_DSL ((uint32_t)0xFFFFFFFF)
55 #define PM_DSAR ((uint32_t)0x004F9300)
56 #define PM_DR7 ((uint32_t)0x00000400)
57 #define DELAY_SUBMITPIR 0
60 #define TS_PRDY_BIT ((uint32_t)0x00000001)
61 #define TS_EN_PM_BIT ((uint32_t)0x00000002)
62 #define TS_PM_BIT ((uint32_t)0x00000004)
63 #define TS_PMCR_BIT ((uint32_t)0x00000008)
64 #define TS_SBP_BIT ((uint32_t)0x00000010)
80 #define I(name) (((struct lakemont_core_reg *)x86_32->cache->reg_list[name].arch_info)->pm_idx)
88 int handle_breakpoints,
int debug_execution);
The JTAG interface can be implemented with a software or hardware fifo.
int lakemont_reset_deassert(struct target *t)
int lakemont_init_target(struct command_context *cmd_ctx, struct target *t)
int lakemont_arch_state(struct target *t)
int lakemont_init_arch_info(struct target *t, struct x86_32_common *x86_32)
int lakemont_poll(struct target *t)
int lakemont_step(struct target *t, int current, target_addr_t address, int handle_breakpoints)
int lakemont_update_after_probemode_entry(struct target *t)
int lakemont_reset_assert(struct target *t)
int lakemont_resume(struct target *t, int current, target_addr_t address, int handle_breakpoints, int debug_execution)
int lakemont_halt(struct target *t)
struct x86_32_common * x86_32_common
uint8_t in[MAX_SCAN_SIZE]
uint8_t out[MAX_SCAN_SIZE]
This structure defines a single scan field in the scan.