X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fnds32.h;h=eddfe7a052494e46128b9b1dd318db9d88232a11;hb=3271e6d4d598f7221be339ec8449c25904538a4e;hp=304fc35f002211e68aae52d020fccb70194cd3ee;hpb=9288a59aa1bad76c8ae91c00b876fe24508476fd;p=openocd.git diff --git a/src/target/nds32.h b/src/target/nds32.h index 304fc35f00..eddfe7a052 100644 --- a/src/target/nds32.h +++ b/src/target/nds32.h @@ -296,6 +296,8 @@ struct nds32 { /** Record syscall ID for other operations to do special processing for target */ int active_syscall_id; + struct breakpoint syscall_break; + /** Flag reporting whether global stop is active. */ bool global_stop; @@ -309,6 +311,9 @@ struct nds32 { * handler, it should be true. */ bool keep_target_edm_ctl; + /* Value of $EDM_CTL before target enters debug mode */ + uint32_t backup_edm_ctl; + /** always use word-aligned address to access memory */ bool word_access_mem; @@ -346,6 +351,9 @@ struct nds32 { * hardware breakpoints or not in ROM */ bool auto_convert_hw_bp; + /* Flag to indicate the target is attached by debugger or not */ + bool attached; + /** Backpointer to the target. */ struct target *target; @@ -383,8 +391,6 @@ extern int nds32_write_buffer(struct target *target, uint32_t address, uint32_t size, const uint8_t *buffer); extern int nds32_read_buffer(struct target *target, uint32_t address, uint32_t size, uint8_t *buffer); -extern int nds32_bulk_write_memory(struct target *target, - uint32_t address, uint32_t count, const uint8_t *buffer); extern int nds32_read_memory(struct target *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); extern int nds32_write_memory(struct target *target, uint32_t address,