openocd/src/target/mips_mips64.h
Tomas Vanek 8f299c6aec 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>
2022-08-14 12:02:38 +00:00

26 lines
682 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* MIPS64 generic target support *
*
* Copyright (C) 2014 by Andrey Sidorov <anysidorov@gmail.com>
* Copyright (C) 2014 by Aleksey Kuleshov <rndfax@yandex.ru>
* Copyright (C) 2014-2019 by Peter Mamonov <pmamonov@gmail.com>
*
* Based on the work of:
* Copyright (C) 2008 by Spencer Oliver
* Copyright (C) 2008 by David T.L. Wong
*/
#ifndef OPENOCD_TARGET_MIPS_MIPS64_H
#define OPENOCD_TARGET_MIPS_MIPS64_H
#include "helper/types.h"
struct mips_mips64_common {
unsigned int common_magic;
struct mips64_common mips64_common;
};
#endif /* OPENOCD_TARGET_MIPS_MIPS64_H */