aboutsummaryrefslogtreecommitdiff
path: root/linux-user/x86_64
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-04-11 20:56:34 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-04-30 09:47:57 +0200
commit3f8258c1c805e186dc12f32f4b132356ae0ed9ba (patch)
treea3e1cd605c559b66f3042798e40acb893a61064f /linux-user/x86_64
parentcd71c0896454d75e23518bbcec76abdf3cfa0772 (diff)
linux-user: move i386/x86_64 cpu loop to i386 directory
No code change, only move code from main.c to i386/cpu_loop.c. Include i386/cpu_loop.c in x86_64/cpu_loop.c to avoid to duplicate code. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20180411185651.21351-3-laurent@vivier.eu>
Diffstat (limited to 'linux-user/x86_64')
-rw-r--r--linux-user/x86_64/cpu_loop.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/linux-user/x86_64/cpu_loop.c b/linux-user/x86_64/cpu_loop.c
index b7700a5561..8b5af8ea1f 100644
--- a/linux-user/x86_64/cpu_loop.c
+++ b/linux-user/x86_64/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 "../i386/cpu_loop.c"