mips64: Add generic mips64 target support
Change-Id: I2bdd2573f23e65652686d18031698f423eec77c0 Signed-off-by: Konstantin Kostyukhin <kost@niisi.msk.ru> Signed-off-by: Aleksey Kuleshov <rndfax@yandex.ru> Signed-off-by: Peter Mamonov <pmamonov@gmail.com> Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> CC: Dongxue Zhang <elta.era@gmail.com> CC: Paul Fertser <fercerpav@gmail.com> CC: Salvador Arroyo <sarroyofdez@yahoo.es> CC: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/2322 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
parent
1fbe8450a9
commit
80f1a92bd7
|
@ -125,6 +125,7 @@ MIPS64_SRC = \
|
|||
%D%/mips64.c \
|
||||
%D%/mips32_pracc.c \
|
||||
%D%/mips64_pracc.c \
|
||||
%D%/mips_mips64.c \
|
||||
%D%/trace.c \
|
||||
%D%/mips_ejtag.c
|
||||
|
||||
|
@ -203,6 +204,7 @@ ESIRISC_SRC = \
|
|||
%D%/mips32.h \
|
||||
%D%/mips64.h \
|
||||
%D%/mips_m4k.h \
|
||||
%D%/mips_mips64.h \
|
||||
%D%/mips_ejtag.h \
|
||||
%D%/mips32_pracc.h \
|
||||
%D%/mips32_dmaacc.h \
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,24 @@
|
|||
/* 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 {
|
||||
int common_magic;
|
||||
struct mips64_common mips64_common;
|
||||
};
|
||||
|
||||
#endif /* OPENOCD_TARGET_MIPS_MIPS64_H */
|
|
@ -94,6 +94,7 @@ extern struct target_type cortexr4_target;
|
|||
extern struct target_type arm11_target;
|
||||
extern struct target_type ls1_sap_target;
|
||||
extern struct target_type mips_m4k_target;
|
||||
extern struct target_type mips_mips64_target;
|
||||
extern struct target_type avr_target;
|
||||
extern struct target_type dsp563xx_target;
|
||||
extern struct target_type dsp5680xx_target;
|
||||
|
@ -147,6 +148,7 @@ static struct target_type *target_types[] = {
|
|||
&esirisc_target,
|
||||
#if BUILD_TARGET64
|
||||
&aarch64_target,
|
||||
&mips_mips64_target,
|
||||
#endif
|
||||
NULL,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue