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
This commit is contained in:
Tomas Vanek
2022-05-26 16:25:34 +02:00
parent ea49b2b2a2
commit cae0c8b32b
4 changed files with 8 additions and 7 deletions

View File

@@ -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 *