aboutsummaryrefslogtreecommitdiff
path: root/linux-user/mips64
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-04-11 20:56:39 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-04-30 09:48:07 +0200
commit58908ef60376bc67b447d4c764444a4b0660fa23 (patch)
tree1b5f5462d761ef7c8b9f33cedeae795f2d4d23dc /linux-user/mips64
parent11400516243274d23ede7d96bb766174e1e96cc9 (diff)
linux-user: move mips/mips64 cpu loop to mips directory
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 <laurent@vivier.eu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180411185651.21351-8-laurent@vivier.eu>
Diffstat (limited to 'linux-user/mips64')
-rw-r--r--linux-user/mips64/cpu_loop.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/linux-user/mips64/cpu_loop.c b/linux-user/mips64/cpu_loop.c
index b7700a5561..858bc5be78 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 <http://www.gnu.org/licenses/>.
*/
-#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"