From 58908ef60376bc67b447d4c764444a4b0660fa23 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Wed, 11 Apr 2018 20:56:39 +0200 Subject: linux-user: move mips/mips64 cpu loop to mips directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No code change, only move code from main.c to mips/cpu_loop.c. Include mips/cpu_loop.c in mips64/cpu_loop.c to avoid to duplicate code. Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20180411185651.21351-8-laurent@vivier.eu> --- linux-user/mips64/cpu_loop.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'linux-user/mips64') diff --git a/linux-user/mips64/cpu_loop.c b/linux-user/mips64/cpu_loop.c index b7700a5..858bc5b 100644 --- a/linux-user/mips64/cpu_loop.c +++ b/linux-user/mips64/cpu_loop.c @@ -17,10 +17,4 @@ * along with this program; if not, see . */ -#include "qemu/osdep.h" -#include "qemu.h" -#include "cpu_loop-common.h" - -void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs) -{ -} +#include "../mips/cpu_loop.c" -- cgit v1.1