aarch64: clean up struct aarch64_common

remove some rarely or completely unused components.

Change-Id: Id285bb7075901016297fa173a874db7f11a840d7
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/3992
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
Matthias Welwarsky
2017-02-17 13:57:08 +01:00
committed by Paul Fertser
parent 257c434d3f
commit e513fe949b
2 changed files with 15 additions and 22 deletions

View File

@@ -48,25 +48,16 @@ struct aarch64_common {
int common_magic;
/* Context information */
uint32_t cpudbg_dscr;
uint32_t system_control_reg;
uint32_t system_control_reg_curr;
enum arm_mode curr_mode;
/* Breakpoint register pairs */
int brp_num_context;
int brp_num;
int brp_num_available;
struct aarch64_brp *brp_list;
/* Use aarch64_read_regs_through_mem for fast register reads */
int fast_reg_read;
struct armv8_common armv8_common;
};
static inline struct aarch64_common *