diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2022-05-26 10:01:45 +0200 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2022-08-14 12:02:38 +0000 |
commit | 8f299c6aec299f7231005a1ba7526ed2758414c3 (patch) | |
tree | 4e4906246e6fa6d8aec3eca7514bed54e7fa9df0 /src/target/arm966e.h | |
parent | b76a7a82b20fcf265a7b211e6ef97b759a8cb714 (diff) | |
download | riscv-openocd-8f299c6aec299f7231005a1ba7526ed2758414c3.zip riscv-openocd-8f299c6aec299f7231005a1ba7526ed2758414c3.tar.gz riscv-openocd-8f299c6aec299f7231005a1ba7526ed2758414c3.tar.bz2 |
target: consolidate existing target/algo common_magic
Unify common_magic type to unsigned int
Move common_magic to be the first member of the struct
Add unsigned specifier to xxx_COMMON_MAGIC #defines
Change-Id: If961d33232698529514ba3720e04418baf6dc6fe
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/6996
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/target/arm966e.h')
-rw-r--r-- | src/target/arm966e.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/target/arm966e.h b/src/target/arm966e.h index e41b850..be2b339 100644 --- a/src/target/arm966e.h +++ b/src/target/arm966e.h @@ -13,11 +13,12 @@ #include "arm9tdmi.h" -#define ARM966E_COMMON_MAGIC 0x20f920f9 +#define ARM966E_COMMON_MAGIC 0x20f920f9U struct arm966e_common { + unsigned int common_magic; + struct arm7_9_common arm7_9_common; - int common_magic; uint32_t cp15_control_reg; }; |