aboutsummaryrefslogtreecommitdiff
path: root/src/target/aarch64.h
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2022-05-26 16:25:34 +0200
committerTomas Vanek <vanekt@fbl.cz>2022-08-14 12:10:14 +0000
commitcae0c8b32b32202f3552860f12f6579e8ad8ce4a (patch)
treeffdca6167cadcfc5db7f54405b91bfef30f714cf /src/target/aarch64.h
parentea49b2b2a21edf474236e3bdf0c681215c390787 (diff)
downloadriscv-openocd-cae0c8b32b32202f3552860f12f6579e8ad8ce4a.zip
riscv-openocd-cae0c8b32b32202f3552860f12f6579e8ad8ce4a.tar.gz
riscv-openocd-cae0c8b32b32202f3552860f12f6579e8ad8ce4a.tar.bz2
target: move parent target structs just after common_magic
Just a cosmetic refactoring. Change-Id: I7fbc05324e346fafc98d1b42691d33d3d8fbd04e Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: https://review.openocd.org/c/openocd/+/7003 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
Diffstat (limited to 'src/target/aarch64.h')
-rw-r--r--src/target/aarch64.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/aarch64.h b/src/target/aarch64.h
index be7f246..2721fe7 100644
--- a/src/target/aarch64.h
+++ b/src/target/aarch64.h
@@ -40,6 +40,8 @@ struct aarch64_brp {
struct aarch64_common {
unsigned int common_magic;
+ struct armv8_common armv8_common;
+
/* Context information */
uint32_t system_control_reg;
uint32_t system_control_reg_curr;
@@ -55,8 +57,6 @@ struct aarch64_common {
int wp_num_available;
struct aarch64_brp *wp_list;
- struct armv8_common armv8_common;
-
enum aarch64_isrmasking_mode isrmasking_mode;
};