diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2022-05-26 16:25:34 +0200 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2022-08-14 12:10:14 +0000 |
commit | cae0c8b32b32202f3552860f12f6579e8ad8ce4a (patch) | |
tree | ffdca6167cadcfc5db7f54405b91bfef30f714cf /src/target/cortex_a.h | |
parent | ea49b2b2a21edf474236e3bdf0c681215c390787 (diff) | |
download | riscv-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/cortex_a.h')
-rw-r--r-- | src/target/cortex_a.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/target/cortex_a.h b/src/target/cortex_a.h index 656ccea..37fba1a 100644 --- a/src/target/cortex_a.h +++ b/src/target/cortex_a.h @@ -69,6 +69,8 @@ struct cortex_a_wrp { struct cortex_a_common { unsigned int common_magic; + struct armv7a_common armv7a_common; + /* Context information */ uint32_t cpudbg_dscr; @@ -96,9 +98,6 @@ struct cortex_a_common { enum cortex_a_isrmasking_mode isrmasking_mode; enum cortex_a_dacrfixup_mode dacrfixup_mode; - - struct armv7a_common armv7a_common; - }; static inline struct cortex_a_common * |