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>
This commit is contained in:
+3
-2
@@ -19,7 +19,7 @@
|
||||
#include "register.h"
|
||||
#include "mips64_pracc.h"
|
||||
|
||||
#define MIPS64_COMMON_MAGIC 0xB640B640
|
||||
#define MIPS64_COMMON_MAGIC 0xB640B640U
|
||||
|
||||
/* MIPS64 CP0 registers */
|
||||
#define MIPS64_C0_INDEX 0
|
||||
@@ -81,7 +81,8 @@ struct mips64_comparator {
|
||||
};
|
||||
|
||||
struct mips64_common {
|
||||
uint32_t common_magic;
|
||||
unsigned int common_magic;
|
||||
|
||||
void *arch_info;
|
||||
struct reg_cache *core_cache;
|
||||
struct mips_ejtag ejtag_info;
|
||||
|
||||
Reference in New Issue
Block a user